|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectadams.core.ConsoleObject
adams.core.option.AbstractOptionHandler
adams.flow.core.AbstractActor
adams.flow.source.AbstractSource
adams.flow.source.JAICreateImage
public class JAICreateImage
Generates an empty image with the specified dimensions.
Input/output:-D <int> (property: debugLevel) The greater the number the more additional info the scheme may output to the console (0 = off). default: 0 minimum: 0
-name <java.lang.String> (property: name) The name of the actor. default: JAICreateImage
-annotation <adams.core.base.BaseText> (property: annotations) The annotations to attach to this actor. default:
-skip (property: skip) If set to true, transformation is skipped and the input token is just forwarded as it is.
-stop-flow-on-error (property: stopFlowOnError) If set to true, the flow gets stopped in case this actor encounters an error; useful for critical actors.
-width <int> (property: width) The width of the image. default: 800 minimum: 1
-height <int> (property: height) The height of the image. default: 600 minimum: 1
-background <java.awt.Color> (property: background) The background color of the image. default: #ffffff
| Field Summary | |
|---|---|
protected Color |
m_Background
the background color. |
protected int |
m_Height
the height of the image. |
protected Token |
m_OutputToken
the generated image token. |
protected int |
m_Width
the width of the image. |
| Fields inherited from class adams.flow.core.AbstractActor |
|---|
m_Annotations, m_BackupState, m_DetectedObjectVariables, m_DetectedVariables, m_ErrorHandler, m_Executed, m_Executing, m_FullName, m_Headless, m_Name, m_Parent, m_Root, m_Self, m_Skip, m_StopFlowOnError, m_StopMessage, m_Stopped, m_StorageHandler, m_VariablesUpdated |
| Fields inherited from class adams.core.option.AbstractOptionHandler |
|---|
m_DebugLevel, m_OptionManager |
| Fields inherited from interface adams.flow.core.Actor |
|---|
FILE_EXTENSION, FILE_EXTENSION_GZ |
| Constructor Summary | |
|---|---|
JAICreateImage()
|
|
| Method Summary | |
|---|---|
String |
backgroundTipText()
Returns the tip text for this property. |
void |
defineOptions()
Adds options to the internal list of options. |
protected String |
doExecute()
Executes the flow item. |
Class[] |
generates()
Returns a string describing the object. |
Color |
getBackground()
Returns the background color of the image. |
Color |
getDefaultBackground()
Returns the default backrgound color of the image. |
int |
getDefaultHeight()
Returns the default height of the image. |
int |
getDefaultWidth()
Returns the default width of the image. |
int |
getHeight()
Returns the height of the image. |
String |
getQuickInfo()
Returns a quick info about the actor, which will be displayed in the GUI. |
int |
getWidth()
Returns the width of the image. |
String |
globalInfo()
|
boolean |
hasPendingOutput()
Checks whether there is pending output to be collected after executing the flow item. |
String |
heightTipText()
Returns the tip text for this property. |
Token |
output()
Returns the generated token. |
void |
setBackground(Color value)
Sets the background color of the image. |
void |
setHeight(int value)
Sets the height of the image. |
void |
setWidth(int value)
Sets the width of the image. |
String |
widthTipText()
Returns the tip text for this property. |
| Methods inherited from class adams.core.option.AbstractOptionHandler |
|---|
cleanUpOptions, debug, debugLevelTipText, finishInit, getDebugLevel, getOptionManager, isDebugOn, newOptionManager, setDebugLevel, toCommandLine, toString |
| Methods inherited from class adams.core.ConsoleObject |
|---|
getDebugging, getSystemErr, getSystemOut |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface adams.flow.core.Actor |
|---|
cleanUp, compareTo, debug, destroy, equals, execute, findVariables, getAnnotations, getDefaultName, getDetectedVariables, getErrorHandler, getFullName, getName, getNextSibling, getParent, getPreviousSibling, getRoot, getSkip, getStopFlowOnError, getStopMessage, getStorageHandler, getVariables, handleError, hasErrorHandler, hasStopMessage, index, isExecuted, isFinished, isHeadless, isStopped, setAnnotations, setErrorHandler, setHeadless, setName, setParent, setSkip, setStopFlowOnError, setUp, setVariables, sizeOf, stopExecution, stopExecution, variableChanged, wrapUp |
| Methods inherited from interface adams.core.AdditionalInformationHandler |
|---|
getAdditionalInformation |
| Methods inherited from interface adams.core.option.OptionHandler |
|---|
cleanUpOptions, getOptionManager |
| Field Detail |
|---|
protected int m_Width
protected int m_Height
protected Color m_Background
protected Token m_OutputToken
| Constructor Detail |
|---|
public JAICreateImage()
| Method Detail |
|---|
public String globalInfo()
globalInfo in class AbstractOptionHandlerpublic void defineOptions()
defineOptions in interface OptionHandlerdefineOptions in class AbstractActorpublic String getQuickInfo()
getQuickInfo in interface QuickInfoSupportergetQuickInfo in interface ActorgetQuickInfo in class AbstractActorpublic int getDefaultWidth()
public void setWidth(int value)
value - the widthpublic int getWidth()
public String widthTipText()
public int getDefaultHeight()
public void setHeight(int value)
value - the heightpublic int getHeight()
public String heightTipText()
public Color getDefaultBackground()
public void setBackground(Color value)
value - the colorpublic Color getBackground()
public String backgroundTipText()
public Class[] generates()
protected String doExecute()
doExecute in class AbstractActorpublic Token output()
public boolean hasPendingOutput()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||