|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.v3x.gui.ActionBureau
public class ActionBureau
A bureau and dispatcher for named actions. Simply subclass this and add no-arg methods without return values; each of these are then available as named actions.
Also has some added fun: if you prefix your action with "App-", it tries to run the named (everything after the "App-") app via com.partnersoft.v3x.util.AppLauncher.
| Constructor Summary | |
|---|---|
ActionBureau()
|
|
ActionBureau(java.lang.String name)
|
|
| Method Summary | |
|---|---|
void |
addBusyToggleListener(ToggleListener nosey)
|
void |
doAction(java.lang.String actionName)
|
void |
doRegularActionImp(java.lang.String actionName)
|
java.lang.String |
getName()
|
boolean |
isBusy()
|
boolean |
isIgnoringRequestsWhileBusy()
|
boolean |
isSynchronizingAllActions()
|
boolean |
isUsingSeparateThread()
|
void |
removeBusyToggleListener(ToggleListener nosey)
|
void |
setIgnoringRequestsWhileBusy(boolean tizit)
Set this to true if you want the bureau to ignore requests for actions while it's busy doing another action. |
void |
setName(java.lang.String newName)
This is the name used for threads and such. |
void |
setSynchronizingAllActions(boolean tizit)
Set this to true if you want all actions to be synchronized. |
void |
setUsingSeparateThread(boolean newUsingSeparateThread)
Set to true if you want it to be multithreaded. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ActionBureau()
public ActionBureau(java.lang.String name)
| Method Detail |
|---|
public void doAction(java.lang.String actionName)
public boolean isSynchronizingAllActions()
public void setSynchronizingAllActions(boolean tizit)
public boolean isIgnoringRequestsWhileBusy()
public void setIgnoringRequestsWhileBusy(boolean tizit)
public java.lang.String getName()
public void addBusyToggleListener(ToggleListener nosey)
public void removeBusyToggleListener(ToggleListener nosey)
public boolean isBusy()
public void setName(java.lang.String newName)
public boolean isUsingSeparateThread()
public void setUsingSeparateThread(boolean newUsingSeparateThread)
public void doRegularActionImp(java.lang.String actionName)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||