-
public final class ChannelOptionStateUI representation of a Channel option, when the user selects a channel in the list.
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringtitleprivate final ColortitleColorprivate final PaintericonPainterprivate final ColoriconColorprivate final ChannelActionaction
-
Constructor Summary
Constructors Constructor Description ChannelOptionState(String title, Color titleColor, Painter iconPainter, Color iconColor, ChannelAction action)
-
Method Summary
Modifier and Type Method Description final StringgetTitle()final ColorgetTitleColor()final PaintergetIconPainter()final ColorgetIconColor()final ChannelActiongetAction()-
-
Constructor Detail
-
ChannelOptionState
ChannelOptionState(String title, Color titleColor, Painter iconPainter, Color iconColor, ChannelAction action)
- Parameters:
title- The title to represent the action.titleColor- The color of the title text.iconPainter- The icon to represent the action.iconColor- The color of the icon.action- The ChannelAction the option represents.
-
-
Method Detail
-
getTitleColor
final Color getTitleColor()
-
getIconPainter
final Painter getIconPainter()
-
getIconColor
final Color getIconColor()
-
getAction
final ChannelAction getAction()
-
-
-
-