public class BlockNodeGUI extends NodeGUI
bodyColor, 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 |
|---|
BlockNodeGUI(BlockNode 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 void |
setPortPositions()
Sets up the position of ports
|
addPaintable, drawBody, drawBreaks, drawEdge, drawExtras, drawHeader, drawHeader, drawHeader, drawHeader, drawPorts, drawPorts, getAllPorts, getBodyColor, getBounds, getComponentBodyColor, getComponentEdgeColor, getComponentHeaderColor, getComponentHeaderShape, getComponentHeaderText, getComponentShape, getEndColor, getNode, getPosition, isIn, isInConfig, mouseClicked, nodeUpdated, paint, removePaintable, resetTokens, setBodyColor, setDraggedFlag, setHeadColor, setSelectedFlag, setTokenpublic BlockNodeGUI(BlockNode node)
node - protected void calculatePositions(Graphics g)
NodeGUIcalculatePositions in class NodeGUINodeGUI.calculatePositions(java.awt.Graphics)protected void setPortPositions()
setPortPositions in class NodeGUICopyright © 2011–2014 The Apache Software Foundation. All rights reserved.