|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
ARoad0.Gui2.GraphicNode
public abstract class GraphicNode
This class is responsible for managing the display of one graphic object in a GraphicView. It registers the entity and all its links to other entities in the GraphicView.
ViewInBaseImpl
,
Serialized FormNested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
javax.swing.JComponent.AccessibleJComponent |
Nested classes/interfaces inherited from class java.awt.Container |
---|
java.awt.Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
Field Summary | |
---|---|
static float |
COLUMN_SPACE
space between 2 GraphicNodes columns. |
static java.awt.Dimension |
EIGHT_NODES_VIEW_SIZE
Dimension of a 4x4 positions view for up to 7 nodes |
static java.awt.Dimension |
ELEVEN_NODES_SKETCH_VIEW_SIZE
Dimension of a 11 positions sketch view |
static java.awt.Dimension |
FORTY_SIX_NODES_VIEW_SIZE
Dimension of a 10x10 positions view for 46 nodes, using half-spaces between nodes |
static java.awt.Dimension |
FOUR_NODES_VIEW_SIZE
Dimension of a 9 positions view for 4 nodes. |
static int |
FOURTY_NINE_GRID_HEIGHT
|
static int |
FOURTY_NINE_GRID_WIDTH
|
static int |
HUNDRED_GRID_HEIGHT
|
static int |
HUNDRED_GRID_WIDTH
|
static java.awt.Point[] |
L_EIGHT_NODES_POINTS
Array of the nodes locations for a 8 nodes view. |
static java.awt.Point[] |
L_ELEVEN_NODES_SKETCH_GRID
Array of the node locations for a grid of 11 positions in a rectangular, for a 11-nodes sketch view. |
static java.awt.Point[] |
L_FOUR_NODES_POINTS
Array of the nodes locations for a 4 nodes view. |
static java.awt.Point[] |
L_FOURTY_NINE_GRID
Array of the nodes locations for a grid of 7x7 positions in a rectangular, for a 24-nodes view, with half spaces between locations. |
static java.awt.Point[] |
L_NINE_GRID
Array of the nodes locations for a grid of 9 positions in a rectangular, for a view with less than 5 nodes. |
static java.awt.Point[] |
L_NOTHAN_NINE_GRID
Array of the nodes locations for a grid of 9 positions in a rectangular, for the Eligible Parties of a NoThan view. |
static java.awt.Point[] |
L_ONE_HUNDRED_GRID
Array of the nodes locations for a grid of 10x10 positions in a rectangular, for a 48-nodes view, with half spaces between locations. |
static java.awt.Point[] |
L_SEVEN_NODES_SKETCH_GRID
Array of the node locations for a grid of 7 positions in a rectangular, for a 7-nodes sketch view. |
static java.awt.Point[] |
L_SIXTEEN_GRID
Array of the nodes locations for a grid of 4x4 positions in a rectangular, for a 7-nodes view |
static java.awt.Point[] |
L_TWELVE_NODES_POINTS
Array of the 12 nodes locations in a circle. |
static java.awt.Point[] |
L_TWENTY_FIVE_GRID
Array of the nodes locations for a grid of 5x5 positions in a rectangular, for a 12-nodes view. |
static java.awt.Point[] |
L_TWENTYONE_NODES_SKETCH_GRID
Array of the node locations for a grid of 21 positions in a rectangular, for a 21-nodes sketch view. |
static int |
NAME_PART
lenght of the name portion. |
static float |
NODE_SIZE
size reference for the GraphicNode. |
static java.awt.Point |
POINT_12_0
Point 0 in the draw of a view with 12 elements. |
static java.awt.Point |
POINT_12_1
Point 1 in the draw of a view with 12 elements. |
static java.awt.Point |
POINT_12_10
Point 10 in the draw of a view with 12 elements. |
static java.awt.Point |
POINT_12_11
Point 11 in the draw of a view with 12 elements. |
static java.awt.Point |
POINT_12_2
Point 2 in the draw of a view with 12 elements. |
static java.awt.Point |
POINT_12_3
Point 3 in the draw of a view with 12 elements. |
static java.awt.Point |
POINT_12_4
Point 4 in the draw of a view with 12 elements. |
static java.awt.Point |
POINT_12_5
Point 5 in the draw of a view with 12 elements. |
static java.awt.Point |
POINT_12_6
Point 6 in the draw of a view with 12 elements. |
static java.awt.Point |
POINT_12_7
Point 7 in the draw of a view with 12 elements. |
static java.awt.Point |
POINT_12_8
Point 8 in the draw of a view with 12 elements. |
static java.awt.Point |
POINT_12_9
Point 9 in the draw of a view with 12 elements. |
static java.awt.Point |
POINT_4_0
Point 0 in the draw of a view with 4 elements. |
static java.awt.Point |
POINT_4_1
Point 1 in the draw of a view with 4 elements. |
static java.awt.Point |
POINT_4_2
Point 2 in the draw of a view with 4 elements. |
static java.awt.Point |
POINT_4_3
Point 3 in the draw of a view with 4 elements. |
static java.awt.Point |
POINT_8_0
Point 0 in the draw of a view with 8 elements. |
static java.awt.Point |
POINT_8_1
Point 1 in the draw of a view with 8 elements. |
static java.awt.Point |
POINT_8_2
Point 2 in the draw of a view with 8 elements. |
static java.awt.Point |
POINT_8_3
Point 3 in the draw of a view with 8 elements. |
static java.awt.Point |
POINT_8_4
Point 0 in the draw of a view with 8 elements. |
static java.awt.Point |
POINT_8_5
Point 0 in the draw of a view with 8 elements. |
static java.awt.Point |
POINT_8_6
Point 0 in the draw of a view with 8 elements. |
static java.awt.Point |
POINT_8_7
Point 0 in the draw of a view with 8 elements. |
static int |
RIGHTS_PART
lenght of the rights string in GraphicView. |
static float |
ROW_SPACE
space between 2 GraphicNodes rows. |
static java.awt.Dimension |
SEVEN_NODES_SKETCH_VIEW_SIZE
Dimension of a 7 positions sketch view |
static java.awt.Dimension |
TAB_SIZE
Dimension of a 'See why' JTextPane |
static java.awt.Dimension |
THREE_NODES_VIEW_SIZE
Dimension of a 9 positions view for 3 nodes. |
static java.awt.Dimension |
TWELVE_NODES_VIEW_SIZE
Dimension of a 5x5 positions view for up to 12 nodes |
static int |
TWENTY_FIVE_GRID_HEIGHT
|
static int |
TWENTY_FIVE_GRID_WIDTH
|
static java.awt.Dimension |
TWENTY_FOUR_NODES_VIEW_SIZE
Dimension of a 7x7 positions view for up to 24 nodes, using half-spaces between nodes |
static java.awt.Dimension |
TWENTYONE_NODES_SKETCH_VIEW_SIZE
Dimension of a 21 positions sketch view - like the previous one |
static java.awt.Dimension |
VIEW_INTAB_SIZE
Dimension for a GraphicView |
Fields inherited from class javax.swing.JComponent |
---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
GraphicNode()
|
Method Summary | |
---|---|
java.lang.String[] |
getDisplayableName()
No use. |
BaseObject |
getEorBaseObject()
No use. |
java.awt.Shape |
getShape()
No use. |
void |
paintComponentForExport(java.awt.Graphics _g)
Overridden by the subclasses. |
Methods inherited from class javax.swing.JComponent |
---|
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getAccessibleContext, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getUIClassID, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, paramString, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update, updateUI |
Methods inherited from class java.awt.Container |
---|
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, 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, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final float NODE_SIZE
public static final float COLUMN_SPACE
public static final float ROW_SPACE
public static final int NAME_PART
public static final int RIGHTS_PART
public static final java.awt.Point POINT_4_0
public static final java.awt.Point POINT_4_1
public static final java.awt.Point POINT_4_2
public static final java.awt.Point POINT_4_3
public static final java.awt.Point POINT_8_0
public static final java.awt.Point POINT_8_1
public static final java.awt.Point POINT_8_2
public static final java.awt.Point POINT_8_3
public static final java.awt.Point POINT_8_4
public static final java.awt.Point POINT_8_5
public static final java.awt.Point POINT_8_6
public static final java.awt.Point POINT_8_7
public static final java.awt.Point POINT_12_0
public static final java.awt.Point POINT_12_1
public static final java.awt.Point POINT_12_2
public static final java.awt.Point POINT_12_3
public static final java.awt.Point POINT_12_4
public static final java.awt.Point POINT_12_5
public static final java.awt.Point POINT_12_6
public static final java.awt.Point POINT_12_7
public static final java.awt.Point POINT_12_8
public static final java.awt.Point POINT_12_9
public static final java.awt.Point POINT_12_10
public static final java.awt.Point POINT_12_11
public static final java.awt.Point[] L_FOUR_NODES_POINTS
public static final java.awt.Point[] L_EIGHT_NODES_POINTS
public static final java.awt.Point[] L_TWELVE_NODES_POINTS
public static final java.awt.Point[] L_NINE_GRID
public static final java.awt.Point[] L_NOTHAN_NINE_GRID
public static final java.awt.Point[] L_SIXTEEN_GRID
public static final java.awt.Point[] L_TWENTY_FIVE_GRID
public static final java.awt.Point[] L_FOURTY_NINE_GRID
public static final java.awt.Point[] L_ONE_HUNDRED_GRID
public static final java.awt.Point[] L_SEVEN_NODES_SKETCH_GRID
public static final java.awt.Point[] L_ELEVEN_NODES_SKETCH_GRID
public static final java.awt.Point[] L_TWENTYONE_NODES_SKETCH_GRID
public static final java.awt.Dimension TAB_SIZE
public static final java.awt.Dimension VIEW_INTAB_SIZE
public static final java.awt.Dimension THREE_NODES_VIEW_SIZE
public static final java.awt.Dimension FOUR_NODES_VIEW_SIZE
public static final java.awt.Dimension EIGHT_NODES_VIEW_SIZE
public static final java.awt.Dimension TWELVE_NODES_VIEW_SIZE
public static final java.awt.Dimension TWENTY_FOUR_NODES_VIEW_SIZE
public static final java.awt.Dimension FORTY_SIX_NODES_VIEW_SIZE
public static final java.awt.Dimension SEVEN_NODES_SKETCH_VIEW_SIZE
public static final java.awt.Dimension ELEVEN_NODES_SKETCH_VIEW_SIZE
public static final java.awt.Dimension TWENTYONE_NODES_SKETCH_VIEW_SIZE
public static final int TWENTY_FIVE_GRID_WIDTH
public static final int TWENTY_FIVE_GRID_HEIGHT
public static final int FOURTY_NINE_GRID_WIDTH
public static final int FOURTY_NINE_GRID_HEIGHT
public static final int HUNDRED_GRID_WIDTH
public static final int HUNDRED_GRID_HEIGHT
Constructor Detail |
---|
public GraphicNode()
Method Detail |
---|
public BaseObject getEorBaseObject()
public java.awt.Shape getShape()
public void paintComponentForExport(java.awt.Graphics _g)
_g
- Graphics to be drawn.public java.lang.String[] getDisplayableName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |