endrov.flowBasic.control
Class FlowUnitMap

java.lang.Object
  extended by endrov.flow.FlowUnit
      extended by endrov.flow.FlowUnitContainer
          extended by endrov.flowBasic.control.FlowUnitMap

public class FlowUnitMap
extends FlowUnitContainer

Flow unit: Map -> in in' ----- out' out ->


Field Summary
 
Fields inherited from class endrov.flow.FlowUnitContainer
conth, contw
 
Fields inherited from class endrov.flow.FlowUnit
fm, font, fonta, fonth, x, y
 
Constructor Summary
FlowUnitMap()
           
 
Method Summary
 void editDialog()
           
 void evaluate(Flow flow, FlowExec exec)
           
 void fromXML(org.jdom.Element e)
           
 java.lang.String getContainerName()
           
 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.Set<java.lang.String> getInsideConns()
           
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
 java.lang.String toXML(org.jdom.Element e)
           
 
Methods inherited from class endrov.flow.FlowUnitContainer
getBoundingBox, 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

FlowUnitMap

public FlowUnitMap()
Method Detail

getContainerName

public java.lang.String getContainerName()
Specified by:
getContainerName in class FlowUnitContainer

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

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

getInsideConns

public java.util.Set<java.lang.String> getInsideConns()
Specified by:
getInsideConns in class FlowUnitContainer

editDialog

public void editDialog()
Specified by:
editDialog 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