endrov.flowBasic.constants
Class FlowUnitConstEvDecimal

java.lang.Object
  extended by endrov.flow.FlowUnit
      extended by endrov.flow.FlowUnitBasic
          extended by endrov.flowBasic.constants.FlowUnitConst
              extended by endrov.flowBasic.constants.FlowUnitConstEvDecimal

public class FlowUnitConstEvDecimal
extends FlowUnitConst

Flow unit: EvDecimal constant


Field Summary
 
Fields inherited from class endrov.flowBasic.constants.FlowUnitConst
colorBadValue
 
Fields inherited from class endrov.flow.FlowUnitBasic
hasComponent, TEXTABOVE, TEXTLEFT, textPosition
 
Fields inherited from class endrov.flow.FlowUnit
fm, font, fonta, fonth, x, y
 
Constructor Summary
FlowUnitConstEvDecimal()
           
FlowUnitConstEvDecimal(EvDecimal var)
           
 
Method Summary
 void evaluate(Flow flow, FlowExec exec)
           
 void fromXML(org.jdom.Element e)
           
 java.lang.String getBasicShowName()
          Name to be shown on box
protected  FlowType getConstType()
           
 java.awt.Component getGUIcomponent(FlowView p)
          Trivial implementation, can be overridden
 java.lang.String getHelpArticle()
           
 EvDecimal getVar()
           
static void initPlugin()
          Plugin declaration
 void setVar(EvDecimal var)
           
 java.lang.String toXML(org.jdom.Element e)
           
 
Methods inherited from class endrov.flowBasic.constants.FlowUnitConst
getBackground, getIcon, getTypesIn, getTypesOut
 
Methods inherited from class endrov.flow.FlowUnitBasic
editDialog, getBoundingBox, getGUIcomponentOffsetX, getGUIcomponentOffsetY, getSubUnits, mouseHoverMoveRegion, paint
 
Methods inherited from class endrov.flow.FlowUnit
checkNotNull, errNullValues, errUnsupportedTypes, getBorderColor, getMidPos, getTextColor, getTypesIn, getTypesInCount, getTypesOut, getTypesOutCount, helperDrawConnectors, isSelected, toDouble
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlowUnitConstEvDecimal

public FlowUnitConstEvDecimal()

FlowUnitConstEvDecimal

public FlowUnitConstEvDecimal(EvDecimal var)
Method Detail

initPlugin

public static void initPlugin()
Plugin declaration


toXML

public java.lang.String toXML(org.jdom.Element e)
Specified by:
toXML in class FlowUnit

fromXML

public void fromXML(org.jdom.Element e)
Specified by:
fromXML in class FlowUnit

getBasicShowName

public java.lang.String getBasicShowName()
Description copied from class: FlowUnitBasic
Name to be shown on box

Specified by:
getBasicShowName in class FlowUnitBasic

getConstType

protected FlowType getConstType()
Specified by:
getConstType in class FlowUnitConst

evaluate

public void evaluate(Flow flow,
                     FlowExec exec)
              throws java.lang.Exception
Specified by:
evaluate in class FlowUnit
Throws:
java.lang.Exception

getGUIcomponent

public java.awt.Component getGUIcomponent(FlowView p)
Description copied from class: FlowUnitBasic
Trivial implementation, can be overridden

Overrides:
getGUIcomponent in class FlowUnitBasic

setVar

public void setVar(EvDecimal var)

getVar

public EvDecimal getVar()

getHelpArticle

public java.lang.String getHelpArticle()
Overrides:
getHelpArticle in class FlowUnitBasic