rebuild.graphics.tiff.tags
Class SShortTag

java.lang.Object
  extended by rebuild.graphics.tiff.Tag
      extended by rebuild.graphics.tiff.tags.ShortTag
          extended by rebuild.graphics.tiff.tags.SShortTag

public class SShortTag
extends ShortTag

A tag that contains one or more Writer.SSHORT items.

Since:
BBX 1.0.1

Field Summary
 
Fields inherited from class rebuild.graphics.tiff.Tag
count, data, dataType, value
 
Constructor Summary
SShortTag(short tag)
          Create a new SShortTag.
SShortTag(short tag, short val)
          Create a new SShortTag.
SShortTag(short tag, short[] val)
          Create a new SShortTag.
 
Method Summary
 short getSShort(int index)
          Get a Writer.SSHORT at the specified index.
 void setSShort(int index, short val)
          Set a Writer.SSHORT at the specified index.
 
Methods inherited from class rebuild.graphics.tiff.tags.ShortTag
extraData, getShort, hasDefault, isDefault, setCount, setDataType, setExtraData, setShort, setupForBigTIFF, writeData
 
Methods inherited from class rebuild.graphics.tiff.Tag
equals, getBigCount, getBigValue, getCount, getDataType, getExtraData, getIfExtraDataExists, getTagType, getTagTypeValue, getValue, hashCode, setCount, setValue, setValue, toString, write, write, write, write, writeBig
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SShortTag

public SShortTag(short tag)
Create a new SShortTag.

Parameters:
tag - The tag value.

SShortTag

public SShortTag(short tag,
                 short val)
Create a new SShortTag.

Parameters:
tag - The tag value.
val - The value the tag should store.

SShortTag

public SShortTag(short tag,
                 short[] val)
Create a new SShortTag.

Parameters:
tag - The tag value.
val - The values the tag should store.
Method Detail

getSShort

public final short getSShort(int index)
Get a Writer.SSHORT at the specified index.

Parameters:
index - The index to get the Writer.SSHORT.
Returns:
The Writer.SSHORT at the specified index.

setSShort

public final void setSShort(int index,
                            short val)
Set a Writer.SSHORT at the specified index.

Parameters:
index - The index to set the Writer.SSHORT.
val - The Writer.SSHORT to set at the specified index.