|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ButtonPanel
A Panel that lays out buttons horizontally in the appropriate platform order. May contain the following slots: 'yes', 'no', and 'cancel'.
Field Summary | |
---|---|
static int |
CANCEL
Button panel slot: Cancel. |
static int |
NO
Button panel slot: No. |
static int |
YES
Button panel slot: Yes. |
Method Summary | |
---|---|
void |
set(int slot,
Widget w)
Sets the button in a slot (null for none) |
void |
setSpacing(int spacing)
Sets the gap between components. |
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 YES
static final int NO
static final int CANCEL
Method Detail |
---|
void set(int slot, Widget w)
slot
- YES/NO/CANCEL constantw
- New widgetvoid setSpacing(int spacing)
spacing
- Spacing in pixels
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |