Class ComponentPresentationModel
- java.lang.Object
-
- org.pushingpixels.radiance.component.api.ribbon.synapse.model.ComponentPresentationModel
-
- All Implemented Interfaces:
ImmutablePresentationModel,PresentationModel
public class ComponentPresentationModel extends java.lang.Object implements ImmutablePresentationModel
Encapsulates presentation metadata for displaying arbitrary components in the ribbon. Use a new instance ofComponentPresentationModel.Builderto configure a new presentation, andComponentPresentationModel.Builder.build()to build a presentation.- See Also:
ComponentProjection
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classComponentPresentationModel.Builder
-
Field Summary
Fields Modifier and Type Field Description private RadianceThemingSlices.BackgroundAppearanceStrategybackgroundAppearanceStrategyprivate HorizontalAlignmenthorizontalAlignmentprivate booleanisResizingAwareprivate java.lang.StringkeyTipprivate RichTooltipPresentationModelrichTooltipPresentationModel
-
Constructor Summary
Constructors Modifier Constructor Description privateComponentPresentationModel()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ComponentPresentationModel.Builderbuilder()RadianceThemingSlices.BackgroundAppearanceStrategygetBackgroundAppearanceStrategy()HorizontalAlignmentgetHorizontalAlignment()java.lang.StringgetKeyTip()RichTooltipPresentationModelgetRichTooltipPresentationModel()booleanisResizingAware()static ComponentPresentationModelwithDefaults()
-
-
-
Field Detail
-
backgroundAppearanceStrategy
private RadianceThemingSlices.BackgroundAppearanceStrategy backgroundAppearanceStrategy
-
horizontalAlignment
private HorizontalAlignment horizontalAlignment
-
keyTip
private java.lang.String keyTip
-
isResizingAware
private boolean isResizingAware
-
richTooltipPresentationModel
private RichTooltipPresentationModel richTooltipPresentationModel
-
-
Method Detail
-
withDefaults
public static ComponentPresentationModel withDefaults()
-
builder
public static ComponentPresentationModel.Builder builder()
-
getBackgroundAppearanceStrategy
public RadianceThemingSlices.BackgroundAppearanceStrategy getBackgroundAppearanceStrategy()
-
getHorizontalAlignment
public HorizontalAlignment getHorizontalAlignment()
-
getKeyTip
public java.lang.String getKeyTip()
-
isResizingAware
public boolean isResizingAware()
-
getRichTooltipPresentationModel
public RichTooltipPresentationModel getRichTooltipPresentationModel()
-
-