public class DistanceLayer extends java.lang.Object implements VirtualBookComponentLayer, VirtualBookComponentLayerName
Constructor and Description |
---|
DistanceLayer() |
Modifier and Type | Method and Description |
---|---|
void |
draw(java.awt.Graphics g,
JVirtualBookComponent jbookcomponentreference)
ask for a draw in the component
|
java.lang.String |
getDisplayName() |
boolean |
isVisible()
ask if the layer is visible
|
void |
setVisible(boolean visible)
define if the layer is visible or not
|
public java.lang.String getDisplayName()
getDisplayName
in interface VirtualBookComponentLayerName
public boolean isVisible()
VirtualBookComponentLayer
isVisible
in interface VirtualBookComponentLayer
public void setVisible(boolean visible)
VirtualBookComponentLayer
setVisible
in interface VirtualBookComponentLayer
public void draw(java.awt.Graphics g, JVirtualBookComponent jbookcomponentreference)
VirtualBookComponentLayer
draw
in interface VirtualBookComponentLayer
g
- the graphic reference for drawing with Java2Djbookcomponentreference
- the VirtualBookComponent reference