Package repast.simphony.visualization
Class AbstractNetworkLayout<T>
java.lang.Object
repast.simphony.visualization.AbstractNetworkLayout<T>
- Direct Known Subclasses:
CGDLayout
,JungLayout
,JungNetworkLayout
,TreeLayout2D
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetGraph()
Gets the layout properties for this layout.getName()
Gets the name of the layoutvoid
Sets the layout properties for this layout.void
setProjection
(Network<T> projection) Sets the projection associated with this Layout.void
update()
Updates this layout.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface repast.simphony.visualization.Layout
getBoundingBox, getLocation
-
Field Details
-
baseGraph
-
layoutName
-
locationData
-
-
Constructor Details
-
AbstractNetworkLayout
public AbstractNetworkLayout()
-
-
Method Details
-
update
public void update()Description copied from interface:Layout
Updates this layout. -
setProjection
Description copied from interface:Layout
Sets the projection associated with this Layout.- Specified by:
setProjection
in interfaceLayout<T,
Network<T>> - Parameters:
projection
- the associated projection.
-
setLayoutProperties
Description copied from interface:Layout
Sets the layout properties for this layout.- Specified by:
setLayoutProperties
in interfaceLayout<T,
Network<T>> - Parameters:
props
- the layout properties
-
getLayoutProperties
Description copied from interface:Layout
Gets the layout properties for this layout.- Specified by:
getLayoutProperties
in interfaceLayout<T,
Network<T>> - Returns:
- the layout properties for this layout.
-
getName
Description copied from interface:Layout
Gets the name of the layout -
getGraph
-
getLocationData
-