Package gnu.kawa.models
Class Box
- java.lang.Object
-
- gnu.kawa.models.Model
-
- gnu.kawa.models.Box
-
-
Constructor Summary
Constructors Constructor Description Box()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidadd(Viewable component)abstract intgetAxis()Return 0 for a horizontal box; 1 for a vertical box.ViewablegetCellSpacing()ViewablegetComponent(int i)intgetComponentCount()voidmakeView(Display display, java.lang.Object where)voidsetCellSpacing(java.lang.Object cellSpacing)-
Methods inherited from class gnu.kawa.models.Model
addListener, addListener, notifyListeners
-
-
-
-
Method Detail
-
getCellSpacing
public Viewable getCellSpacing()
-
setCellSpacing
public void setCellSpacing(java.lang.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)
-
-