|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Navigator
Panel navigator.
| Method Summary | |
|---|---|
boolean |
isNextEnabled()
Determines if the next panel may be navigated to. |
boolean |
isPreviousEnabled()
Determines if the previous panel may be navigated to. |
boolean |
isQuitEnabled()
Determines if the 'quit' button is enabled. |
boolean |
next()
Navigates to the next panel. |
boolean |
previous()
Navigates to the previous panel. |
void |
quit()
Quits installation, if quit is enabled, and installation is complete. |
void |
setNextEnabled(boolean enable)
Determines if the next panel may be navigated to. |
void |
setNextIcon(Icon icon)
Sets the icon for the 'next' button. |
void |
setNextText(String text)
Sets the text for the 'next' button. |
void |
setNextVisible(boolean visible)
Makes the 'next' button visible or invisible. |
void |
setPreviousEnabled(boolean enable)
Determines if the previous panel may be navigated to. |
void |
setPreviousIcon(Icon icon)
Sets the icon for the 'previous' button. |
void |
setPreviousText(String text)
Sets the text for the 'previous' button. |
void |
setPreviousVisible(boolean visible)
Makes the 'previous' button visible/invisible. |
void |
setQuitEnabled(boolean enable)
Determines if the 'quit' button is enabled. |
void |
setQuitIcon(Icon icon)
Sets the icon for the 'quit' button. |
void |
setQuitText(String text)
Sets the text for the 'quit' button. |
void |
setQuitVisible(boolean visible)
Makes the 'quit' button visible/invisible. |
| Method Detail |
|---|
boolean isNextEnabled()
true if the next panel may be navigated tovoid setNextEnabled(boolean enable)
enable - if true, enable navigation, otherwise disable itvoid setNextVisible(boolean visible)
visible - if true makes the button visible, otherwise makes it invisible.void setNextText(String text)
text - the button text. May be nullvoid setNextIcon(Icon icon)
icon - the icon. May be nullboolean isPreviousEnabled()
true if the previous panel may be navigated tovoid setPreviousEnabled(boolean enable)
enable - if true, enable navigation, otherwise disable itvoid setPreviousVisible(boolean visible)
visible - if true makes the button visible, otherwise makes it invisible.void setPreviousText(String text)
text - the button text. May be nullvoid setPreviousIcon(Icon icon)
icon - the icon. May be nullboolean isQuitEnabled()
true if the 'quit' button is enabledvoid setQuitEnabled(boolean enable)
enable - if true, enable quit, otherwise disable itvoid setQuitVisible(boolean visible)
visible - if true makes the button visible, otherwise makes it invisible.void setQuitText(String text)
text - the button text. May be nullvoid setQuitIcon(Icon icon)
icon - the icon. May be nullboolean next()
true if the next panel was displayed, or false if the last panel is displayedboolean previous()
true if the previous panel was displayed, or false if the first panel is displayedvoid quit()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||