endrov.flowBasic.control
Class FlowUnitIf
java.lang.Object
endrov.flow.FlowUnit
endrov.flowBasic.control.FlowUnitIf
public class FlowUnitIf
- extends FlowUnit
Flow unit: input variable
Method Summary |
void |
editDialog()
|
void |
evaluate(Flow flow,
FlowExec exec)
|
void |
fromXML(org.jdom.Element e)
|
java.awt.Dimension |
getBoundingBox(java.awt.Component comp,
Flow flow)
|
java.awt.Component |
getGUIcomponent(FlowView p)
|
int |
getGUIcomponentOffsetX(java.awt.Component comp,
Flow flow)
|
int |
getGUIcomponentOffsetY(java.awt.Component c,
Flow f)
|
java.lang.String |
getHelpArticle()
|
java.util.Collection<FlowUnit> |
getSubUnits(Flow flow)
Evaluate flow top-bottom with this component as the top |
protected void |
getTypesIn(java.util.Map<java.lang.String,FlowType> types,
Flow flow)
Get types of flows in |
protected void |
getTypesOut(java.util.Map<java.lang.String,FlowType> types,
Flow flow)
Get types of flows out |
static void |
initPlugin()
Plugin declaration |
boolean |
mouseHoverMoveRegion(int x,
int y,
java.awt.Component comp,
Flow flow)
|
void |
paint(java.awt.Graphics g,
FlowView panel,
java.awt.Component comp)
|
java.lang.String |
toXML(org.jdom.Element e)
|
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 |
FlowUnitIf
public FlowUnitIf()
getBoundingBox
public java.awt.Dimension getBoundingBox(java.awt.Component comp,
Flow flow)
- Specified by:
getBoundingBox
in class FlowUnit
paint
public void paint(java.awt.Graphics g,
FlowView panel,
java.awt.Component comp)
- Specified by:
paint
in class FlowUnit
mouseHoverMoveRegion
public boolean mouseHoverMoveRegion(int x,
int y,
java.awt.Component comp,
Flow flow)
- Specified by:
mouseHoverMoveRegion
in class FlowUnit
getTypesIn
protected void getTypesIn(java.util.Map<java.lang.String,FlowType> types,
Flow flow)
- Get types of flows in
- Specified by:
getTypesIn
in class FlowUnit
flow
- TODO
getTypesOut
protected void getTypesOut(java.util.Map<java.lang.String,FlowType> types,
Flow flow)
- Get types of flows out
- Specified by:
getTypesOut
in class FlowUnit
flow
- TODO
editDialog
public void editDialog()
- Specified by:
editDialog
in class FlowUnit
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
getSubUnits
public java.util.Collection<FlowUnit> getSubUnits(Flow flow)
- Description copied from class:
FlowUnit
- Evaluate flow top-bottom with this component as the top
- Specified by:
getSubUnits
in class FlowUnit
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)
- Specified by:
getGUIcomponent
in class FlowUnit
getGUIcomponentOffsetX
public int getGUIcomponentOffsetX(java.awt.Component comp,
Flow flow)
- Specified by:
getGUIcomponentOffsetX
in class FlowUnit
getGUIcomponentOffsetY
public int getGUIcomponentOffsetY(java.awt.Component c,
Flow f)
- Specified by:
getGUIcomponentOffsetY
in class FlowUnit
getHelpArticle
public java.lang.String getHelpArticle()
- Specified by:
getHelpArticle
in class FlowUnit
initPlugin
public static void initPlugin()
- Plugin declaration