Trispark JDT
2.50.13

com.archimed.dicom
Class SequenceItemReadEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.archimed.dicom.SequenceItemReadEvent
All Implemented Interfaces:
java.io.Serializable

public class SequenceItemReadEvent
extends java.util.EventObject

an event fired when a sequence item is read.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
SequenceItemReadEvent(DataElement dataElement, DicomObject sequenceItem, com.archimed.dicom.MultiVRInputStream in)
          Creates a new instance of SequenceItemReadEvent
 
Method Summary
 DataElement getDataElement()
          returns the data element in which the sequence item was read.
 java.io.InputStream getInputStream()
          returns the inputstream currently being read.
 long getOffset()
          returns the offset of the sequence item.
 DicomObject getSequenceItem()
          returns the sequence item that was read ,as a DicomObject
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SequenceItemReadEvent

public SequenceItemReadEvent(DataElement dataElement,
                             DicomObject sequenceItem,
                             com.archimed.dicom.MultiVRInputStream in)
Creates a new instance of SequenceItemReadEvent

Method Detail

getDataElement

public DataElement getDataElement()
returns the data element in which the sequence item was read. This is in fact the containing sequence.


getSequenceItem

public DicomObject getSequenceItem()
returns the sequence item that was read ,as a DicomObject


getOffset

public long getOffset()
returns the offset of the sequence item. Useful for Directory Record sequence items in a DICOMDIR.


getInputStream

public java.io.InputStream getInputStream()
returns the inputstream currently being read.

Returns:

Trispark JDT
2.50.13

Copyright © 1999-2008 Trispark. All Rights Reserved.