|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.swing.tree.DefaultMutableTreeNode
org.icepdf.ri.common.utility.layers.LayersTreeNode
public class LayersTreeNode
The LayersTreeNode represent a group of optional content members or just one optional content group. The user object for this DefaultMutableTreeNode must always be of type OptionalContentGroup. The OptionalContentGroup object is a reference to the OptionalContentGroup in the document's dictionary and any visibility changes will be reflected in the next Page paint.
| Field Summary | |
|---|---|
static int |
RADIO_SELECTION
Nodes behave like radio check boxes where only one can be selected at a time. |
protected int |
selectionMode
|
static int |
SINGLE_SELECTION
Node selection is independent of other nodes. |
| Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
|---|
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject |
| Constructor Summary | |
|---|---|
LayersTreeNode(java.lang.Object object)
|
|
LayersTreeNode(java.lang.Object userObject,
boolean allowsChildren)
|
|
LayersTreeNode(org.icepdf.core.pobjects.OptionalContentGroup optionalContentGroup)
|
|
| Method Summary | |
|---|---|
org.icepdf.core.pobjects.OptionalContentGroup |
getOptionalContentGroup()
|
int |
getSelectionMode()
|
boolean |
isSelected()
|
void |
setSelected(boolean isSelected)
|
void |
setSelectionMode(int mode)
|
java.lang.String |
toString()
|
| Methods inherited from class javax.swing.tree.DefaultMutableTreeNode |
|---|
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int SINGLE_SELECTION
public static final int RADIO_SELECTION
protected int selectionMode
| Constructor Detail |
|---|
public LayersTreeNode(java.lang.Object object)
public LayersTreeNode(org.icepdf.core.pobjects.OptionalContentGroup optionalContentGroup)
public LayersTreeNode(java.lang.Object userObject,
boolean allowsChildren)
| Method Detail |
|---|
public void setSelectionMode(int mode)
public int getSelectionMode()
public org.icepdf.core.pobjects.OptionalContentGroup getOptionalContentGroup()
public void setSelected(boolean isSelected)
public boolean isSelected()
public java.lang.String toString()
toString in class javax.swing.tree.DefaultMutableTreeNode
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||