wt.clients.beans.graph
Class GraphNodeComponent
java.lang.Object
java.awt.Component
java.awt.Container
wt.clients.beans.graph.GraphComponent
wt.clients.beans.graph.GraphNodeComponent
- All Implemented Interfaces:
- ImageObserver, MenuContainer, Serializable
- public class GraphNodeComponent
- extends GraphComponent
- See Also:
- Serialized Form
Fields inherited from class java.awt.Container |
|
Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, paramString, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFont, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree |
Methods inherited from class java.awt.Component |
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, getAccessibleContext, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setName, setSize, setSize, setVisible, show, show, size, transferFocus, transferFocusUpCycle |
versionID
private static final String versionID
- See Also:
- Constant Field Values
node
GraphNode node
image
Image image
color
Color color
menu
PopupMenu menu
labelComponent
GraphLabelComponent labelComponent
drawAt
Point drawAt
clickHyperlinkAction
String clickHyperlinkAction
actionLoader
private ActionLoader actionLoader
actionListener
transient ActionListener actionListener
GraphNodeComponent
public GraphNodeComponent()
GraphNodeComponent
public GraphNodeComponent(GraphNode node)
setGraphNode
public void setGraphNode(GraphNode node)
getGraphNode
public GraphNode getGraphNode()
getLabelComponent
public GraphLabelComponent getLabelComponent()
getActionLoader
public ActionLoader getActionLoader()
- Gets the value of the attribute: actionLoader.
- Returns:
- ActionLoader
setActionLoader
public void setActionLoader(ActionLoader a_ActionLoader)
- Sets the value of the attribute: actionLoader.
- Parameters:
a_ActionLoader
-
getClickHyperlinkAction
public String getClickHyperlinkAction()
- Gets the value of the attribute: clickHyperlinkAction.
- Returns:
- String
setClickHyperlinkAction
public void setClickHyperlinkAction(String a_ClickHyperlinkAction)
- Sets the value of the attribute: clickHyperlinkAction.
addActionListener
public void addActionListener(ActionListener listener)
setPopupMenu
public void setPopupMenu(PopupMenu menu)
addNotify
public void addNotify()
setLocation
public void setLocation(Point location)
updateImage
public void updateImage()
updateDescription
public void updateDescription()
getFromPoint
Point getFromPoint()
getToPoint
Point getToPoint()
paint
public void paint(Graphics g)
setSelected
public void setSelected(boolean selected)
- Overrides:
setSelected
in class GraphComponent
toString
public String toString()
containsGlobal
boolean containsGlobal(int x,
int y)