Package repast.simphony.visualization
Class UpdateLayoutUpdater
java.lang.Object
repast.simphony.visualization.AbstractLayoutUpdater
repast.simphony.visualization.UpdateLayoutUpdater
- All Implemented Interfaces:
LayoutUpdater
Updates the layout every time the display is updated, regardless of the current condition.
- Version:
- $Revision: 1.1 $ $Date: 2006/01/06 22:35:19 $
- Author:
- Nick Collier
-
Nested Class Summary
Nested classes/interfaces inherited from interface repast.simphony.visualization.LayoutUpdater
LayoutUpdater.Condition
-
Field Summary
Fields inherited from class repast.simphony.visualization.AbstractLayoutUpdater
conditions, layout
-
Constructor Summary
ConstructorDescriptionUpdateLayoutUpdater
(Layout layout) Creates a UpdateLayoutUpdater to manage the updates of the specified layout. -
Method Summary
Methods inherited from class repast.simphony.visualization.AbstractLayoutUpdater
addTriggerCondition, getLayout, hasCondition, setLayout
-
Constructor Details
-
UpdateLayoutUpdater
Creates a UpdateLayoutUpdater to manage the updates of the specified layout.- Parameters:
layout
-
-
-
Method Details
-
getUpdateItemsLocation
public boolean getUpdateItemsLocation()- Returns:
- true if the visual items need to have the location updated during this update cycle, otherwise false.
-
getDoSetLocationForAdded
public boolean getDoSetLocationForAdded()- Returns:
- true if new items should get their location set when they are added to the display, otherwise false.
-
update
public void update()Update the layout. The layout will be updated or not depedending on the current trigger condition.
-