Class TabData

All Implemented Interfaces:
EventListener, IGProp<GProp<?>[]>, IPropCnr, ILayoutDataAlignX, ILayoutDataAlignY, Cloneable
Direct Known Subclasses:
ETabData

public class TabData extends LayoutProp implements ILayoutDataAlignX, ILayoutDataAlignY
The TabData is the layout data for components in a container with TabLayout.
Author:
Christopher Mindus
  • Constructor Details

    • TabData

      public TabData()
      Creates a TabData container without name and with a null value.
    • TabData

      public TabData(Atom propertyAtom)
      Creates a TabData container with the specified name with a null value.
      Parameters:
      propertyAtom - the property atom.
    • TabData

      public TabData(Atom propertyAtom, GProp<?>[] properties) throws PropException
      Creates a TabData container with the specified name and properties.
      Parameters:
      propertyAtom - the property atom.
      properties - the property array value for the property.
      Throws:
      PropException - as structural changes in containers on client is prohibited.
  • Method Details

    • getDefaultAlignX

      public int getDefaultAlignX()
      Returns the default alignment value in X.
      Specified by:
      getDefaultAlignX in interface ILayoutDataAlignX
      Returns:
      4 as fill horizontal is the default.
    • getDefaultAlignY

      public int getDefaultAlignY()
      Returns the default alignment value in Y.
      Specified by:
      getDefaultAlignY in interface ILayoutDataAlignY
      Returns:
      4 as fill vertical is the default.