Class Box
java.lang.Object
gnu.kawa.models.Model
gnu.kawa.models.Box
- All Implemented Interfaces:
Viewable, Serializable
A container that lays out its components in a column or row.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidabstract intgetAxis()Return 0 for a horizontal box; 1 for a vertical box.final ViewablegetComponent(int i) final intvoidvoidsetCellSpacing(Object cellSpacing) Methods inherited from class Model
addListener, addListener, notifyListeners
-
Constructor Details
-
Box
public Box()
-
-
Method Details
-
getCellSpacing
-
setCellSpacing
-
getAxis
public abstract int getAxis()Return 0 for a horizontal box; 1 for a vertical box. -
getComponentCount
public final int getComponentCount() -
getComponent
-
add
-
makeView
-