blob: aa9697a8ee9ddcaca9c19dfed87fd7725cb60277 [file] [log] [blame]
/*
* Copyright (c) 2001, 2005, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package com.sun.imageio.plugins.gif;
import java.util.ListResourceBundle;
public class GIFImageMetadataFormatResources extends ListResourceBundle {
public GIFImageMetadataFormatResources() {}
protected Object[][] getContents() {
return new Object[][] {
// Node name, followed by description
{ "ImageDescriptor", "The image descriptor" },
{ "LocalColorTable", "The local color table" },
{ "ColorTableEntry", "A local color table entry" },
{ "GraphicControlExtension", "A graphic control extension" },
{ "PlainTextExtension", "A plain text (text grid) extension" },
{ "ApplicationExtensions", "A set of application extensions" },
{ "ApplicationExtension", "An application extension" },
{ "CommentExtensions", "A set of comments" },
{ "CommentExtension", "A comment" },
// Node name + "/" + AttributeName, followed by description
{ "ImageDescriptor/imageLeftPosition",
"The X offset of the image relative to the screen origin" },
{ "ImageDescriptor/imageTopPosition",
"The Y offset of the image relative to the screen origin" },
{ "ImageDescriptor/imageWidth",
"The width of the image" },
{ "ImageDescriptor/imageHeight",
"The height of the image" },
{ "ImageDescriptor/interlaceFlag",
"True if the image is stored using interlacing" },
{ "LocalColorTable/sizeOfLocalColorTable",
"The number of entries in the local color table" },
{ "LocalColorTable/sortFlag",
"True if the local color table is sorted by frequency" },
{ "ColorTableEntry/index", "The index of the color table entry" },
{ "ColorTableEntry/red",
"The red value for the color table entry" },
{ "ColorTableEntry/green",
"The green value for the color table entry" },
{ "ColorTableEntry/blue",
"The blue value for the color table entry" },
{ "GraphicControlExtension/disposalMethod",
"The disposal method for this frame" },
{ "GraphicControlExtension/userInputFlag",
"True if the frame should be advanced based on user input" },
{ "GraphicControlExtension/transparentColorFlag",
"True if a transparent color exists" },
{ "GraphicControlExtension/delayTime",
"The time to delay between frames, in hundredths of a second" },
{ "GraphicControlExtension/transparentColorIndex",
"The transparent color, if transparentColorFlag is true" },
{ "PlainTextExtension/textGridLeft",
"The X offset of the text grid" },
{ "PlainTextExtension/textGridTop",
"The Y offset of the text grid" },
{ "PlainTextExtension/textGridWidth",
"The number of columns in the text grid" },
{ "PlainTextExtension/textGridHeight",
"The number of rows in the text grid" },
{ "PlainTextExtension/characterCellWidth",
"The width of a character cell" },
{ "PlainTextExtension/characterCellHeight",
"The height of a character cell" },
{ "PlainTextExtension/textForegroundColor",
"The text foreground color index" },
{ "PlainTextExtension/textBackgroundColor",
"The text background color index" },
{ "ApplicationExtension/applicationID",
"The application ID" },
{ "ApplicationExtension/authenticationCode",
"The authentication code" },
{ "CommentExtension/value", "The comment" },
};
}
}