Manages information about how the feed should be displayed. For now it manages only feed list cell properties.
When application needs to paint feed cell it can ask if the cell should be visible by calling isVisible()
method and if it should then the getColor
will return the main color for painting the text of unselected cell.
In its initial state manager always returns default color and says that cells of feeds of any class are visible. The behavior can be changed by changing the colors for the classes by using setColor()
method call. When the application sets NULL instead of the color using the above method, its understood by this component as an order to report cells of this class to be invisible.
The component is capable of storing and restoring of its internal state in preferences object. In order to do that the application is required to pass preferences object to storePreferences
and restorePreferences
as appropriate.
|
|