motris.gui
Class StreetSurfaceLayer

java.lang.Object
  extended bymotris.data.Description
      extended byparameter.ParameterizedObjectAdaptor
          extended bymotris.gui.ColorizedLayer
              extended bymotris.gui.StreetSurfaceLayer
All Implemented Interfaces:
Layer, ParameterizedObject

public class StreetSurfaceLayer
extends ColorizedLayer

Display Layer showing the location of the global coordinate origin along its orientation and scaling

Author:
Hendrik Dahlkamp

Nested Class Summary
 
Nested classes inherited from class parameter.ParameterizedObject
ParameterizedObject.ParameterChangedListener, ParameterizedObject.ParameterizedObjectManager
 
Field Summary
(package private)  Camera cam
           
(package private)  java.awt.Rectangle dimension
           
(package private)  java.awt.Color legendColor
           
 
Fields inherited from class motris.gui.ColorizedLayer
color, strokeWidth
 
Fields inherited from class parameter.ParameterizedObjectAdaptor
parameterChangedNotifyList
 
Fields inherited from class motris.data.Description
 
Constructor Summary
StreetSurfaceLayer(Camera _cam)
           
 
Method Summary
 void colorizedDraw(java.awt.Graphics g, javax.swing.JPanel _c, double zoomFactor)
           
 java.lang.String getDisplayedName()
           
 ParameterSet getParameters()
          Get a Vector of Strings with a description of each Parameter
 java.awt.Dimension getPreferedDimension(int currentTime)
           
 boolean setParameters(ParameterSet _params)
          Set Parameters of this class
 
Methods inherited from class motris.gui.ColorizedLayer
draw, getIdentification, getPixelDetails
 
Methods inherited from class parameter.ParameterizedObjectAdaptor
addParameterChangedListener, finalize, fireParameterChanged, parameterEdited, removeParameterChangedListener
 
Methods inherited from class motris.data.Description
getDescription, getIdentifier, getName, setDescription, setIdentifier, setName
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface parameter.ParameterizedObject
addParameterChangedListener, parameterEdited, removeParameterChangedListener
 

Field Detail

cam

Camera cam

dimension

java.awt.Rectangle dimension

legendColor

java.awt.Color legendColor
Constructor Detail

StreetSurfaceLayer

public StreetSurfaceLayer(Camera _cam)
Method Detail

colorizedDraw

public void colorizedDraw(java.awt.Graphics g,
                          javax.swing.JPanel _c,
                          double zoomFactor)
Specified by:
colorizedDraw in class ColorizedLayer

getDisplayedName

public java.lang.String getDisplayedName()

getPreferedDimension

public java.awt.Dimension getPreferedDimension(int currentTime)

getParameters

public ParameterSet getParameters()
Description copied from interface: ParameterizedObject
Get a Vector of Strings with a description of each Parameter

Specified by:
getParameters in interface ParameterizedObject
Overrides:
getParameters in class ColorizedLayer

setParameters

public boolean setParameters(ParameterSet _params)
Description copied from interface: ParameterizedObject
Set Parameters of this class

Specified by:
setParameters in interface ParameterizedObject
Overrides:
setParameters in class ColorizedLayer