Interface FlexibleBox

All Superinterfaces:
Box
All Known Implementing Classes:
AbstractFlexibleBox

public interface FlexibleBox
extends Box

A box that can be resized, but not split. Flexible boxes are containers for other boxes, both flexible and rigid. Flexible boxes are boxes that have to be told about their width, which they will then communicate to their children as appropriate. The flexible boxes will then calculate their height based on their contents.


Method Summary
 void insert(Box b)
          Inserts another box into this box.
 boolean isEmpty()
          Reports wether or not this box contains any child-boxes.
 
Methods inherited from interface Box
doLayout, drawAt, getHeight, getMinimumWidth, getPreferredWidth, getWidth, toString
 

Method Detail

insert

public void insert(Box b)
Inserts another box into this box.

isEmpty

public boolean isEmpty()
Reports wether or not this box contains any child-boxes.