public class MetadataTreeNodeAdapter extends FieldTreeNodeAdapter
Constructor and Description |
---|
MetadataTreeNodeAdapter(Metadata metadata,
FieldIdentifier id)
The metadata may be null (for metadata fields of metadatas which are null); the
FieldIdentifier may also be null (for the root node).
|
MetadataTreeNodeAdapter(Metadata metadata,
FieldIdentifier id,
boolean treeTableMode)
The metadata may be null (for metadata fields of metadatas which are null); the
FieldIdentifier may also be null (for the root node).
|
Modifier and Type | Method and Description |
---|---|
SimpleTreeNode |
getChild(int index) |
int |
getChildCount() |
int |
getIndexOfChild(SimpleTreeNode child) |
Metadata |
getMetadata() |
java.lang.String |
getValue()
TreeTable support: get value of the node
|
boolean |
isLeaf() |
getID, getName, getTreeTableMode, toString
public MetadataTreeNodeAdapter(Metadata metadata, FieldIdentifier id)
public MetadataTreeNodeAdapter(Metadata metadata, FieldIdentifier id, boolean treeTableMode)
public Metadata getMetadata()
public int getChildCount()
public SimpleTreeNode getChild(int index)
public boolean isLeaf()
public int getIndexOfChild(SimpleTreeNode child)
public java.lang.String getValue()
SimpleTreeNode
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.