|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.tensegrity.gui.graphdocument.GraphPanelAttributableOnSetDelegate
The AttributableOnSetDelegate for a GraphPanel. Depending on the selection the returned attributable contains attributes of the Graph and VisualGraphView or of the selected items.
| Field Summary | |
static java.lang.String |
ATTRIBUTE_ANTIALIAS
Constant for the AntiAlias String. |
| Constructor Summary | |
GraphPanelAttributableOnSetDelegate(UIManager uiManager,
GraphPanel graphPanel)
Constructor |
|
| Method Summary | |
void |
determineAttributableOnSet(AttributeEditor attributeeditor,
VisualGraphView view)
This method is called when its required to set an AttributableOnSet on the parameter attributeEditor. |
AttributableOnSet |
getAttributable()
Returns the associated AttributableOnSet instance of this delegate. |
AttributableOnSet |
getDeterminedAttributableOnSet()
Returns the attributable that has been determined in the last call to determineAttributableOnSet(AttributeEditor, VisualGraphView). |
protected GraphPanel |
getGraphPanel()
Returns the GraphPanel this instance is assigned to. |
protected void |
updateGraphAttributes(Graph activegraph,
VisualGraphView activevisualgraph)
The method updateGraphAttributes adds all the Graph related attributes to the internal attributable instance. |
protected void |
updateLayoutAttributes(VisualGraphView activevisualgraph)
Updates the Attributes of the view. |
void |
updateViewAttributes(VisualGraphView vgv)
Updates the Attributes of the view. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String ATTRIBUTE_ANTIALIAS
| Constructor Detail |
public GraphPanelAttributableOnSetDelegate(UIManager uiManager,
GraphPanel graphPanel)
uiManager - An optional UIManager for the translation of the
attribute names of common graph information.
This value is deprecated and should be null!graphPanel - The graphPanel to get the information from| Method Detail |
public void determineAttributableOnSet(AttributeEditor attributeeditor,
VisualGraphView view)
AttributableOnSetDelegateattributeEditor. The parameter
view is typically the originator the event which forces an
encapsulating panel to invoke this method.
determineAttributableOnSet in interface AttributableOnSetDelegateattributeeditor - The attribute editor component used
for editing attributesview - The visual graph viewpublic AttributableOnSet getDeterminedAttributableOnSet()
determineAttributableOnSet(AttributeEditor, VisualGraphView).
protected final void updateGraphAttributes(Graph activegraph,
VisualGraphView activevisualgraph)
activegraph - A Graph to obtain attributes from.activevisualgraph - A VisualGraphView to obtain attributes from.protected final void updateLayoutAttributes(VisualGraphView activevisualgraph)
Attributes of the view.
activevisualgraph - the VisualGraphView to collect the
Attributes of.public final void updateViewAttributes(VisualGraphView vgv)
Attributes of the view.
vgv - the VisualGraphView to collect the
Attributes of.protected final GraphPanel getGraphPanel()
GraphPanel this instance is assigned to.
GraphPanel this instance is assigned to.public AttributableOnSet getAttributable()
AttributableOnSet of this Delegate.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||