public class MeasurementPanel extends AbstractFeaturePanel
panel
controller, featureID
Constructor and Description |
---|
MeasurementPanel(Registry registry) |
Modifier and Type | Method and Description |
---|---|
void |
clearPanel() |
void |
deletePanel() |
protected void |
disposeCurrentMeasureTool() |
javax.swing.JComponent[] |
getDialogControls() |
WWOMeasureTool |
getMeasureTool() |
Renderable |
getShape() |
RenderableLayer |
getShapeLayer() |
void |
initialize(Controller controller) |
protected void |
installNewMeasureTool(java.lang.String shapeType) |
protected void |
makeToolListener() |
void |
setFillColor(java.awt.Color color) |
void |
setLayers(RenderableLayer shapeLayer,
RenderableLayer controlPointsLayer) |
void |
setLineColor(java.awt.Color color) |
protected void |
setPathType(java.lang.String pathType) |
void |
setShapeColor(Renderable shape,
java.awt.Color lineColor,
java.awt.Color fillColor) |
protected void |
updatePanelValues() |
getJPanel
actionPerformed, addToToolBar, doActionPerformed, doPropertyChange, getController, getFeatureID, getName, getStringValue, isInitialized, isOn, isTwoState, propertyChange, register, setMenuAccellerator, turnOn
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFeatureID, getName, isOn, isTwoState, turnOn
isInitialized
public MeasurementPanel(Registry registry)
public void clearPanel()
public void deletePanel()
protected void disposeCurrentMeasureTool()
public javax.swing.JComponent[] getDialogControls()
getDialogControls
in interface FeaturePanel
getDialogControls
in class AbstractFeaturePanel
public WWOMeasureTool getMeasureTool()
public Renderable getShape()
public RenderableLayer getShapeLayer()
public void initialize(Controller controller)
initialize
in interface Initializable
initialize
in class AbstractFeaturePanel
protected void installNewMeasureTool(java.lang.String shapeType)
protected void makeToolListener()
public void setFillColor(java.awt.Color color)
public void setLayers(RenderableLayer shapeLayer, RenderableLayer controlPointsLayer)
public void setLineColor(java.awt.Color color)
protected void setPathType(java.lang.String pathType)
public void setShapeColor(Renderable shape, java.awt.Color lineColor, java.awt.Color fillColor)
protected void updatePanelValues()