Class SwitchPresentationModel
java.lang.Object
org.pushingpixels.radiance.component.api.common.model.SwitchPresentationModel
- All Implemented Interfaces:
ImmutablePresentationModel, PresentationModel
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Insetsstatic final Insetsprivate HorizontalAlignmentprivate RichTooltipPresentationModelstatic final intstatic final intstatic final intstatic final intprivate intprivate intprivate Dimension -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
DEFAULT_SWITCH_CONTENT_PADDING
-
SWITCH_TRACK_WIDTH
public static final int SWITCH_TRACK_WIDTH- See Also:
-
SWITCH_TRACK_HEIGHT
public static final int SWITCH_TRACK_HEIGHT- See Also:
-
SWITCH_THUMB_SIZE_ON
public static final int SWITCH_THUMB_SIZE_ON- See Also:
-
SWITCH_THUMB_SIZE_OFF
public static final int SWITCH_THUMB_SIZE_OFF- See Also:
-
contentPadding
-
trackSize
-
thumbSizeOn
private int thumbSizeOn -
thumbSizeOff
private int thumbSizeOff -
horizontalAlignment
-
richTooltipPresentationModel
-
-
Constructor Details
-
SwitchPresentationModel
private SwitchPresentationModel()
-
-
Method Details
-
builder
-
getContentPadding
-
getTrackSize
-
getThumbSizeOn
public int getThumbSizeOn() -
getThumbSizeOff
public int getThumbSizeOff() -
getHorizontalAlignment
-
getRichTooltipPresentationModel
-