public class GraphLayoutEvent extends EventObject
source| Constructor and Description |
|---|
GraphLayoutEvent(VisualGraph vgraph,
VisualVertex vvertex)
Creates a GraphLayoutEvent object indicating the VisualVertex object
that has been laid out and the VisualGraph where the VisualVertex object
belongs.
|
| Modifier and Type | Method and Description |
|---|---|
VisualGraph |
getVisualGraph()
Convenience method that is similar to getSource() but returns an explicit
VisualGraph object.
|
VisualVertex |
getVisualVertex()
Returns the VisualVertex object that has been laid out.
|
getSource, toStringpublic GraphLayoutEvent(VisualGraph vgraph, VisualVertex vvertex)
vgraph - The source of the event. The method getSource() will
return an object of type VisualGraph. This also indicates the
VisualGraph object where the VisualVertex that has been laid out belongs.vvertex - The VisualVertex object that has been laid out.public VisualGraph getVisualGraph()
public VisualVertex getVisualVertex()
Copyright © 2019 JULIE Lab, Germany. All rights reserved.