|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.Component java.awt.Container javax.swing.JComponent javax.swing.JPanel ix.iview.AConstructEditorPanel ix.iview.igraph.GExpansionEditor
public class GExpansionEditor
A graphical editor/viewer panel for activity expansion structures
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JPanel |
---|
javax.swing.JPanel.AccessibleJPanel |
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 | |
---|---|
protected lt.monarch.graph.view.looks.NodeViewBase |
currentNode
|
(package private) javax.swing.ImageIcon |
deleteGNodesIcon
|
IXToolItem |
deleteGNodesItem
|
(package private) javax.swing.ImageIcon |
layoutIcon
|
IXToolItem |
layoutItem
|
(package private) javax.swing.ImageIcon |
layoutLeftIcon
|
IXToolItem |
layoutLeftItem
|
(package private) javax.swing.ImageIcon |
newGNodeIcon
|
IXToolItem |
newGNodeItem
|
(package private) java.awt.Point |
newNodeLocation
|
protected ActionEditorPanel |
parent
|
(package private) javax.swing.JToolBar |
toolBar
|
Fields inherited from class ix.iview.AConstructEditorPanel |
---|
uiConstruct |
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 | |
---|---|
GExpansionEditor()
|
|
GExpansionEditor(ActionEditorPanel parent)
|
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent ae)
Wakes up the ActionListener with a user action. |
void |
autoAutoLayout(lt.monarch.graph.GraphView graphView)
|
void |
autoLayout(lt.monarch.graph.GraphView graphView)
|
void |
autoLayoutLeft(lt.monarch.graph.GraphView graphView)
|
void |
displayFieldData(java.lang.String fieldName)
|
void |
expandNode()
|
void |
layoutFromGraph(IGraph graph)
|
void |
loadFromObject()
load the data for the panel from the current object. |
void |
populateExpansionsMenu()
|
void |
saveExpansionGraph(UIRefinement uir)
|
void |
saveToGivenObject(UIRefinement uir)
|
void |
saveToObject(EditableObject object)
Save the data from the panel into the given object. |
void |
setAction(UIRefinement uir)
|
void |
setUIConstruct(UIObject construct)
Sets the current UI construct. |
void |
setUIConstructOnly(UIObject construct)
Sets the current UI construct. |
java.lang.Object |
undoGetValue(java.lang.String field)
Gets the given field to the given value in the editor. |
void |
undoSetValue(java.lang.String field,
java.lang.Object value)
Sets the given field to the given value in the editor. |
void |
userAutoLayout(lt.monarch.graph.GraphView graphView)
|
void |
userAutoLayoutLeft(lt.monarch.graph.GraphView graphView)
|
Methods inherited from class ix.iview.AConstructEditorPanel |
---|
getConstruct, getUIConstruct, getUIDomain, setConstruct |
Methods inherited from class javax.swing.JPanel |
---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
Methods inherited from class javax.swing.JComponent |
---|
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, 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, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, 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 |
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 |
Methods inherited from interface ix.iview.ConstructEditing |
---|
getConstruct, getUIConstruct, getUIDomain, setConstruct |
Field Detail |
---|
protected ActionEditorPanel parent
protected lt.monarch.graph.view.looks.NodeViewBase currentNode
javax.swing.JToolBar toolBar
javax.swing.ImageIcon newGNodeIcon
javax.swing.ImageIcon deleteGNodesIcon
javax.swing.ImageIcon layoutIcon
javax.swing.ImageIcon layoutLeftIcon
public IXToolItem newGNodeItem
public IXToolItem deleteGNodesItem
public IXToolItem layoutItem
public IXToolItem layoutLeftItem
final java.awt.Point newNodeLocation
Constructor Detail |
---|
public GExpansionEditor()
public GExpansionEditor(ActionEditorPanel parent)
Method Detail |
---|
public void populateExpansionsMenu()
public void setAction(UIRefinement uir)
public void layoutFromGraph(IGraph graph)
public void expandNode()
public void saveExpansionGraph(UIRefinement uir)
public void undoSetValue(java.lang.String field, java.lang.Object value)
undoSetValue
in interface UndoEditing
public java.lang.Object undoGetValue(java.lang.String field)
undoGetValue
in interface UndoEditing
public void setUIConstruct(UIObject construct)
setUIConstruct
in interface ConstructEditing
setUIConstruct
in class AConstructEditorPanel
public void setUIConstructOnly(UIObject construct)
setUIConstructOnly
in interface ConstructEditing
public void saveToObject(EditableObject object)
saveToObject
in interface ConstructEditing
saveToObject
in class AConstructEditorPanel
public void saveToGivenObject(UIRefinement uir)
public void loadFromObject()
loadFromObject
in interface ConstructEditing
public void displayFieldData(java.lang.String fieldName)
public void autoAutoLayout(lt.monarch.graph.GraphView graphView)
public void userAutoLayout(lt.monarch.graph.GraphView graphView)
public void userAutoLayoutLeft(lt.monarch.graph.GraphView graphView)
public void autoLayout(lt.monarch.graph.GraphView graphView)
public void autoLayoutLeft(lt.monarch.graph.GraphView graphView)
public void actionPerformed(java.awt.event.ActionEvent ae)
actionPerformed
in interface java.awt.event.ActionListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |