Package repast.simphony.visualization
Class AbstractNetworkLayout<T>
java.lang.Object
repast.simphony.visualization.AbstractNetworkLayout<T>
- Direct Known Subclasses:
CGDLayout,JungLayout,JungNetworkLayout,TreeLayout2D
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetGraph()Gets the layout properties for this layout.getName()Gets the name of the layoutvoidSets the layout properties for this layout.voidsetProjection(Network<T> projection) Sets the projection associated with this Layout.voidupdate()Updates this layout.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:LayoutUpdates this layout. -
setProjection
Description copied from interface:LayoutSets the projection associated with this Layout.- Specified by:
setProjectionin interfaceLayout<T,Network<T>> - Parameters:
projection- the associated projection.
-
setLayoutProperties
Description copied from interface:LayoutSets the layout properties for this layout.- Specified by:
setLayoutPropertiesin interfaceLayout<T,Network<T>> - Parameters:
props- the layout properties
-
getLayoutProperties
Description copied from interface:LayoutGets the layout properties for this layout.- Specified by:
getLayoutPropertiesin interfaceLayout<T,Network<T>> - Returns:
- the layout properties for this layout.
-
getName
Description copied from interface:LayoutGets the name of the layout -
getGraph
-
getLocationData
-