|
Trispark JDT 2.50.13 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.EventObject
com.archimed.dicom.TagWriteEvent
public class TagWriteEvent
TagWriteEvent is used to notify interested parties that a tag will be written. A TagWriteListener can control how the write operation is further processed with the dataWriteStatus property.
TagWriteEvent,
Serialized Form| Field Summary | |
|---|---|
static int |
NEXT_TAG
the next tag is written. |
static int |
WRITE_TAG
instructs JDT to write the tag as it is stored in the DicomObject (default) |
| Fields inherited from class java.util.EventObject |
|---|
source |
| Method Summary | |
|---|---|
DataElement |
getDataElement()
returns the Data Element that will be written |
int |
getDataWriteStatus()
returns the read status (one of WRITE_TAG, NEXT_TAG) |
DicomObject |
getDicomObject()
returns the DicomObject of the data element will be written. |
int |
getElement()
returns the element value of the tag will be written. |
int |
getGroup()
returns the group value of the tag that will be written. |
int |
getLength()
returns the length of the data portion of the tag will be written. |
long |
getOffset()
returns the offset of the current tag - before the first byte of the tag - starting from the beginning of the stream. |
java.io.OutputStream |
getOutputStream()
returns an outputstream positioned at the beginning of the header of the tag |
int |
getTag()
returns the DDict constant corresponding to the group,element pair of the data element that will be written. |
int |
getVRType()
returns the vr type of the tag will be written. |
boolean |
isStopWriting()
returns if writing to the stream should be stopped. |
void |
setDataWriteStatus(int dataWriteStatus)
sets the write status. |
void |
setStopWriting(boolean stopWriting)
sets whether the DicomWriter should stop writing tags after processing the current tag. |
| 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 |
| Field Detail |
|---|
public static final int WRITE_TAG
public static final int NEXT_TAG
| Method Detail |
|---|
public DicomObject getDicomObject()
public int getGroup()
public int getElement()
public int getTag()
public int getVRType()
public int getLength()
public java.io.OutputStream getOutputStream()
public DataElement getDataElement()
public int getDataWriteStatus()
WRITE_TAG, NEXT_TAG)
public void setDataWriteStatus(int dataWriteStatus)
dataWriteStatus - one of
public boolean isStopWriting()
public void setStopWriting(boolean stopWriting)
stopWriting - booleanpublic long getOffset()
|
Trispark JDT 2.50.13 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||