|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.qoppa.pdf.Layer
This class represents a PDF 'Layer'.
| Field Summary | |
static int |
STATE_OFF
|
static int |
STATE_ON
|
| Constructor Summary | |
Layer(String name,
int layerState)
Constructs a new layer. |
|
| Method Summary | |
String |
getName()
Returns the name of this layer. |
boolean |
isVisible()
Returns whether this layer is currently visible. |
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(String name,
int layerState)
name - The name of the new layer.layerState - The initial state of the layer. This value should be either Layer.STATE_OFF or Layer.STATE_ON.| Method Detail |
public String getName()
public boolean isVisible()
public void setVisible(boolean visible)
visible - The new visibility.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||