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 Details

    • UNIT_SIZE

      public static final String UNIT_SIZE
      See Also:
    • UNIT_SIZE_LAYOUT_PROPERTIES_ID

      public static final String UNIT_SIZE_LAYOUT_PROPERTIES_ID
  • Constructor Details

    • UnitSizeLayoutProperties

      public UnitSizeLayoutProperties()
  • Method Details

    • getProperty

      public Object getProperty(String id)
      Description copied from interface: VisualizationProperties
      Gets the property associated with the specified key.
      Specified by:
      getProperty in interface VisualizationProperties
      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 interface VisualizationProperties
      Returns:
      an iterable over all the keys for these properties.