Class WindowTabProperties

java.lang.Object
net.infonode.properties.propertymap.PropertyMapContainer
net.infonode.docking.properties.WindowTabProperties

public class WindowTabProperties extends PropertyMapContainer
Properties and property values for window tabs.
  • Field Details

    • PROPERTIES

      public static final PropertyMapGroup PROPERTIES
      Property group containing all window tab properties.
    • TITLED_TAB_PROPERTIES

      public static final PropertyMapProperty TITLED_TAB_PROPERTIES
      Property values for the titled tab used in the tab.
    • FOCUSED_PROPERTIES

      public static final PropertyMapProperty FOCUSED_PROPERTIES
      Property values for the titled tab when it is focused or a component in the tab's content component has focus.
    • NORMAL_BUTTON_PROPERTIES

      public static final PropertyMapProperty NORMAL_BUTTON_PROPERTIES
      Property values for the tab buttons when the tab is in the normal state.
    • HIGHLIGHTED_BUTTON_PROPERTIES

      public static final PropertyMapProperty HIGHLIGHTED_BUTTON_PROPERTIES
      Property values for the tab buttons when the tab is highlighted.
    • FOCUSED_BUTTON_PROPERTIES

      public static final PropertyMapProperty FOCUSED_BUTTON_PROPERTIES
      Property values for the tab buttons when the tab is focused or a component in the tab's content component has focus.
  • Constructor Details

    • WindowTabProperties

      public WindowTabProperties()
      Creates an empty property object.
    • WindowTabProperties

      public WindowTabProperties(PropertyMap map)
      Creates a property object containing the map.
      Parameters:
      map - the property map
    • WindowTabProperties

      public WindowTabProperties(WindowTabProperties inheritFrom)
      Creates a property object that inherit values from another property object.
      Parameters:
      inheritFrom - the object from which to inherit property values
  • Method Details

    • addSuperObject

      public WindowTabProperties addSuperObject(WindowTabProperties properties)
      Adds a super object from which property values are inherited.
      Parameters:
      properties - the object from which to inherit property values
      Returns:
      this
    • removeSuperObject

      public WindowTabProperties removeSuperObject()
      Deprecated.
      Removes the last added super object.
      Returns:
      this
      Since:
      IDW 1.1.0
    • removeSuperObject

      public WindowTabProperties removeSuperObject(WindowTabProperties superObject)
      Removes a super object.
      Parameters:
      superObject - the super object to remove
      Returns:
      this
      Since:
      IDW 1.3.0
    • getTitledTabProperties

      public TitledTabProperties getTitledTabProperties()
      Returns the property values for the titled tab used in the tab.
      Returns:
      the property values for the titled tab used in the tab
    • getFocusedProperties

      public TitledTabStateProperties getFocusedProperties()
      Returns the property values for the titled tab when it is focused or a component in the tab's content component has focus.
      Returns:
      the property values for the titled tab when it is focused or a component in the tab's content component has focus
    • getNormalButtonProperties

      public WindowTabStateProperties getNormalButtonProperties()
      Returns the property values for the tab buttons when the tab is in the normal state.
      Returns:
      the property values for the tab buttons when the tab is in the normal state
    • getHighlightedButtonProperties

      public WindowTabStateProperties getHighlightedButtonProperties()
      Returns the property values for the tab buttons when the tab is highlighted.
      Returns:
      the property values for the tab buttons when the tab is highlighted
    • getFocusedButtonProperties

      public WindowTabStateProperties getFocusedButtonProperties()
      Returns the property values for the tab buttons when the tab is focused or a component in the tab's content component has focus.
      Returns:
      the property values for the tab buttons when the tab is focused or a component in the tab's content component has focus