rebuild.graphics.tiff.tags
Class SLong8Tag

java.lang.Object
  extended by rebuild.graphics.tiff.Tag
      extended by rebuild.graphics.tiff.tags.Long8Tag
          extended by rebuild.graphics.tiff.tags.SLong8Tag

public class SLong8Tag
extends Long8Tag

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

Since:
BBX 1.0.1

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

SLong8Tag

public SLong8Tag(short tag)
Create a new SLong8Tag.

Parameters:
tag - The tag value.

SLong8Tag

public SLong8Tag(short tag,
                 long val)
Create a new SLong8Tag.

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

SLong8Tag

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

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

getSLong

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

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

setSLong

public final void setSLong(int index,
                           long 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.