Class SidePanelLayoutSettings

java.lang.Object
io.jmix.flowui.facet.settings.component.SidePanelLayoutSettings
All Implemented Interfaces:
Settings

public class SidePanelLayoutSettings extends Object implements Settings
Represents user settings for a SidePanelLayout component: the user-chosen side panel size.
  • Field Details

    • id

      protected @Nullable String id
    • horizontalSize

      protected @Nullable String horizontalSize
    • verticalSize

      protected @Nullable String verticalSize
  • Constructor Details

    • SidePanelLayoutSettings

      public SidePanelLayoutSettings()
  • Method Details

    • getId

      public @Nullable String getId()
      Specified by:
      getId in interface Settings
      Returns:
      id of settings or null if not set
    • setId

      public void setId(@Nullable String id)
      Description copied from interface: Settings
      Sets an id of settings.
      Specified by:
      setId in interface Settings
      Parameters:
      id - id to set
    • getHorizontalSize

      public @Nullable String getHorizontalSize()
      Returns the stored side panel width for horizontal positions.
      Returns:
      the stored horizontal size, or null if none is stored
    • setHorizontalSize

      public void setHorizontalSize(@Nullable String horizontalSize)
      Sets the side panel width to store for horizontal positions.
      Parameters:
      horizontalSize - the horizontal size to store, or null to store none
    • getVerticalSize

      public @Nullable String getVerticalSize()
      Returns the stored side panel height for vertical positions.
      Returns:
      the stored vertical size, or null if none is stored
    • setVerticalSize

      public void setVerticalSize(@Nullable String verticalSize)
      Sets the side panel height to store for vertical positions.
      Parameters:
      verticalSize - the vertical size to store, or null to store none