public class GIFImageMetadata
extends javax.imageio.metadata.IIOMetadata
Modifier and Type | Field and Description |
---|---|
java.util.List |
applicationData |
java.util.List |
applicationIDs |
java.util.List |
authenticationCodes |
int |
characterCellHeight |
int |
characterCellWidth |
java.util.List |
comments |
int |
delayTime |
int |
disposalMethod |
boolean |
hasPlainTextExtension |
int |
imageHeight |
int |
imageLeftPosition |
int |
imageTopPosition |
int |
imageWidth |
boolean |
interlaceFlag |
byte[] |
localColorTable |
boolean |
sortFlag |
byte[] |
text |
int |
textBackgroundColor |
int |
textForegroundColor |
int |
textGridHeight |
int |
textGridLeft |
int |
textGridTop |
int |
textGridWidth |
boolean |
transparentColorFlag |
int |
transparentColorIndex |
boolean |
userInputFlag |
Modifier | Constructor and Description |
---|---|
|
GIFImageMetadata() |
protected |
GIFImageMetadata(boolean standardMetadataFormatSupported,
java.lang.String nativeMetadataFormatName,
java.lang.String nativeMetadataFormatClassName,
java.lang.String[] extraMetadataFormatNames,
java.lang.String[] extraMetadataFormatClassNames) |
Modifier and Type | Method and Description |
---|---|
protected static void |
fatal(org.w3c.dom.Node node,
java.lang.String reason) |
org.w3c.dom.Node |
getAsTree(java.lang.String formatName) |
protected static java.lang.String |
getAttribute(org.w3c.dom.Node node,
java.lang.String name) |
protected static java.lang.String |
getAttribute(org.w3c.dom.Node node,
java.lang.String name,
java.lang.String defaultValue,
boolean required) |
protected static boolean |
getBooleanAttribute(org.w3c.dom.Node node,
java.lang.String name) |
protected static boolean |
getBooleanAttribute(org.w3c.dom.Node node,
java.lang.String name,
boolean defaultValue,
boolean required) |
protected byte[] |
getColorTable(org.w3c.dom.Node colorTableNode,
java.lang.String entryNodeName,
boolean lengthExpected,
int expectedLength) |
protected static int |
getEnumeratedAttribute(org.w3c.dom.Node node,
java.lang.String name,
java.lang.String[] legalNames) |
protected static int |
getEnumeratedAttribute(org.w3c.dom.Node node,
java.lang.String name,
java.lang.String[] legalNames,
int defaultValue,
boolean required) |
protected static float |
getFloatAttribute(org.w3c.dom.Node node,
java.lang.String name) |
protected static float |
getFloatAttribute(org.w3c.dom.Node node,
java.lang.String name,
float defaultValue,
boolean required) |
protected static int |
getIntAttribute(org.w3c.dom.Node node,
java.lang.String name,
boolean bounded,
int min,
int max) |
protected static int |
getIntAttribute(org.w3c.dom.Node node,
java.lang.String name,
int defaultValue,
boolean required,
boolean bounded,
int min,
int max) |
javax.imageio.metadata.IIOMetadataNode |
getStandardChromaNode() |
javax.imageio.metadata.IIOMetadataNode |
getStandardCompressionNode() |
javax.imageio.metadata.IIOMetadataNode |
getStandardDataNode() |
javax.imageio.metadata.IIOMetadataNode |
getStandardDimensionNode() |
javax.imageio.metadata.IIOMetadataNode |
getStandardTextNode() |
javax.imageio.metadata.IIOMetadataNode |
getStandardTransparencyNode() |
protected static java.lang.String |
getStringAttribute(org.w3c.dom.Node node,
java.lang.String name,
java.lang.String defaultValue,
boolean required,
java.lang.String[] range) |
boolean |
isReadOnly() |
protected void |
mergeNativeTree(org.w3c.dom.Node root) |
protected void |
mergeStandardTree(org.w3c.dom.Node root) |
void |
mergeTree(java.lang.String formatName,
org.w3c.dom.Node root) |
void |
reset() |
void |
setFromTree(java.lang.String formatName,
org.w3c.dom.Node root) |
activateController, getController, getDefaultController, getExtraMetadataFormatNames, getMetadataFormat, getMetadataFormatNames, getNativeMetadataFormatName, getStandardDocumentNode, getStandardTileNode, getStandardTree, hasController, isStandardMetadataFormatSupported, setController
public int imageLeftPosition
public int imageTopPosition
public int imageWidth
public int imageHeight
public boolean interlaceFlag
public boolean sortFlag
public byte[] localColorTable
public int disposalMethod
public boolean userInputFlag
public boolean transparentColorFlag
public int delayTime
public int transparentColorIndex
public boolean hasPlainTextExtension
public int textGridLeft
public int textGridTop
public int textGridWidth
public int textGridHeight
public int characterCellWidth
public int characterCellHeight
public int textForegroundColor
public int textBackgroundColor
public byte[] text
public java.util.List applicationIDs
public java.util.List authenticationCodes
public java.util.List applicationData
public java.util.List comments
protected GIFImageMetadata(boolean standardMetadataFormatSupported, java.lang.String nativeMetadataFormatName, java.lang.String nativeMetadataFormatClassName, java.lang.String[] extraMetadataFormatNames, java.lang.String[] extraMetadataFormatClassNames)
public GIFImageMetadata()
public boolean isReadOnly()
isReadOnly
in class javax.imageio.metadata.IIOMetadata
public org.w3c.dom.Node getAsTree(java.lang.String formatName)
getAsTree
in class javax.imageio.metadata.IIOMetadata
public javax.imageio.metadata.IIOMetadataNode getStandardChromaNode()
getStandardChromaNode
in class javax.imageio.metadata.IIOMetadata
public javax.imageio.metadata.IIOMetadataNode getStandardCompressionNode()
getStandardCompressionNode
in class javax.imageio.metadata.IIOMetadata
public javax.imageio.metadata.IIOMetadataNode getStandardDataNode()
getStandardDataNode
in class javax.imageio.metadata.IIOMetadata
public javax.imageio.metadata.IIOMetadataNode getStandardDimensionNode()
getStandardDimensionNode
in class javax.imageio.metadata.IIOMetadata
public javax.imageio.metadata.IIOMetadataNode getStandardTextNode()
getStandardTextNode
in class javax.imageio.metadata.IIOMetadata
public javax.imageio.metadata.IIOMetadataNode getStandardTransparencyNode()
getStandardTransparencyNode
in class javax.imageio.metadata.IIOMetadata
public void setFromTree(java.lang.String formatName, org.w3c.dom.Node root) throws javax.imageio.metadata.IIOInvalidTreeException
setFromTree
in class javax.imageio.metadata.IIOMetadata
javax.imageio.metadata.IIOInvalidTreeException
protected void mergeNativeTree(org.w3c.dom.Node root) throws javax.imageio.metadata.IIOInvalidTreeException
javax.imageio.metadata.IIOInvalidTreeException
protected void mergeStandardTree(org.w3c.dom.Node root) throws javax.imageio.metadata.IIOInvalidTreeException
javax.imageio.metadata.IIOInvalidTreeException
public void reset()
reset
in class javax.imageio.metadata.IIOMetadata
protected static void fatal(org.w3c.dom.Node node, java.lang.String reason) throws javax.imageio.metadata.IIOInvalidTreeException
javax.imageio.metadata.IIOInvalidTreeException
protected static java.lang.String getStringAttribute(org.w3c.dom.Node node, java.lang.String name, java.lang.String defaultValue, boolean required, java.lang.String[] range) throws javax.imageio.metadata.IIOInvalidTreeException
javax.imageio.metadata.IIOInvalidTreeException
protected static int getIntAttribute(org.w3c.dom.Node node, java.lang.String name, int defaultValue, boolean required, boolean bounded, int min, int max) throws javax.imageio.metadata.IIOInvalidTreeException
javax.imageio.metadata.IIOInvalidTreeException
protected static float getFloatAttribute(org.w3c.dom.Node node, java.lang.String name, float defaultValue, boolean required) throws javax.imageio.metadata.IIOInvalidTreeException
javax.imageio.metadata.IIOInvalidTreeException
protected static int getIntAttribute(org.w3c.dom.Node node, java.lang.String name, boolean bounded, int min, int max) throws javax.imageio.metadata.IIOInvalidTreeException
javax.imageio.metadata.IIOInvalidTreeException
protected static float getFloatAttribute(org.w3c.dom.Node node, java.lang.String name) throws javax.imageio.metadata.IIOInvalidTreeException
javax.imageio.metadata.IIOInvalidTreeException
protected static boolean getBooleanAttribute(org.w3c.dom.Node node, java.lang.String name, boolean defaultValue, boolean required) throws javax.imageio.metadata.IIOInvalidTreeException
javax.imageio.metadata.IIOInvalidTreeException
protected static boolean getBooleanAttribute(org.w3c.dom.Node node, java.lang.String name) throws javax.imageio.metadata.IIOInvalidTreeException
javax.imageio.metadata.IIOInvalidTreeException
protected static int getEnumeratedAttribute(org.w3c.dom.Node node, java.lang.String name, java.lang.String[] legalNames, int defaultValue, boolean required) throws javax.imageio.metadata.IIOInvalidTreeException
javax.imageio.metadata.IIOInvalidTreeException
protected static int getEnumeratedAttribute(org.w3c.dom.Node node, java.lang.String name, java.lang.String[] legalNames) throws javax.imageio.metadata.IIOInvalidTreeException
javax.imageio.metadata.IIOInvalidTreeException
protected static java.lang.String getAttribute(org.w3c.dom.Node node, java.lang.String name, java.lang.String defaultValue, boolean required) throws javax.imageio.metadata.IIOInvalidTreeException
javax.imageio.metadata.IIOInvalidTreeException
protected static java.lang.String getAttribute(org.w3c.dom.Node node, java.lang.String name) throws javax.imageio.metadata.IIOInvalidTreeException
javax.imageio.metadata.IIOInvalidTreeException
public void mergeTree(java.lang.String formatName, org.w3c.dom.Node root) throws javax.imageio.metadata.IIOInvalidTreeException
mergeTree
in class javax.imageio.metadata.IIOMetadata
javax.imageio.metadata.IIOInvalidTreeException
protected byte[] getColorTable(org.w3c.dom.Node colorTableNode, java.lang.String entryNodeName, boolean lengthExpected, int expectedLength) throws javax.imageio.metadata.IIOInvalidTreeException
javax.imageio.metadata.IIOInvalidTreeException
Copyright © 2014 Open Microscopy Environment