|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectch.tatool.core.element.AbstractPropertyHolder
ch.tatool.core.element.NodeImpl
ch.tatool.core.executable.BlockingExecutable
ch.tatool.core.executable.BlockingAWTExecutable
ch.tatool.core.executable.AbstractInstructionExecutable
public abstract class AbstractInstructionExecutable
Node intended for use cases where information needs to be presented to the user. The actual information to display has to be provided by subclasses, flipping through the information panels happens through user input (space key currently).
| Constructor Summary | |
|---|---|
AbstractInstructionExecutable()
Default constructor. |
|
AbstractInstructionExecutable(String elementName)
Constructor with element id parameter. |
|
| Method Summary | |
|---|---|
void |
actionTriggered(ActionPanel source,
Object actionValue)
ActionPanelListener interface. |
protected void |
cancelExecutionAWT()
Cleanup after element execution |
protected abstract JPanel |
getInstruction(int index)
Get one of the instruction panels. |
protected abstract int |
getInstructionCount()
Get the number of available instruction panels. |
protected void |
startExecutionAWT()
Called at element start. |
| Methods inherited from class ch.tatool.core.executable.BlockingAWTExecutable |
|---|
cancelExecution, startExecution |
| Methods inherited from class ch.tatool.core.executable.BlockingExecutable |
|---|
cancel, dispatchKeyEvent, execute, finishExecution, getExecutionContext, getFinishExecutionLock, setExecutionContext |
| Methods inherited from class ch.tatool.core.element.NodeImpl |
|---|
assignParent, assignParent, assignParents, getId, getLocalId, getParent, setId, setLocalId, setParent |
| Methods inherited from class ch.tatool.core.element.AbstractPropertyHolder |
|---|
clearProperties, getKeys, getProperty, removeProperty, setProperty |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface ch.tatool.element.Executable |
|---|
cancel, execute, setExecutionContext |
| Methods inherited from interface ch.tatool.element.Node |
|---|
getParent, setParent |
| Methods inherited from interface ch.tatool.data.PropertyHolder |
|---|
clearProperties, getId, getKeys, getProperty, removeProperty, setProperty |
| Constructor Detail |
|---|
public AbstractInstructionExecutable()
public AbstractInstructionExecutable(String elementName)
| Method Detail |
|---|
protected void startExecutionAWT()
startExecutionAWT in class BlockingAWTExecutableprotected void cancelExecutionAWT()
cancelExecutionAWT in class BlockingAWTExecutable
public void actionTriggered(ActionPanel source,
Object actionValue)
actionTriggered in interface ActionPanelListeneractionValue - the value registered with the action panel for the action that got triggeredprotected abstract int getInstructionCount()
protected abstract JPanel getInstruction(int index)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||