ch.tatool.core.executable
Class GenericContentExecutable
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.GenericContentExecutable
- All Implemented Interfaces:
- PropertyHolder, Executable, Node, KeyEventDispatcher
public class GenericContentExecutable
- extends BlockingAWTExecutable
Executable element that displays generic content in the different regions.
Executable finish can either triggered through a timeout or through a user input
or both.
- Author:
- Michael Ruflin
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GenericContentExecutable
public GenericContentExecutable()
GenericContentExecutable
public GenericContentExecutable(String id)
startExecutionAWT
protected void startExecutionAWT()
- Description copied from class:
BlockingAWTExecutable
- To be implemented. Called at the start of the executable execution.
- Specified by:
startExecutionAWT in class BlockingAWTExecutable
cancelExecutionAWT
protected void cancelExecutionAWT()
- Description copied from class:
BlockingAWTExecutable
- cancelExecution called in the awt thread.
- Overrides:
cancelExecutionAWT in class BlockingAWTExecutable
setDisplayTest
public void setDisplayTest(String text)
- Adds a text display content to the center region.
addContent
public void addContent(RegionsContainer.Region region,
JPanel panel)
getBackgroundColor
public Color getBackgroundColor()
setBackgroundColor
public void setBackgroundColor(Color backgroundColor)
getDisplayDuration
public long getDisplayDuration()
setDisplayDuration
public void setDisplayDuration(long displayDuration)
isFinishOnInput
public boolean isFinishOnInput()
setFinishOnInput
public void setFinishOnInput(boolean finishOnInput)
Copyright © 2012. All Rights Reserved.