Package de.cardcontact.tlv
Interface TreeNode
-
- All Known Subinterfaces:
MutableTreeNode
- All Known Implementing Classes:
AuthenticatedRequest,CertificateBody,CertificateDate,CertificateEffectiveDate,CertificateExpirationDate,CertificateHolderAuthorizationTemplate,CertificateHolderReference,CertificationAuthorityReference,ChipAuthenticationCommandData,ChipAuthenticationResponseData,ConstructedTLV,Curve,CVCertificate,DirectoryAttribute,ECParameters,ECPrivateKeyTLV,ECPublicKeyTLV,Extension,Extensions,FieldID,GeneralizedTime,IntegerTLV,KeyDomainUIDExtension,ObjectIdentifier,OctetString,PrimitiveTLV,PrintableString,PrivateKeyAlgorithmIdentifier,PrivateKeyInfo,PublicKeyReference,PublicKeyTLV,RSAPublicKeyTLV,Sequence,SignatureTLV,TLV,UTF8String
public interface TreeNodeReimplementation of the java.swing.TreeNode interface with fewer methods- Author:
- Andreas Schwier (info@cardcontact.de)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TreeNodegetChildAt(int childIndex)Return child at position childIndexintgetChildCount()Return number of childsintgetIndex(TreeNode child)Get index for childTreeNodegetParent()Get parent for childbooleanisLeaf()Return true, if node is a leaf node
-
-
-
Method Detail
-
getChildAt
TreeNode getChildAt(int childIndex)
Return child at position childIndex- Parameters:
childIndex-- Returns:
- Child node
-
getChildCount
int getChildCount()
Return number of childs- Returns:
- Number of childs
-
getIndex
int getIndex(TreeNode child)
Get index for child- Parameters:
child- to look for- Returns:
- Child index or -1
-
getParent
TreeNode getParent()
Get parent for child- Returns:
- Parent or null if root or unknown
-
isLeaf
boolean isLeaf()
Return true, if node is a leaf node- Returns:
- Node is leaf node
-
-