public class Condition extends AnchoredElement
listeners, properties, prototype
ANCHOR_PRECHART_RADIUS, ANCHOR_RADIUS, ARROW_BASE, ARROW_HEIGHT, CONDITION_COLD_COL, CONDITION_HOT_COL, CONDITION_SIDES, CONDITION_UPDATE_HEIGHT, CUT_SIDE_DISTANCE, CUT_Y_DISTANCE, FOOT_TOUCH_DISTANCE, INSTANCE_FILL_COL, INSTANCE_FOOT_HEIGHT, INSTANCE_FOOT_WIDTH, INSTANCE_HEIGHT, INSTANCE_LENGTH, INSTANCE_LINE_COL, INSTANCE_MIN_WIDTH, LOC_DISTANCE, MESSAGE_COL, MESSAGE_LABEL_COL, PRECHART_COL, PRECHART_MIN_HEIGHT, PRECHART_SIDE_DISTANCE, PRECHART_TOP_DISTANCE, TOP_DISTANCE, TOUCH_DISTANCE, TOUCH_INSTANCE_DISTANCE, UPDATE_COL
AREA_SELECT_COL, ARROW_ANGLE, ARROW_LENGTH, BIGFONT, BIGFONTNAME, EMPH_COL, FONT, FONTNAME, GLOBAL_DECL_COL, GLOBAL_PROCESSASSIGN_COL, GLOBAL_SYSTEM_COL, GRIDCHANGE, GRIDCOLOR, GRIDMIN, LEVEL, MOUSE_OVER_COL, MOUSE_OVER_REL_COL, PART_COV_COL, PROCESS_FILL_COL, PROCESS_OUTLINE_COL, SELECTED_COL, SNAP_PER_GRID, TEMPLATE_NAME_COL, TEMPLATE_PARAMLIST_COL, TRACE_COV_COL
Modifier and Type | Method and Description |
---|---|
void |
accept(Visitor visitor)
Accept a visitor.
|
void |
addAnchor(InstanceLine anchor) |
protected void |
fireAnchorChanged(InstanceLine oldAnchor) |
InstanceLine |
getAnchor() |
ArrayList<InstanceLine> |
getAnchors() |
Element |
getLabel() |
String |
getLabelValue() |
Element |
getPrototypeFromParent(Element parent)
Return the proper prototype for this element stored in the parent.
|
int |
getWidth() |
boolean |
isHot() |
void |
removeAnchor(InstanceLine anchor) |
void |
setAnchor(InstanceLine anchor) |
void |
setAnchors(ArrayList<InstanceLine> anchors) |
getColor, getTemperature, getWidth, getWidth, lighter
clone, getFirst, getLast, getNext, getPrevious, insert, move, remove, setPrototype
acceptSafe, addListener, getColor, getCommandManager, getDocument, getLocalProperty, getParent, getProperties, getProperty, getPropertyValue, getPrototype, getTemplate, getX, getY, hasFlag, importInto, isPropertyLocal, removeListener, setCommandManager, setProperties, setProperty, setPropertyFromPath
public Condition(Element prototype)
prototype
- public InstanceLine getAnchor()
getAnchor
in class AnchoredElement
public void setAnchor(InstanceLine anchor)
setAnchor
in class AnchoredElement
anchor
- an instance line as anchor.public void accept(Visitor visitor) throws Exception
Element
public Element getPrototypeFromParent(Element parent)
Element
getPrototypeFromParent
in class Element
parent
- - The parent elementpublic int getWidth()
protected void fireAnchorChanged(InstanceLine oldAnchor)
fireAnchorChanged
in class AnchoredElement
public ArrayList<InstanceLine> getAnchors()
getAnchors
in class AnchoredElement
public void addAnchor(InstanceLine anchor)
anchor
- an anchoring instance line to be added.public void removeAnchor(InstanceLine anchor)
public boolean isHot()
isHot
in class LscElement
public void setAnchors(ArrayList<InstanceLine> anchors)
anchors
- the anchors to setpublic Element getLabel()
getLabel
in class AnchoredElement
public String getLabelValue()
getLabelValue
in class LscElement
Copyright © 2014 Uppsala University and Aalborg University. All Rights Reserved.