ch.tatool.core.executable
Class ListInstructionExecutable

java.lang.Object
  extended by ch.tatool.core.element.AbstractPropertyHolder
      extended by ch.tatool.core.element.NodeImpl
          extended by ch.tatool.core.executable.BlockingExecutable
              extended by ch.tatool.core.executable.BlockingAWTExecutable
                  extended by ch.tatool.core.executable.AbstractInstructionExecutable
                      extended by ch.tatool.core.executable.ListInstructionExecutable
All Implemented Interfaces:
ActionPanelListener, PropertyHolder, Executable, Node, KeyEventDispatcher
Direct Known Subclasses:
ImageListInstructionExecutable

public class ListInstructionExecutable
extends AbstractInstructionExecutable

ListInstructionExecutable Holds the individual instructions in a list of panels.

Author:
Andre Locher

Constructor Summary
ListInstructionExecutable()
           
ListInstructionExecutable(String id)
           
 
Method Summary
protected  JPanel getInstruction(int index)
          Get one of the panels.
protected  int getInstructionCount()
          Get the number of available panels.
 List<JPanel> getPanels()
          Get the list of panels to display.
 void setPanels(List<JPanel> panels)
          Set the list of panels to display.
 
Methods inherited from class ch.tatool.core.executable.AbstractInstructionExecutable
actionTriggered, cancelExecutionAWT, startExecutionAWT
 
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

ListInstructionExecutable

public ListInstructionExecutable()

ListInstructionExecutable

public ListInstructionExecutable(String id)
Method Detail

getPanels

public List<JPanel> getPanels()
Get the list of panels to display.


setPanels

public void setPanels(List<JPanel> panels)
Set the list of panels to display.


getInstructionCount

protected int getInstructionCount()
Get the number of available panels.

Specified by:
getInstructionCount in class AbstractInstructionExecutable

getInstruction

protected JPanel getInstruction(int index)
Get one of the panels.

Specified by:
getInstruction in class AbstractInstructionExecutable


Copyright © 2012. All Rights Reserved.