|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TabPanel
A Panel with any number of slots (all named 'tab' in XML). Components are laid out in separate tabs. Components should be Pages; it uses their title for the tab names.
Method Summary | |
---|---|
void |
add(Page p)
Adds a page to the end. |
void |
display(java.lang.String id)
Brings a particular page to the front. |
java.lang.String |
getDisplayed()
|
void |
setOnChange(java.lang.String callback)
Sets the callback called when the user clicks on a tab. |
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 |
Method Detail |
---|
void add(Page p)
p
- New pagevoid display(java.lang.String id) throws BugException
id
- ID of desired page
BugException
- If id doesn't exist or isn't a page etc@UICallback void setOnChange(java.lang.String callback)
callback
- Callbackjava.lang.String getDisplayed()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |