Class GroupingContainerModel

All Implemented Interfaces:
IAdaptable, IPropertySource

public class GroupingContainerModel extends AbstractContainerModel
The model for grouping container widget.
  • Field Details

    • ID

      public static final String ID
      The ID of this widget model.
      See Also:
    • PROP_TRANSPARENT

      public static final String PROP_TRANSPARENT
      True if the background color is transparent.
      See Also:
    • PROP_LOCK_CHILDREN

      public static final String PROP_LOCK_CHILDREN
      True if children widgets are not selectable.
      See Also:
    • PROP_SHOW_SCROLLBAR

      public static final String PROP_SHOW_SCROLLBAR
      True if scrollbar is visible when children widgets are out of range.
      See Also:
    • PROP_FORWARD_COLORS

      public static final String PROP_FORWARD_COLORS
      Forward background and foreground color properties change to children.
      See Also:
  • Constructor Details

    • GroupingContainerModel

      public GroupingContainerModel()
  • Method Details

    • configureProperties

      protected void configureProperties()
      Description copied from class: AbstractWidgetModel
      Configure the properties of the widget. Subclass should add new properties in this method.
      Specified by:
      configureProperties in class AbstractWidgetModel
    • getTypeID

      public String getTypeID()
      Specified by:
      getTypeID in class AbstractWidgetModel
      Returns:
      the unique typeID of the model.
    • isTransparent

      public boolean isTransparent()
      Returns, if this widget should have a transparent background.
      Returns:
      boolean True, if it should have a transparent background, false otherwise
    • isLocked

      public boolean isLocked()
      Returns:
      boolean True, if the children should be locked, false otherwise
    • isShowScrollbar

      public boolean isShowScrollbar()
      Returns:
      boolean True, if scrollbar should be shown when necessary, false otherwise.
    • isForwardColors

      public boolean isForwardColors()
    • flipVertically

      public void flipVertically()
      Description copied from class: AbstractWidgetModel
      Flip the widget figure vertically.
      Overrides:
      flipVertically in class AbstractWidgetModel
    • flipHorizontally

      public void flipHorizontally()
      Description copied from class: AbstractWidgetModel
      Flip the widget figure horizontally.
      Overrides:
      flipHorizontally in class AbstractWidgetModel
    • rotate90

      public void rotate90(boolean clockwise)
      Description copied from class: AbstractWidgetModel
      Rotate the widget figure 90 degree.
      Overrides:
      rotate90 in class AbstractWidgetModel
      Parameters:
      clockwise - true if rotate clockwise. false if counterclockwise.