|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.pixelmed.dicom.DicomDirectoryRecord
public abstract class DicomDirectoryRecord
| Field Summary | |
|---|---|
protected int |
integerValue
|
protected String |
stringValue
|
protected String |
uid
|
| Constructor Summary | |
|---|---|
DicomDirectoryRecord(DicomDirectoryRecord p,
AttributeList l)
|
|
| Method Summary | |
|---|---|
void |
addChild(DicomDirectoryRecord child)
|
void |
addSibling(DicomDirectoryRecord sibling)
|
Enumeration |
children()
Returns the children of this node as an Enumeration. |
int |
compareTo(Object o)
|
protected int |
compareToByIntegerValue(DicomDirectoryRecord record,
boolean mustBeSameObjectToBeEqual)
|
protected int |
compareToByStringValue(DicomDirectoryRecord record,
boolean mustBeSameObjectToBeEqual)
|
boolean |
equals(Object o)
|
boolean |
getAllowsChildren()
Always returns true, since children may always be added. |
AttributeList |
getAttributeList()
|
TreeNode |
getChildAt(int index)
Returns the child at the specified index. |
int |
getChildCount()
Return the number of children that this node contains. |
int |
getIndex(TreeNode child)
Returns the index of the specified child from amongst this node's children, if present. |
protected int |
getIntegerValue()
|
TreeNode |
getParent()
Returns the parent node of this node. |
protected String |
getStringValue()
|
protected String |
getUIDForComparison()
|
boolean |
isLeaf()
Returns true if the receiver is a leaf (has no children). |
protected abstract void |
makeIntegerValue()
|
protected abstract void |
makeStringValue()
|
void |
removeChild(DicomDirectoryRecord child)
|
void |
setParent(DicomDirectoryRecord parent)
Set the parent node of this node. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String uid
protected String stringValue
protected int integerValue
| Constructor Detail |
|---|
public DicomDirectoryRecord(DicomDirectoryRecord p,
AttributeList l)
p - l - | Method Detail |
|---|
public int compareTo(Object o)
compareTo in interface Comparableo - public boolean equals(Object o)
equals in class Objecto - protected abstract void makeStringValue()
protected abstract void makeIntegerValue()
protected String getStringValue()
protected int getIntegerValue()
protected final String getUIDForComparison()
protected final int compareToByStringValue(DicomDirectoryRecord record,
boolean mustBeSameObjectToBeEqual)
record -
protected final int compareToByIntegerValue(DicomDirectoryRecord record,
boolean mustBeSameObjectToBeEqual)
record - public TreeNode getParent()
Returns the parent node of this node.
getParent in interface TreeNodepublic TreeNode getChildAt(int index)
Returns the child at the specified index.
getChildAt in interface TreeNodeindex - the index of the child to be returned, numbered from 0
TreeNode at the specified indexpublic int getIndex(TreeNode child)
Returns the index of the specified child from amongst this node's children, if present.
getIndex in interface TreeNodechild - the child to search for amongst this node's children
public boolean getAllowsChildren()
Always returns true, since children may always be added.
getAllowsChildren in interface TreeNodepublic boolean isLeaf()
Returns true if the receiver is a leaf (has no children).
isLeaf in interface TreeNodepublic int getChildCount()
Return the number of children that this node contains.
getChildCount in interface TreeNodepublic Enumeration children()
Returns the children of this node as an Enumeration.
children in interface TreeNodepublic void addChild(DicomDirectoryRecord child)
child - public void removeChild(DicomDirectoryRecord child)
child -
public void addSibling(DicomDirectoryRecord sibling)
throws DicomException
sibling -
DicomExceptionpublic void setParent(DicomDirectoryRecord parent)
Set the parent node of this node.
parent - public AttributeList getAttributeList()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||