ch.tatool.core.executable
Class AbstractHTMLExecutable

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.AbstractHTMLExecutable
All Implemented Interfaces:
ActionPanelListener, DescriptivePropertyHolder, PropertyHolder, Executable, Node, ExecutionPhaseListener, KeyEventDispatcher
Direct Known Subclasses:
HTMLExecutable

public abstract class AbstractHTMLExecutable
extends BlockingAWTExecutable
implements ActionPanelListener, ExecutionPhaseListener, DescriptivePropertyHolder

HTML Instruction Displays a HTML page

Author:
Andre Locher

Field Summary
 PropertyHolder scoreHandler
           
 
Constructor Summary
AbstractHTMLExecutable()
          Default Constructor.
 
Method Summary
 void actionTriggered(ActionPanel source, Object actionValue)
          Called when action panel gets triggered
protected  void cancelExecutionAWT()
          cancelExecution called in the awt thread.
 String getBase()
           
 boolean geti18nEnabled()
           
 List<String> getPages()
           
 Property<?>[] getPropertyObjects()
           
 PropertyHolder getScoreHandler()
           
 DefaultVisualTimeoutHandler getTimeoutHandler()
           
 void processExecutionPhase(ExecutionContext context)
           
abstract  String replaceVariables(String html)
           
 void setBase(String base)
           
 void setDuration(long duration)
           
 void seti18nEnabled(boolean i18nEnabled)
           
 void setPages(List<String> pages)
           
 void setScoreHandler(PropertyHolder scoreHandler)
           
 void setTimeoutHandler(DefaultVisualTimeoutHandler timeoutHandler)
           
protected  void startExecutionAWT()
          To be implemented.
 
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.data.PropertyHolder
clearProperties, getId, getKeys, getProperty, removeProperty, setProperty
 
Methods inherited from interface ch.tatool.element.Executable
cancel, execute, setExecutionContext
 
Methods inherited from interface ch.tatool.element.Node
getParent, setParent
 

Field Detail

scoreHandler

public PropertyHolder scoreHandler
Constructor Detail

AbstractHTMLExecutable

public AbstractHTMLExecutable()
Default Constructor.

Method Detail

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

replaceVariables

public abstract String replaceVariables(String html)

cancelExecutionAWT

protected void cancelExecutionAWT()
Description copied from class: BlockingAWTExecutable
cancelExecution called in the awt thread.

Overrides:
cancelExecutionAWT in class BlockingAWTExecutable

actionTriggered

public void actionTriggered(ActionPanel source,
                            Object actionValue)
Called when action panel gets triggered

Specified by:
actionTriggered in interface ActionPanelListener
actionValue - the value registered with the action panel for the action that got triggered

getPropertyObjects

public Property<?>[] getPropertyObjects()
Specified by:
getPropertyObjects in interface DescriptivePropertyHolder

getTimeoutHandler

public DefaultVisualTimeoutHandler getTimeoutHandler()

setTimeoutHandler

public void setTimeoutHandler(DefaultVisualTimeoutHandler timeoutHandler)

processExecutionPhase

public void processExecutionPhase(ExecutionContext context)
Specified by:
processExecutionPhase in interface ExecutionPhaseListener

setPages

public void setPages(List<String> pages)

getPages

public List<String> getPages()

getBase

public String getBase()

setBase

public void setBase(String base)

setScoreHandler

public void setScoreHandler(PropertyHolder scoreHandler)

getScoreHandler

public PropertyHolder getScoreHandler()

setDuration

public void setDuration(long duration)

geti18nEnabled

public boolean geti18nEnabled()

seti18nEnabled

public void seti18nEnabled(boolean i18nEnabled)


Copyright © 2012. All Rights Reserved.