Class Box

All Implemented Interfaces:
Viewable, Serializable
Direct Known Subclasses:
Column, Row

public abstract class Box extends Model implements Viewable, Serializable
A container that lays out its components in a column or row.
See Also:
  • Constructor Details

    • Box

      public Box()
  • Method Details

    • getCellSpacing

      public Viewable getCellSpacing()
    • setCellSpacing

      public void setCellSpacing(Object cellSpacing)
    • getAxis

      public abstract int getAxis()
      Return 0 for a horizontal box; 1 for a vertical box.
    • getComponentCount

      public final int getComponentCount()
    • getComponent

      public final Viewable getComponent(int i)
    • add

      public void add(Viewable component)
    • makeView

      public void makeView(Display display, Object where)
      Specified by:
      makeView in interface Viewable