All Packages Class Hierarchy This Package Previous Next Index
Class ncsa.hdf.message.HDFObjectNode
java.lang.Object
|
+----ncsa.hdf.message.HDFObjectNode
- public class HDFObjectNode
- extends Object
- implements Serializable
This class define the contants for each HDF object.
-
Annotation
- define the type of HDF object
-
child
- define the child object
-
GR
-
-
GRDATASET
-
-
GRDATASETAN
-
-
GRDATASETATTR
-
-
GRGLOBALATTR
-
-
hasChild
- the expandable of the object
-
hasParent
- the ancestor of the object
-
hdfObject
- the HDF object which holds the image data
-
index
- the index of the attributes
-
information
- text information about the node
-
isPreview
- true if only read preview data
-
level
- the level of the object
-
Palette
-
-
parent
- define the parent object
-
plane
- the image plane number for animated image
-
preferedImageSize
- prefered image size
-
ref
- the reference number of the object
-
RIS24
-
-
RIS8
-
-
SDS
-
-
SDSDATASET
-
-
SDSDATASETAN
-
-
SDSDATASETATTR
-
-
SDSGLOBALATTR
-
-
selectedRange
- the selected image range
-
tag
- the tag of the object
-
type
- the type of the object
-
Vdata
-
-
Vgroup
-
-
HDFObjectNode()
- the new HDF object
-
getChildObj()
- get child object
-
getIndex()
- get object index value when node is attribute.
-
getName()
- get object name
-
getObjLevel()
- get object level
-
getObjRef()
- get object reference
-
getObjTag()
- get object tag
-
getObjType()
- get object type
-
getParentObj()
- get parent object
-
hasChild()
- test if object has child
-
hasParent()
- test if object has prent
-
isReadable()
-
-
setChildObj(Queue)
- set child object
-
setHasChild(boolean)
- set expandable flag
-
setHasParent(boolean)
- set ancestor flag
-
setIndex(int)
- set object index value when node is attribute.
-
setName(char[])
- set object name
-
setName(String)
- set object name
-
setObjLevel(int)
- set object level
-
setObjType(int)
- set object type
-
setParentObj(HDFObjectNode)
- set parent object
-
setTagRef(int, int)
- set object tag and ref
-
toString()
- Converts the vector to a string.
Annotation
public static final int Annotation
- define the type of HDF object
Palette
public static final int Palette
RIS8
public static final int RIS8
RIS24
public static final int RIS24
GR
public static final int GR
GRGLOBALATTR
public static final int GRGLOBALATTR
GRDATASETATTR
public static final int GRDATASETATTR
GRDATASET
public static final int GRDATASET
GRDATASETAN
public static final int GRDATASETAN
SDS
public static final int SDS
SDSGLOBALATTR
public static final int SDSGLOBALATTR
SDSDATASETATTR
public static final int SDSDATASETATTR
SDSDATASET
public static final int SDSDATASET
SDSDATASETAN
public static final int SDSDATASETAN
Vdata
public static final int Vdata
Vgroup
public static final int Vgroup
tag
public int tag
- the tag of the object
ref
public int ref
- the reference number of the object
type
public int type
- the type of the object
level
public int level
- the level of the object
index
public int index
- the index of the attributes
hasChild
public boolean hasChild
- the expandable of the object
hasParent
public boolean hasParent
- the ancestor of the object
parent
public HDFObjectNode parent
- define the parent object
child
public Queue child
- define the child object
information
public String information
- text information about the node
hdfObject
public HDFObject hdfObject
- the HDF object which holds the image data
isPreview
public boolean isPreview
- true if only read preview data
selectedRange
public Rectangle selectedRange
- the selected image range
preferedImageSize
public int preferedImageSize
- prefered image size
plane
public int plane
- the image plane number for animated image
HDFObjectNode
public HDFObjectNode()
- the new HDF object
setObjType
public void setObjType(int obj_type)
- set object type
- Parameters:
- obj_type - the object's type
getObjType
public int getObjType()
- get object type
- Returns:
- the object type
setObjLevel
public void setObjLevel(int obj_level)
- set object level
- Parameters:
- obj_level - the object's level
getObjLevel
public int getObjLevel()
- get object level
- Returns:
- the object's level
setName
public void setName(char name[])
- set object name
setName
public void setName(String name)
- set object name
setIndex
public void setIndex(int idx)
- set object index value when node is attribute.
getIndex
public int getIndex()
- get object index value when node is attribute.
- Returns:
- the index value of the attribute
getName
public String getName()
- get object name
- Returns:
- the node name
setTagRef
public void setTagRef(int tag,
int ref)
- set object tag and ref
- Parameters:
- tag - the object's tag
- ref - the object's reference
getObjTag
public int getObjTag()
- get object tag
- Returns:
- the object's tag
getObjRef
public int getObjRef()
- get object reference
- Returns:
- the object's reference number
setHasChild
public void setHasChild(boolean hasChild)
- set expandable flag
- Parameters:
- hasChild - the value defined object's child
hasChild
public boolean hasChild()
- test if object has child
- Returns:
- true if the object has child associated with it
setHasParent
public void setHasParent(boolean hasParent)
- set ancestor flag
- Parameters:
- hasParent - the value defined this object's ancestor
hasParent
public boolean hasParent()
- test if object has prent
- Returns:
- true if the object has parent associated with it
setChildObj
public void setChildObj(Queue que)
- set child object
- Parameters:
- obj - the HDF object
getChildObj
public Queue getChildObj()
- get child object
- Returns:
- the HDF object
setParentObj
public void setParentObj(HDFObjectNode obj)
- set parent object
- Parameters:
- obj - the HDF object
getParentObj
public HDFObjectNode getParentObj()
- get parent object
- Returns:
- the HDF object
isReadable
public boolean isReadable()
toString
public final synchronized String toString()
- Converts the vector to a string. Useful for debugging.
- Overrides:
- toString in class Object
All Packages Class Hierarchy This Package Previous Next Index