Class SwitchPresentationModel

java.lang.Object
org.pushingpixels.radiance.component.api.common.model.SwitchPresentationModel
All Implemented Interfaces:
ImmutablePresentationModel, PresentationModel

public class SwitchPresentationModel extends Object implements ImmutablePresentationModel
  • Field Details

    • DEFAULT_SWITCH_CONTENT_PADDING

      public static final Insets 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

      private Insets contentPadding
    • trackSize

      private Dimension trackSize
    • thumbSizeOn

      private int thumbSizeOn
    • thumbSizeOff

      private int thumbSizeOff
    • horizontalAlignment

      private HorizontalAlignment horizontalAlignment
    • richTooltipPresentationModel

      private RichTooltipPresentationModel richTooltipPresentationModel
  • Constructor Details

    • SwitchPresentationModel

      private SwitchPresentationModel()
  • Method Details