Class LayersTreeNode

  • All Implemented Interfaces:
    Serializable, Cloneable, MutableTreeNode, TreeNode

    public class LayersTreeNode
    extends DefaultMutableTreeNode
    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.
    Since:
    5.0
    See Also:
    Serialized Form
    • Field Detail

      • SINGLE_SELECTION

        public static final int SINGLE_SELECTION
        Node selection is independent of other nodes.
        See Also:
        Constant Field Values
      • RADIO_SELECTION

        public static final int RADIO_SELECTION
        Nodes behave like radio check boxes where only one can be selected at a time.
        See Also:
        Constant Field Values
      • selectionMode

        protected int selectionMode
    • Constructor Detail

      • LayersTreeNode

        public LayersTreeNode​(Object object)
      • LayersTreeNode

        public LayersTreeNode​(Object userObject,
                              boolean allowsChildren)
    • Method Detail

      • setSelectionMode

        public void setSelectionMode​(int mode)
      • getSelectionMode

        public int getSelectionMode()
      • setSelected

        public void setSelected​(boolean isSelected)
      • isSelected

        public boolean isSelected()