public class JScaleDisplayLayer extends JLayer
Constructor and Description |
---|
JScaleDisplayLayer(JDisplay display,
Scale instrumentScale,
JLinesLayer top,
JLinesLayer bottom) |
Modifier and Type | Method and Description |
---|---|
void |
drawLayer(java.awt.Graphics2D g2d)
draw layer
|
java.awt.geom.Rectangle2D |
getExtent() |
Scale |
getInstrumentScale() |
java.lang.String |
getName()
get the name of the layer
|
java.lang.String |
getTooltip(java.awt.geom.Point2D.Double position)
query the tooltip at position
|
boolean |
isViewInverted() |
void |
setInstrumentScale(Scale instrumentScale) |
void |
setViewInverted(boolean viewInverted) |
addLayerChangedListener, fireLayerContentChanged, fireLayerSelectionChanged, isVisible, removeLayerChangedListener, setVisible
public JScaleDisplayLayer(JDisplay display, Scale instrumentScale, JLinesLayer top, JLinesLayer bottom)
public java.lang.String getName()
JLayer
public void setViewInverted(boolean viewInverted)
public boolean isViewInverted()
public void setInstrumentScale(Scale instrumentScale)
public Scale getInstrumentScale()
public void drawLayer(java.awt.Graphics2D g2d)
JLayer
public java.lang.String getTooltip(java.awt.geom.Point2D.Double position)
JLayer
getTooltip
in class JLayer