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, setVisiblepublic JScaleDisplayLayer(JDisplay display, Scale instrumentScale, JLinesLayer top, JLinesLayer bottom)
public java.lang.String getName()
JLayerpublic void setViewInverted(boolean viewInverted)
public boolean isViewInverted()
public void setInstrumentScale(Scale instrumentScale)
public Scale getInstrumentScale()
public void drawLayer(java.awt.Graphics2D g2d)
JLayerpublic java.lang.String getTooltip(java.awt.geom.Point2D.Double position)
JLayergetTooltip in class JLayer