ch.tatool.core.executable
Class ListInstructionExecutable
java.lang.Object
ch.tatool.core.element.AbstractPropertyHolder
ch.tatool.core.element.NodeImpl
ch.tatool.core.executable.BlockingExecutable
ch.tatool.core.executable.BlockingAWTExecutable
ch.tatool.core.executable.AbstractInstructionExecutable
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ListInstructionExecutable
public ListInstructionExecutable()
ListInstructionExecutable
public ListInstructionExecutable(String id)
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.