Class AbstractProjectionDecorator<T extends Projection<?>>

java.lang.Object
repast.simphony.visualization.decorator.AbstractProjectionDecorator<T>
Direct Known Subclasses:
Continuous2DProjectionDecorator, Continuous3DProjectionDecorator, Grid2DProjectionDecorator, Grid3DProjectionDecorator

public abstract class AbstractProjectionDecorator<T extends Projection<?>> extends Object
Version:
$Revision$ $Date$
Author:
Nick Collier
  • Field Details

  • Constructor Details

    • AbstractProjectionDecorator

      public AbstractProjectionDecorator()
  • Method Details

    • getProjection

      public T getProjection()
      Gets the projection that this decorator decorates.
      Returns:
      the projection that this decorator decorates.
    • setProjection

      public void setProjection(T projection)
      Sets the Grid that this decorator decorates.
      Parameters:
      grid -
    • getColor

      public Color getColor()
      Gets the color of the decoration.
      Returns:
      the color of the decoration.
    • setColor

      public void setColor(Color color)
      Sets the color of the decoration.
      Parameters:
      color -
    • getUnitSize

      public float getUnitSize()
      Gets the unit size of the decoration.
      Returns:
      the cell size of the decoration.
    • setUnitSize

      public void setUnitSize(float unitSize)
      Sets the unit size of the decoration.
      Parameters:
      unitSize -