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, Cloneable
This class define the contants for each HDF object.

Author:
HDF group, NCSA

Variable Index

 o Annotation
define the type of HDF object
 o child
define the child object
 o GR
 o GRDATASET
 o GRDATASETAN
 o GRDATASETATTR
 o GRGLOBALATTR
 o hasChild
the expandable of the object
 o hasParent
the ancestor of the object
 o index
the index of the attributes
 o information
text information about the node
 o isPreview
true if only read preview data
 o level
the level of the object
 o Palette
 o parent
define the parent object
 o plane
the image plane number for animated image
 o preferedImageSize
prefered image size
 o ref
the reference number of the object
 o RIS24
 o RIS8
 o SDS
 o SDSDATASET
 o SDSDATASETAN
 o SDSDATASETATTR
 o SDSGLOBALATTR
 o sdsSelection
the orientation and slice selection of SDS image
 o selectedRange
the selected image range
 o tag
the tag of the object
 o type
the type of the object
 o Vdata
 o Vgroup

Constructor Index

 o HDFObjectNode()
the new HDF object

Method Index

 o getChildObj()
get child object
 o getIndex()
get object index value when node is attribute.
 o getName()
get object name
 o getObjLevel()
get object level
 o getObjRef()
get object reference
 o getObjTag()
get object tag
 o getObjType()
get object type
 o getParentObj()
get parent object
 o hasChild()
test if object has child
 o hasParent()
test if object has prent
 o isReadable()
 o setChildObj(Queue)
set child object
 o setHasChild(boolean)
set expandable flag
 o setHasParent(boolean)
set ancestor flag
 o setIndex(int)
set object index value when node is attribute.
 o setName(char[])
set object name
 o setName(String)
set object name
 o setObjLevel(int)
set object level
 o setObjType(int)
set object type
 o setParentObj(HDFObjectNode)
set parent object
 o setTagRef(int, int)
set object tag and ref
 o toString()
Converts the vector to a string.

Variables

 o Annotation
 public static final int Annotation
define the type of HDF object

 o Palette
 public static final int Palette
 o RIS8
 public static final int RIS8
 o RIS24
 public static final int RIS24
 o GR
 public static final int GR
 o GRGLOBALATTR
 public static final int GRGLOBALATTR
 o GRDATASETATTR
 public static final int GRDATASETATTR
 o GRDATASET
 public static final int GRDATASET
 o GRDATASETAN
 public static final int GRDATASETAN
 o SDS
 public static final int SDS
 o SDSGLOBALATTR
 public static final int SDSGLOBALATTR
 o SDSDATASETATTR
 public static final int SDSDATASETATTR
 o SDSDATASET
 public static final int SDSDATASET
 o SDSDATASETAN
 public static final int SDSDATASETAN
 o Vdata
 public static final int Vdata
 o Vgroup
 public static final int Vgroup
 o tag
 public int tag
the tag of the object

 o ref
 public int ref
the reference number of the object

 o type
 public int type
the type of the object

 o level
 public int level
the level of the object

 o index
 public int index
the index of the attributes

 o hasChild
 public boolean hasChild
the expandable of the object

 o hasParent
 public boolean hasParent
the ancestor of the object

 o parent
 public HDFObjectNode parent
define the parent object

 o child
 public Queue child
define the child object

 o information
 public String information
text information about the node

 o isPreview
 public boolean isPreview
true if only read preview data

 o selectedRange
 public Rectangle selectedRange
the selected image range

 o preferedImageSize
 public int preferedImageSize
prefered image size

 o plane
 public int plane
the image plane number for animated image

 o sdsSelection
 public int sdsSelection[]
the orientation and slice selection of SDS image

Constructors

 o HDFObjectNode
 public HDFObjectNode()
the new HDF object

Methods

 o setObjType
 public void setObjType(int obj_type)
set object type

Parameters:
obj_type - the object's type
 o getObjType
 public int getObjType()
get object type

Returns:
the object type
 o setObjLevel
 public void setObjLevel(int obj_level)
set object level

Parameters:
obj_level - the object's level
 o getObjLevel
 public int getObjLevel()
get object level

Returns:
the object's level
 o setName
 public void setName(char name[])
set object name

 o setName
 public void setName(String name)
set object name

 o setIndex
 public void setIndex(int idx)
set object index value when node is attribute.

 o getIndex
 public int getIndex()
get object index value when node is attribute.

Returns:
the index value of the attribute
 o getName
 public String getName()
get object name

Returns:
the node name
 o setTagRef
 public void setTagRef(int tag,
                       int ref)
set object tag and ref

Parameters:
tag - the object's tag
ref - the object's reference
 o getObjTag
 public int getObjTag()
get object tag

Returns:
the object's tag
 o getObjRef
 public int getObjRef()
get object reference

Returns:
the object's reference number
 o setHasChild
 public void setHasChild(boolean hasChild)
set expandable flag

Parameters:
hasChild - the value defined object's child
 o hasChild
 public boolean hasChild()
test if object has child

Returns:
true if the object has child associated with it
 o setHasParent
 public void setHasParent(boolean hasParent)
set ancestor flag

Parameters:
hasParent - the value defined this object's ancestor
 o hasParent
 public boolean hasParent()
test if object has prent

Returns:
true if the object has parent associated with it
 o setChildObj
 public void setChildObj(Queue que)
set child object

Parameters:
obj - the HDF object
 o getChildObj
 public Queue getChildObj()
get child object

Returns:
the HDF object
 o setParentObj
 public void setParentObj(HDFObjectNode obj)
set parent object

Parameters:
obj - the HDF object
 o getParentObj
 public HDFObjectNode getParentObj()
get parent object

Returns:
the HDF object
 o isReadable
 public boolean isReadable()
 o 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