|
||||||||||
| 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
javax.swing.JPanel
aminePlatform.guis.cgNotationsGUI.CGEditor
aminePlatform.guis.cgNotationsGUI.CGGraphicEditor
Title: guis.cgNotationsGUI.CGGraphicEditor class
Description: CGGraphicEditor extends CGEditor and implement CG Graphic Editor functions.
Copyright : Copyright (c) Adil KABBAJ 2004-2009
| Nested Class Summary |
| Nested classes inherited from class javax.swing.JPanel |
javax.swing.JPanel.AccessibleJPanel |
| Nested classes inherited from class javax.swing.JComponent |
javax.swing.JComponent.AccessibleJComponent |
| Nested classes inherited from class java.awt.Container |
java.awt.Container.AccessibleAWTContainer |
| Nested classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
| Field Summary | |
AmineCGDrawEditor |
cgDrawEditor
|
CommonUIs |
commonUIs
|
javax.swing.JDesktopPane |
desktop
Attributes used for handling CG Drawing |
HierarchyWndCG |
hierWndGC
|
VisualGraph |
mainVisualGraph
|
| Fields inherited from class aminePlatform.guis.cgNotationsGUI.CGEditor |
alreadyGenerated, cgEditor, tbdPneCGEditors |
| 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.Container |
|
| 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 | |
CGGraphicEditor(CommonUIs commonUIs)
|
|
CGGraphicEditor(TbdPneCGEditors tbdPneCGEditors,
byte cgEdtr)
|
|
| Method Summary | |
void |
addChild(GraphDrawFrame frame,
GraphDrawFrame newChild)
|
static boolean |
cgWithDrawingInf(CG cg)
Check that all elements of the CG have drawing information. |
void |
clearContent()
|
void |
closeFrame(GraphDrawFrame graphDrawFrame,
boolean andDescendant)
NEW: TO INTEGRATE CG Drawing Possibilites |
void |
File_Save()
|
void |
finalize()
|
void |
generate()
|
java.util.ArrayList |
getChildrenOf(GraphDrawFrame graphDrawFrame)
|
GraphDrawFrame |
getCurrentGraphDrawFrame()
|
javax.swing.JDesktopPane |
getDeskTop()
|
javax.swing.JDesktopPane |
getDeskTopBrowser()
|
java.awt.Graphics |
getGraphics2()
|
HierarchyWndCG |
getHierarchyWndCG()
|
GraphDrawContainer |
getNewGraphDrawContainer(GraphDrawFrame frame,
Lexicon lexicon)
|
void |
init(Lexicon lexicon)
|
boolean |
isEmpty()
|
void |
onCopy()
|
void |
onCut()
|
void |
onEditEdge()
|
void |
onEditNode()
|
void |
onPaste()
|
void |
parse()
|
void |
parse(AmineList newTypes)
|
void |
repaintMainFrame()
|
void |
setCurrentGraphDrawFrame(GraphDrawFrame graphDrawFrame)
|
(package private) void |
setFocus()
|
void |
setHierarchyWndCG(HierarchyWndCG hierWndCG)
|
void |
setLexicon(Lexicon lexicon)
|
void |
updateMenuItems()
|
void |
updateMenuItems1And2(boolean mode)
|
| Methods inherited from class aminePlatform.guis.cgNotationsGUI.CGEditor |
getCurrCGEditors, getLanguage, getLexicon, getTbdPneLanguages, setFilePath |
| Methods inherited from class javax.swing.JPanel |
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class javax.swing.JComponent |
addAncestorListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFont, setForeground, 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, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, 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, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, 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, processMouseEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, 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, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public AmineCGDrawEditor cgDrawEditor
public CommonUIs commonUIs
public javax.swing.JDesktopPane desktop
public VisualGraph mainVisualGraph
public HierarchyWndCG hierWndGC
| Constructor Detail |
public CGGraphicEditor(CommonUIs commonUIs)
public CGGraphicEditor(TbdPneCGEditors tbdPneCGEditors,
byte cgEdtr)
| Method Detail |
public void init(Lexicon lexicon)
public void finalize()
void setFocus()
public boolean isEmpty()
isEmpty in class CGEditorpublic void clearContent()
clearContent in class CGEditor
public void parse()
throws java.lang.Exception
parse in class CGEditorjava.lang.Exception
public void parse(AmineList newTypes)
throws java.lang.Exception
parse in class CGEditorjava.lang.Exception
public void generate()
throws java.lang.Exception
generate in class CGEditorjava.lang.Exceptionpublic void setLexicon(Lexicon lexicon)
setLexicon in class CGEditorpublic static boolean cgWithDrawingInf(CG cg)
cg -
public java.awt.Graphics getGraphics2()
public void closeFrame(GraphDrawFrame graphDrawFrame,
boolean andDescendant)
closeFrame in interface MainFramepublic HierarchyWndCG getHierarchyWndCG()
getHierarchyWndCG in interface MainFramepublic void setHierarchyWndCG(HierarchyWndCG hierWndCG)
setHierarchyWndCG in interface MainFramepublic java.util.ArrayList getChildrenOf(GraphDrawFrame graphDrawFrame)
getChildrenOf in interface MainFramepublic javax.swing.JDesktopPane getDeskTop()
getDeskTop in interface MainFramepublic javax.swing.JDesktopPane getDeskTopBrowser()
getDeskTopBrowser in interface MainFrame
public void addChild(GraphDrawFrame frame,
GraphDrawFrame newChild)
addChild in interface MainFrame
public GraphDrawContainer getNewGraphDrawContainer(GraphDrawFrame frame,
Lexicon lexicon)
getNewGraphDrawContainer in interface MainFramepublic GraphDrawFrame getCurrentGraphDrawFrame()
getCurrentGraphDrawFrame in interface MainFramepublic void setCurrentGraphDrawFrame(GraphDrawFrame graphDrawFrame)
setCurrentGraphDrawFrame in interface MainFramepublic void repaintMainFrame()
repaintMainFrame in interface MainFramepublic void updateMenuItems()
updateMenuItems in interface MainFramepublic void updateMenuItems1And2(boolean mode)
updateMenuItems1And2 in interface MainFramepublic void File_Save()
File_Save in interface MainFramepublic void onCut()
onCut in interface MainFramepublic void onCopy()
onCopy in interface MainFramepublic void onPaste()
onPaste in interface MainFramepublic void onEditNode()
onEditNode in interface MainFramepublic void onEditEdge()
onEditEdge in interface MainFrame
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||