|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.qoppa.pdf.Layer
public abstract class Layer
This class represents a PDF 'Layer'.
| Field Summary | |
|---|---|
static int |
STATE_OFF
|
static int |
STATE_ON
|
| Constructor Summary | |
|---|---|
Layer()
|
|
| Method Summary | |
|---|---|
abstract void |
addLayerListener(LayerListener l)
Adds an object that will listen to changes in the layer's visible state. |
abstract String |
getName()
Returns the name of this layer. |
abstract boolean |
isVisible()
Returns whether this layer is currently visible. |
abstract void |
removeLayerListener(LayerListener l)
Removes a layer listener from the list of active listeners. |
abstract void |
setVisible(boolean visible)
Sets the visibility for this layer. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int STATE_OFF
public static final int STATE_ON
| Constructor Detail |
|---|
public Layer()
| Method Detail |
|---|
public abstract String getName()
public abstract boolean isVisible()
public abstract void setVisible(boolean visible)
visible - The new visibility.public abstract void addLayerListener(LayerListener l)
l - The new layer listener.public abstract void removeLayerListener(LayerListener l)
l - The listener to remove.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||