motris.gui
Class ModelView.ModelViewEdgeLayer

java.lang.Object
  extended bymotris.data.Description
      extended byparameter.ParameterizedObjectAdaptor
          extended bymotris.gui.ColorizedLayer
              extended bymotris.gui.ModelView.ModelViewEdgeLayer
All Implemented Interfaces:
Layer, ParameterizedObject
Enclosing class:
ModelView

public class ModelView.ModelViewEdgeLayer
extends ColorizedLayer


Nested Class Summary
 
Nested classes inherited from class parameter.ParameterizedObject
ParameterizedObject.ParameterChangedListener, ParameterizedObject.ParameterizedObjectManager
 
Field Summary
private  java.awt.Color textColor
           
private  boolean viewEdgeDescriptions
           
private  boolean viewEdgeNos
           
private  boolean viewVisibleEdges
           
 
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
ModelView.ModelViewEdgeLayer(boolean _viewVisibleEdges)
           
 
Method Summary
 void colorizedDraw(java.awt.Graphics g, javax.swing.JPanel _c, double zoomFactor)
           
private  void drawEdgeDescription(ImageEdge imageEdge, java.awt.Graphics g, double zoomFactor, double zoomOffset, int edgeNo)
           
 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

viewVisibleEdges

private boolean viewVisibleEdges

viewEdgeNos

private boolean viewEdgeNos

viewEdgeDescriptions

private boolean viewEdgeDescriptions

textColor

private java.awt.Color textColor
Constructor Detail

ModelView.ModelViewEdgeLayer

public ModelView.ModelViewEdgeLayer(boolean _viewVisibleEdges)
Method Detail

drawEdgeDescription

private void drawEdgeDescription(ImageEdge imageEdge,
                                 java.awt.Graphics g,
                                 double zoomFactor,
                                 double zoomOffset,
                                 int edgeNo)

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