|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gswing.components.common.AbstractMainMenu
public abstract class AbstractMainMenu
Purpose: Abstract class used for creating command line applications that require GUI input.
| Constructor Summary | |
|---|---|
AbstractMainMenu(String path)
Set up the Importer. |
|
| Method Summary | |
|---|---|
abstract void |
displayMainMenu()
Display the users main options. |
void |
displayMenu()
Determines whether to display menu or wait until this thread is woken up. |
protected String |
getPath()
Get the home path of gswing. |
protected static void |
setReDisplay(boolean reDisplay)
Sets whether the display should be re-displayed. |
protected static void |
setWaiting(boolean waiting)
Sets whether the menu should wait for user input. |
void |
wait(boolean wait)
Tells this thread to wait or to continue. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractMainMenu(String path)
path - The home path of gSwing.| Method Detail |
|---|
public abstract void displayMainMenu()
public void displayMenu()
public void wait(boolean wait)
wait - Whether this thread should wait or continue.protected static void setReDisplay(boolean reDisplay)
reDisplay - Should this menu re-display?protected static void setWaiting(boolean waiting)
waiting - Should this menu wait for input?protected String getPath()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||