public class ActionBureau
extends java.lang.Object
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.system.ModularLauncher.
| Constructor and Description |
|---|
ActionBureau() |
ActionBureau(java.lang.Object newMethodProvider) |
ActionBureau(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
addBusyToggleListener(ToggleListener nosey) |
void |
doAction(java.lang.String actionName) |
void |
doAction(java.lang.String actionName,
java.lang.String... args) |
void |
doRegularActionImp(java.lang.String actionName,
java.lang.String... args) |
java.lang.Object |
getMethodProvider() |
java.lang.String |
getName() |
boolean |
isAction(java.lang.String actionName) |
boolean |
isBusy() |
boolean |
isIgnoringRequestsWhileBusy() |
boolean |
isSynchronizingAllActions() |
boolean |
isUsingSeparateThread() |
boolean |
isVerbose() |
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 |
setMethodProvider(java.lang.Object newMethodProvider) |
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.
|
void |
setVerbose(boolean tizit) |
public ActionBureau()
public ActionBureau(java.lang.Object newMethodProvider)
public ActionBureau(java.lang.String name)
public void doAction(java.lang.String actionName)
public void doAction(java.lang.String actionName,
java.lang.String... args)
public boolean isAction(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 boolean isVerbose()
public void setVerbose(boolean tizit)
public java.lang.Object getMethodProvider()
public void setMethodProvider(java.lang.Object newMethodProvider)
public void doRegularActionImp(java.lang.String actionName,
java.lang.String... args)