|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SplitPanel
A Panel with two component slots - 'main' and 'split'. Four orientations control where the split bit goes. The initial size of the split must be specified. Users can then drag the split bar.
Field Summary | |
---|---|
static int |
SIDE_EAST
Split is on east side. |
static int |
SIDE_NORTH
Split is on north side. |
static int |
SIDE_SOUTH
Split is on south side. |
static int |
SIDE_WEST
Split is on west side. |
Method Summary | |
---|---|
int |
getSplitSize()
|
void |
setMain(Widget w)
Sets the main component. |
void |
setSide(int side)
Controls where the split part appears. |
void |
setSplit(Widget w)
Sets the split component. |
void |
setSplitSize(int size)
Sets the size (in pixels) of the split area. |
Methods inherited from interface com.leafdigital.ui.api.Panel |
---|
remove, removeAll, setBorder |
Methods inherited from interface com.leafdigital.ui.api.Widget |
---|
getID, getOwner, informClosed, isVisible, setOwner, setVisible |
Methods inherited from interface com.leafdigital.ui.api.WidgetParent |
---|
getWidgets |
Field Detail |
---|
static final int SIDE_NORTH
static final int SIDE_EAST
static final int SIDE_SOUTH
static final int SIDE_WEST
Method Detail |
---|
void setMain(Widget w)
w
- New widget for slotvoid setSplit(Widget w)
w
- New widget for slotvoid setSplitSize(int size)
size
- Size in pixelsint getSplitSize()
void setSide(int side)
side
- A SIDE_xxx constant
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |