rebuild.graphics.tiff.tags
Class SLongTag

java.lang.Object
  extended by rebuild.graphics.tiff.Tag
      extended by rebuild.graphics.tiff.tags.LongTag
          extended by rebuild.graphics.tiff.tags.SLongTag

public class SLongTag
extends LongTag

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

Since:
BBX 1.0.1

Field Summary
 
Fields inherited from class rebuild.graphics.tiff.Tag
count, data, dataType, value
 
Constructor Summary
SLongTag(short tag)
          Create a new SLongTag.
SLongTag(short tag, int val)
          Create a new SLongTag.
SLongTag(short tag, int[] val)
          Create a new SLongTag.
 
Method Summary
 int getSLong(int index)
          Get a Writer.SLONG at the specified index.
 void setSLong(int index, int val)
          Set a Writer.SLONG at the specified index.
 
Methods inherited from class rebuild.graphics.tiff.tags.LongTag
extraData, getLong, hasDefault, isDefault, setCount, setDataType, setExtraData, setLong, 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

SLongTag

public SLongTag(short tag)
Create a new SLongTag.

Parameters:
tag - The tag value.

SLongTag

public SLongTag(short tag,
                int val)
Create a new SLongTag.

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

SLongTag

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

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

getSLong

public final int getSLong(int index)
Get a Writer.SLONG at the specified index.

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

setSLong

public final void setSLong(int index,
                           int val)
Set a Writer.SLONG at the specified index.

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