ch.tatool.core.executable
Class ImageListInstructionExecutable

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
                          extended by ch.tatool.core.executable.ImageListInstructionExecutable
All Implemented Interfaces:
ActionPanelListener, PropertyHolder, Executable, Initializable, Node, KeyEventDispatcher

public class ImageListInstructionExecutable
extends ListInstructionExecutable
implements Initializable

This executable displays a set of images as instructions. The images need to be provided as complete (classpath) paths for each image.

Author:
Andre Locher

Constructor Summary
ImageListInstructionExecutable()
          Default constructor.
 
Method Summary
 List<String> getImages()
           
 void initialize(Element element)
          This method is called before the element is executed.
 void setImages(List<String> images)
           
 
Methods inherited from class ch.tatool.core.executable.ListInstructionExecutable
getInstruction, getInstructionCount, getPanels, setPanels
 
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

ImageListInstructionExecutable

public ImageListInstructionExecutable()
Default constructor.

Method Detail

initialize

public void initialize(Element element)
This method is called before the element is executed. We use it to initialize the panels

Specified by:
initialize in interface Initializable

getImages

public List<String> getImages()

setImages

public void setImages(List<String> images)


Copyright © 2012. All Rights Reserved.