public class EndDoWhileNodeGUI extends ConfigurableNodeGUI
CONFIG_AREA_COLOR, CONFIG_AREA_GAP_X, configurationArea, configurationText, DEFAULT_CONFIG_AREA_TEXTbodyColor, BREAK_POINT_BORDER_COLOR, BREAK_POINT_COLOR, DEFAULT_BODY_COLOR, DEFAULT_HEAD_COLOR, dimension, dragged, DRAGGED_BODY_COLOR, EDGE_COLOR, headColor, headHeight, MINIMUM_HEIGHT, MINIMUM_WIDTH, paintables, PORT_GAP, PORT_INITIAL_GAP, selected, SELECTED_HEAD_COLOR, TEXT_COLOR, TEXT_GAP_X, TEXT_GAP_Y| Constructor and Description |
|---|
EndDoWhileNodeGUI(EndDoWhileNode node) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
calculatePositions(Graphics g)
Calculates the width of the node and x-coordinate of the ports.
|
protected Rectangle |
getBounds()
Gets the bounding Rectangle of this Node.
|
protected Color |
getComponentHeaderColor() |
protected GeneralPath |
getComponentHeaderShape() |
protected String |
getComponentHeaderText() |
protected GeneralPath |
getComponentShape() |
protected Node |
getNode() |
protected boolean |
isIn(Point point)
Checks if a user's click is to select the node.
|
protected void |
setPortPositions()
Sets up the position of ports
|
protected void |
showConfigurationDialog(XBayaGUI xbayaGUI)
Shows a configuration window when a user click the configuration area.
|
drawComponentConfiguration, isInConfig, mouseClicked, paint, setConfigurationTextaddPaintable, drawBody, drawBreaks, drawEdge, drawExtras, drawHeader, drawHeader, drawHeader, drawHeader, drawPorts, drawPorts, getAllPorts, getBodyColor, getComponentBodyColor, getComponentEdgeColor, getEndColor, getPosition, nodeUpdated, removePaintable, resetTokens, setBodyColor, setDraggedFlag, setHeadColor, setSelectedFlag, setTokenpublic EndDoWhileNodeGUI(EndDoWhileNode node)
node - protected void showConfigurationDialog(XBayaGUI xbayaGUI)
showConfigurationDialog in class ConfigurableNodeGUIengine - protected void calculatePositions(Graphics g)
NodeGUIcalculatePositions in class ConfigurableNodeGUIedu.indiana.extreme.xbaya.graph.gui.NodeGUI#calculatePositions(java.awt.Graphics)protected Rectangle getBounds()
NodeGUIprotected boolean isIn(Point point)
NodeGUIprotected GeneralPath getComponentShape()
getComponentShape in class NodeGUIprotected String getComponentHeaderText()
getComponentHeaderText in class NodeGUIprotected GeneralPath getComponentHeaderShape()
getComponentHeaderShape in class NodeGUIprotected Color getComponentHeaderColor()
getComponentHeaderColor in class NodeGUIprotected void setPortPositions()
NodeGUIsetPortPositions in class NodeGUIedu.indiana.extreme.xbaya.graph.gui.NodeGUI#setPortPositions()Copyright © 2011–2014 The Apache Software Foundation. All rights reserved.