jlink.flowchart.graph
Class JLVertex

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by javax.swing.JComponent
              extended by jlink.flowchart.graph.JLVertex
All Implemented Interfaces:
java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable

public class JLVertex
extends javax.swing.JComponent

Author:
jasonkb
See Also:
Serialized Form

Nested 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 int CHART_AUXILIARY_OPERATION
           
static int CHART_COLLATE
           
static int CHART_CONNECTOR
           
static int CHART_CORE
           
static int CHART_DECK_OF_CARDS
           
static int CHART_DESCISION
           
static int CHART_DISPLAY
           
static int CHART_DOCUMENT
           
static int CHART_EXTRACT
           
static int CHART_FILE_OF_CARDS
           
static int CHART_INPUT_OUTPUT
           
static int CHART_MAGNETIC_DISK
           
static int CHART_MAGNETIC_DRUM
           
static int CHART_MAGNETIC_TAPE
           
static int CHART_MANUAL_INPUT
           
static int CHART_MANUAL_OPERATION
           
static int CHART_MERGE
           
static int CHART_OFFLINE_STORAGE
           
static int CHART_ONLINE_STORAGE
           
static int CHART_PREDEFINED_PROCESS
           
static int CHART_PREPARATION
           
static int CHART_PROCESS
           
static int CHART_PUNCHED_CARD
           
static int CHART_PUNCHED_TAPE
           
static int CHART_SORT
           
static int CHART_TERMINAL_INTERRUPT
           
protected  int displayType
           
protected  boolean displayTypeOverridden
           
protected  JLEdgeSet incoming
           
protected  java.lang.String name
           
protected  JLEdgeSet outgoing
           
 
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
JLVertex()
          Creates a new instance of JLNode
 
Method Summary
 void addIncomingJLEdge(JLEdge incomingEdge)
           
 void addOutgoingJLEdge(JLEdge outgoingEdge)
           
 int getInDegree()
           
 int getJLVertexID()
           
 java.lang.String getJLVertexName()
           
 int getOutDegree()
           
 void setCustomDisplay(JLVertexUI customUI)
           
 void setDisplayType()
           
 void setDisplayType(int display)
           
 void setJLVertexName(java.lang.String vertexName)
           
 void setUI(JLVertexUI ui)
           
 
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

CHART_PROCESS

public static final int CHART_PROCESS
See Also:
Constant Field Values

CHART_DESCISION

public static final int CHART_DESCISION
See Also:
Constant Field Values

CHART_PREPARATION

public static final int CHART_PREPARATION
See Also:
Constant Field Values

CHART_PREDEFINED_PROCESS

public static final int CHART_PREDEFINED_PROCESS
See Also:
Constant Field Values

CHART_MANUAL_OPERATION

public static final int CHART_MANUAL_OPERATION
See Also:
Constant Field Values

CHART_AUXILIARY_OPERATION

public static final int CHART_AUXILIARY_OPERATION
See Also:
Constant Field Values

CHART_MERGE

public static final int CHART_MERGE
See Also:
Constant Field Values

CHART_EXTRACT

public static final int CHART_EXTRACT
See Also:
Constant Field Values

CHART_COLLATE

public static final int CHART_COLLATE
See Also:
Constant Field Values

CHART_SORT

public static final int CHART_SORT
See Also:
Constant Field Values

CHART_MANUAL_INPUT

public static final int CHART_MANUAL_INPUT
See Also:
Constant Field Values

CHART_INPUT_OUTPUT

public static final int CHART_INPUT_OUTPUT
See Also:
Constant Field Values

CHART_ONLINE_STORAGE

public static final int CHART_ONLINE_STORAGE
See Also:
Constant Field Values

CHART_OFFLINE_STORAGE

public static final int CHART_OFFLINE_STORAGE
See Also:
Constant Field Values

CHART_DOCUMENT

public static final int CHART_DOCUMENT
See Also:
Constant Field Values

CHART_PUNCHED_CARD

public static final int CHART_PUNCHED_CARD
See Also:
Constant Field Values

CHART_DECK_OF_CARDS

public static final int CHART_DECK_OF_CARDS
See Also:
Constant Field Values

CHART_FILE_OF_CARDS

public static final int CHART_FILE_OF_CARDS
See Also:
Constant Field Values

CHART_PUNCHED_TAPE

public static final int CHART_PUNCHED_TAPE
See Also:
Constant Field Values

CHART_MAGNETIC_TAPE

public static final int CHART_MAGNETIC_TAPE
See Also:
Constant Field Values

CHART_MAGNETIC_DRUM

public static final int CHART_MAGNETIC_DRUM
See Also:
Constant Field Values

CHART_MAGNETIC_DISK

public static final int CHART_MAGNETIC_DISK
See Also:
Constant Field Values

CHART_CORE

public static final int CHART_CORE
See Also:
Constant Field Values

CHART_DISPLAY

public static final int CHART_DISPLAY
See Also:
Constant Field Values

CHART_CONNECTOR

public static final int CHART_CONNECTOR
See Also:
Constant Field Values

CHART_TERMINAL_INTERRUPT

public static final int CHART_TERMINAL_INTERRUPT
See Also:
Constant Field Values

displayType

protected int displayType

displayTypeOverridden

protected boolean displayTypeOverridden

name

protected java.lang.String name

incoming

protected JLEdgeSet incoming

outgoing

protected JLEdgeSet outgoing
Constructor Detail

JLVertex

public JLVertex()
Creates a new instance of JLNode

Method Detail

setUI

public void setUI(JLVertexUI ui)

getJLVertexID

public int getJLVertexID()

setJLVertexName

public void setJLVertexName(java.lang.String vertexName)

getJLVertexName

public java.lang.String getJLVertexName()

getInDegree

public int getInDegree()

getOutDegree

public int getOutDegree()

addIncomingJLEdge

public void addIncomingJLEdge(JLEdge incomingEdge)

addOutgoingJLEdge

public void addOutgoingJLEdge(JLEdge outgoingEdge)

setDisplayType

public void setDisplayType()

setDisplayType

public void setDisplayType(int display)

setCustomDisplay

public void setCustomDisplay(JLVertexUI customUI)