Like a regular SashForm, the LiveSashForm lays out its children in a Row or Column arrangement (as specified by the orientation) and places a Sash between the children. One child may be maximized to occupy the entire size of the LiveSashForm. The relative sizes of the children may be specfied using weights.
LiveSashForm supports the following additional features:
- Unless the LiveSashForm is created with the NO_LIVE_UPDATE style, the bounds of the children are updated in real time when a Sash is being dragged.
- Borders can be assigned to the individual child widgets by calling
setChildBorder()
. This has the same effect as placing the child widgets in FramedComposites except the borders become part of the adjacent sashes, thus making the draggable part bigger without consuming additional screen real estate.
A Selection event is fired when the weights have changed.
- Styles:
- HORIZONTAL, VERTICAL, LiveSashForm.NO_LIVE_UPDATE
- Events:
- Selection
@since Feb 15, 2004
@version $Id: LiveSashForm.java,v 1.19 2005/06/04 19:21:45 szeiger Exp $