public class MemoNodeGUI 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 |
|---|
MemoNodeGUI(MemoNode node) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
isIn(Point point)
Checks if a user's click is to select the node.
|
void |
mouseClicked(MouseEvent event,
XBayaEngine engine) |
protected void |
paint(Graphics2D g) |
addPaintable, calculatePositions, drawBody, drawBreaks, drawEdge, drawExtras, drawHeader, drawHeader, drawHeader, drawHeader, drawPorts, drawPorts, getAllPorts, getBodyColor, getBounds, getComponentBodyColor, getComponentEdgeColor, getComponentHeaderColor, getComponentHeaderShape, getComponentHeaderText, getComponentShape, getEndColor, getNode, getPosition, isInConfig, nodeUpdated, removePaintable, resetTokens, setBodyColor, setDraggedFlag, setHeadColor, setPortPositions, setSelectedFlag, setTokenpublic MemoNodeGUI(MemoNode node)
node - public void mouseClicked(MouseEvent event, XBayaEngine engine)
mouseClicked in interface GraphPieceGUImouseClicked in class NodeGUIGraphPieceGUI.mouseClicked(java.awt.event.MouseEvent,
org.apache.airavata.xbaya.XBayaEngine)protected boolean isIn(Point point)
NodeGUIisIn in class NodeGUIpoint - The location.NodeGUI.isIn(java.awt.Point)protected void paint(Graphics2D g)
paint in class NodeGUINodeGUI.paint(java.awt.Graphics2D)Copyright © 2011–2014 The Apache Software Foundation. All rights reserved.