Package repast.simphony.visualization
Class UnitSizeLayoutProperties
- java.lang.Object
-
- repast.simphony.visualization.UnitSizeLayoutProperties
-
- All Implemented Interfaces:
VisualizationProperties
public class UnitSizeLayoutProperties extends Object implements VisualizationProperties
Properties for a layout that needs a "unit size".- Version:
- $Revision$ $Date$
- Author:
- Nick Collier
-
-
Field Summary
Fields Modifier and Type Field Description static String
UNIT_SIZE
static String
UNIT_SIZE_LAYOUT_PROPERTIES_ID
-
Constructor Summary
Constructors Constructor Description UnitSizeLayoutProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterable<String>
getKeys()
Gets an iterable over all the valid keys for these properties.Object
getProperty(String id)
Gets the property associated with the specified key.float
getUnitSize()
void
setUnitSize(float unitSize)
-
-
-
Field Detail
-
UNIT_SIZE
public static final String UNIT_SIZE
- See Also:
- Constant Field Values
-
UNIT_SIZE_LAYOUT_PROPERTIES_ID
public static final String UNIT_SIZE_LAYOUT_PROPERTIES_ID
-
-
Method Detail
-
getProperty
public Object getProperty(String id)
Description copied from interface:VisualizationProperties
Gets the property associated with the specified key.- Specified by:
getProperty
in interfaceVisualizationProperties
- Returns:
- the property associated with the specified key.
-
getUnitSize
public float getUnitSize()
-
setUnitSize
public void setUnitSize(float unitSize)
-
getKeys
public Iterable<String> getKeys()
Gets an iterable over all the valid keys for these properties.- Specified by:
getKeys
in interfaceVisualizationProperties
- Returns:
- an iterable over all the keys for these properties.
-
-