Class PanelData

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

public class PanelData extends LayoutProp implements ILayoutDataAlignX, ILayoutDataAlignY
The panel layout data. As it is a full panel, it only has the alignment values that applies to the layout in question, if that layout is not implicit fill horizontally and/or vertically.
Author:
Christopher Mindus
  • Constructor Details

    • PanelData

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

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

    • getDefaultAlignX

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

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