|
|||||||||||
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
org.tigris.gef.graph.presentation.JGraph
org.argouml.uml.diagram.ui.ArgoJGraph
UMLJGraph is a JGraph that updates the Figs representing modelelements if they are in the clipping area.
Nested Class Summary |
Nested classes inherited from class javax.swing.JPanel |
JPanel.AccessibleJPanel |
Nested classes inherited from class javax.swing.JComponent |
JComponent.AccessibleJComponent |
Nested classes inherited from class java.awt.Container |
Container.AccessibleAWTContainer |
Nested classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary |
Fields inherited from class org.tigris.gef.graph.presentation.JGraph |
_currentDiagramId |
Fields inherited from class javax.swing.JPanel |
|
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 | |
ArgoJGraph()
Deprecated. Make a new JGraph with a new DefaultGraphModel. |
|
ArgoJGraph(org.tigris.gef.base.Diagram d)
Deprecated. as of 0.17.2 by Linus Tolke. This function is not used. Use one of the other constructors instead. |
|
ArgoJGraph(org.tigris.gef.base.Editor ed)
Deprecated. as of 0.17.2 by Linus Tolke. This function will be made private. Use one of the other constructors instead. |
|
ArgoJGraph(org.tigris.gef.graph.GraphModel gm)
Deprecated. Make a new JGraph with the given GraphModel . |
Method Summary | |
int |
hashCode()
Deprecated. |
Methods inherited from class org.tigris.gef.graph.presentation.JGraph |
addGraphSelectionListener, addKeyListener, addModeChangeListener, addMouseListener, addMouseMotionListener, bindKey, clone, deselect, deselectAll, equals, establishAlternateMouseWheelListener, getCurrentDiagramId, getDefaultSize, getEditor, getGraphEdgeRenderer, getGraphModel, getGraphNodeRenderer, getViewPosition, initKeys, isFocusTraversable, isManagingFocus, layoutGraph, removeGraphSelectionListener, removeModeChangeListener, select, select, selectByOwner, selectByOwnerOrFig, selectByOwnerOrNoChange, selectedFigs, setDefaultSize, setDefaultSize, setDiagram, setDrawingSize, setDrawingSize, setGraphEdgeRenderer, setGraphModel, setGraphNodeRenderer, setViewPosition, setVisible, toggleItem, toggleItems, updateDrawingSizeToIncludeAllFigs |
Methods inherited from class javax.swing.JPanel |
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ArgoJGraph()
DefaultGraphModel
public ArgoJGraph(org.tigris.gef.base.Diagram d)
JGraph
with a the GraphModel
and
Layer
from the given Diagram.
d
- The Diagram.public ArgoJGraph(org.tigris.gef.graph.GraphModel gm)
JGraph
with the given GraphModel
.
gm
- The given GraphModel
.public ArgoJGraph(org.tigris.gef.base.Editor ed)
JGraph
with the given Editor
.
All JGraph
contructors eventually call this contructor.
ed
- The given Editor
.Method Detail |
public int hashCode()
TODO: Investigate further:
According to a mail from GZ (6th November 2004) on the dev list,
{@link javax.swing.RepaintManager} puts these objects in
some kind of data structure that uses this function.
Assuming that there is a reason for this we dare not sabotage
this by short-circuiting this to 0. Instead we rely on that
{@link org.tigris.gef.graph.presentation.JGraph#setDiagram(
org.tigris.gef.base.Diagram)} actually removes this object from
the {@link javax.swing.RepaintManager} and registers it again
when resetting the diagram id.
This is based on the assumption that the function
{@link #equals(Object)} must work as it does. I (Linus) have not
understood why it must. Could someone please explain that in the
javadoc.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ArgoUML © 1996-2004 (20050222) | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |