java.lang.Object
org.csstudio.opibuilder.widgets.editparts.TabItem

public class TabItem extends Object
The tab item, which host all the properties data for a tab item.
  • Constructor Details

    • TabItem

      public TabItem(TabModel tabModel, int index, GroupingContainerModel groupingContainerModel)
      The tab item will be initialized with the corresponding tab properties value in tab model.
    • TabItem

      public TabItem(TabModel tabModel, int tabIndex)
  • Method Details

    • setPropertyValue

      public void setPropertyValue(TabModel.TabProperty tabProperty, Object value)
    • injectPropertiesValue

      public void injectPropertiesValue(TabModel tabModel, int index)
      Copy the properties from TabModel to this tab item.
    • injectDefaultPropertiesValue

      public void injectDefaultPropertiesValue(int index)
      Copy the default properties value from TabModel to this tab item.
      Parameters:
      index - the index of the tab item.
    • getGroupingContainerModel

      public GroupingContainerModel getGroupingContainerModel()
    • setGroupingContainerModel

      public void setGroupingContainerModel(GroupingContainerModel groupingContainerModel)
    • getCopy

      public TabItem getCopy() throws Exception
      Returns:
      A copy of this tab.
      Throws:
      Exception
    • getPropertyValue

      public Object getPropertyValue(TabModel.TabProperty tabProperty)