-
public final class MessageOptionItemStateUI representation of a Message option, when the user selects a message in the list.
-
-
Field Summary
Fields Modifier and Type Field Description private final Integertitleprivate final ColortitleColorprivate final PaintericonPainterprivate final ColoriconColorprivate final MessageActionaction
-
Constructor Summary
Constructors Constructor Description MessageOptionItemState(Integer title, Color titleColor, Painter iconPainter, Color iconColor, MessageAction action)
-
Method Summary
Modifier and Type Method Description final IntegergetTitle()final ColorgetTitleColor()final PaintergetIconPainter()final ColorgetIconColor()final MessageActiongetAction()-
-
Constructor Detail
-
MessageOptionItemState
MessageOptionItemState(Integer title, Color titleColor, Painter iconPainter, Color iconColor, MessageAction 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 MessageAction the option represents.
-
-
Method Detail
-
getTitleColor
final Color getTitleColor()
-
getIconPainter
final Painter getIconPainter()
-
getIconColor
final Color getIconColor()
-
getAction
final MessageAction getAction()
-
-
-
-