-
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 PaintericonPainterprivate final Booleandestructiveprivate final MessageActionaction
-
Constructor Summary
Constructors Constructor Description MessageOptionItemState(Integer title, Painter iconPainter, Boolean destructive, MessageAction action)
-
Method Summary
Modifier and Type Method Description final IntegergetTitle()final PaintergetIconPainter()final BooleangetDestructive()final MessageActiongetAction()-
-
Constructor Detail
-
MessageOptionItemState
MessageOptionItemState(Integer title, Painter iconPainter, Boolean destructive, MessageAction action)
- Parameters:
title- The title to represent the action.iconPainter- The icon to represent the action.destructive- Whether the action is destructive.action- The MessageAction the option represents.
-
-
Method Detail
-
getIconPainter
final Painter getIconPainter()
-
getDestructive
final Boolean getDestructive()
-
getAction
final MessageAction getAction()
-
-
-
-