public abstract class AbstractInstructionExecutable extends BlockingAWTExecutable implements ActionPanelListener
Constructor and Description |
---|
AbstractInstructionExecutable()
Default constructor.
|
AbstractInstructionExecutable(String elementName)
Constructor with element id parameter.
|
Modifier and Type | Method and Description |
---|---|
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.
|
cancelExecution, startExecution
cancel, execute, finishExecution, getExecutionContext, getFinishExecutionLock, setExecutionContext
assignParent, assignParent, assignParents, getId, getLocalId, getParent, setBeanName, setId, setLocalId, setParent
clearProperties, getKeys, getProperty, removeProperty, setProperty
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
cancel, execute, setExecutionContext
clearProperties, getId, getKeys, getProperty, removeProperty, setProperty
public AbstractInstructionExecutable()
public AbstractInstructionExecutable(String elementName)
protected void startExecutionAWT()
startExecutionAWT
in class BlockingAWTExecutable
protected void cancelExecutionAWT()
cancelExecutionAWT
in class BlockingAWTExecutable
public void actionTriggered(ActionPanel source, Object actionValue)
actionTriggered
in interface ActionPanelListener
actionValue
- the value registered with the action panel for the action that got triggeredprotected abstract int getInstructionCount()
protected abstract JPanel getInstruction(int index)
Copyright © 2013. All Rights Reserved.