|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Panels
Manages navigation between panels.
| Method Summary | |
|---|---|
int |
getIndex()
Returns the current panel index. |
int |
getNext(boolean visibleOnly)
Determines if there is another panel after the current index. |
int |
getNext(int index,
boolean visibleOnly)
Determines if there is another panel after the specified index. |
Panel |
getPanel()
Returns the current panel. |
List<Panel> |
getPanels()
Returns the panels. |
int |
getPrevious(boolean visibleOnly)
Determines if there is another panel prior to the current index. |
int |
getPrevious(int index,
boolean visibleOnly)
Determines if there is another panel prior to the specified index. |
int |
getVisible()
Returns the number of visible panels. |
boolean |
hasNext()
Determines if there is another panel after the current panel. |
boolean |
hasPrevious()
Determines if there is panel prior to the current panel. |
boolean |
isValid()
Determines if the current panel is valid. |
boolean |
next()
Navigates to the next panel. |
boolean |
next(boolean validate)
Navigates to the next panel. |
boolean |
previous()
Navigates to the previous panel. |
boolean |
previous(int index)
Navigates to the panel before the specified index. |
| Method Detail |
|---|
List<Panel> getPanels()
Panel getPanel()
null if there is no current panelboolean isValid()
true if the current panel is validint getIndex()
-1 if there is no current panelboolean hasNext()
true if there is another panelboolean next()
true if the next panel was navigated toboolean next(boolean validate)
validate - if true, only move to the next panel if validation succeeds
true if the next panel was navigated toboolean hasPrevious()
true if there is a panel prior to the current panelboolean previous()
true if the previous panel was navigated toboolean previous(int index)
true if the previous panel was navigated to
int getNext(int index,
boolean visibleOnly)
index - the panel indexvisibleOnly - if true, only examine visible panels
-1 if there are no more panelsint getNext(boolean visibleOnly)
visibleOnly - if true, only examine visible panels
true if there is another panel
int getPrevious(int index,
boolean visibleOnly)
index - the panel indexvisibleOnly - if true, only examine visible panels
-1 if there are no more panelsint getPrevious(boolean visibleOnly)
visibleOnly - if true, only examine visible panels
-1 if there are no more panelsint getVisible()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||