-
public final class MediaGalleryPreviewOptionRepresents the information for media gallery preview options the user can take.
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringtitleprivate final ColortitleColorprivate final PaintericonPainterprivate final ColoriconColorprivate final MediaGalleryPreviewActionactionprivate final BooleanisEnabled
-
Constructor Summary
Constructors Constructor Description MediaGalleryPreviewOption(String title, Color titleColor, Painter iconPainter, Color iconColor, MediaGalleryPreviewAction action, Boolean isEnabled)
-
Method Summary
Modifier and Type Method Description final StringgetTitle()final ColorgetTitleColor()final PaintergetIconPainter()final ColorgetIconColor()final MediaGalleryPreviewActiongetAction()final BooleangetIsEnabled()-
-
Constructor Detail
-
MediaGalleryPreviewOption
MediaGalleryPreviewOption(String title, Color titleColor, Painter iconPainter, Color iconColor, MediaGalleryPreviewAction action, Boolean isEnabled)
- Parameters:
title- The title of the option in the list.titleColor- The color of the title option.iconPainter- The icon of the option.iconColor- The color of the icon.action- The action this option represents.isEnabled- If the action is currently enabled.
-
-
Method Detail
-
getTitleColor
final Color getTitleColor()
-
getIconPainter
final Painter getIconPainter()
-
getIconColor
final Color getIconColor()
-
getAction
final MediaGalleryPreviewAction getAction()
-
getIsEnabled
final Boolean getIsEnabled()
-
-
-
-