|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.doolin.gui.action.path.item.AbstractActionPath
net.sf.doolin.gui.action.path.item.ReplacementActionPath
public class ReplacementActionPath
This action path defines the replacement of a placeholder by another action.
| Constructor Summary | |
|---|---|
ReplacementActionPath(GUIAction action,
String placeholder)
Constructor with no path |
|
ReplacementActionPath(GUIAction action,
String placeholder,
List<String> paths)
Constructor with some paths |
|
| Method Summary | |
|---|---|
GUIAction |
getAction()
Gets the action to set |
String |
getPlaceholder()
Gets the placeholder to replace |
String |
getSource()
Returns the placeholder complete identifier |
void |
install(MenuBuilder menuBuilder,
ActionFactory actionFactory,
ActionContext actionContext)
Installs this action path in a menu builder for a given action context. |
String |
toString()
|
| Methods inherited from class net.sf.doolin.gui.action.path.item.AbstractActionPath |
|---|
getPathID, getPathStack, getTarget |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ReplacementActionPath(GUIAction action,
String placeholder)
action - Action to setplaceholder - Placeholder to replace
public ReplacementActionPath(GUIAction action,
String placeholder,
List<String> paths)
action - Action to setplaceholder - Placeholder to replacepaths - List of paths| Method Detail |
|---|
public GUIAction getAction()
public String getPlaceholder()
public String getSource()
getSource in interface ActionPathgetSource in class AbstractActionPath
public void install(MenuBuilder menuBuilder,
ActionFactory actionFactory,
ActionContext actionContext)
ActionPath
menuBuilder - Menu builderactionFactory - Action factory to useactionContext - Action context to usepublic String toString()
toString in class AbstractActionPath
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||