KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > imageio > plugins > gif > GIFImageMetadataFormatResources


1 /*
2  * @(#)GIFImageMetadataFormatResources.java 1.6 05/08/23
3  *
4  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7
8 package com.sun.imageio.plugins.gif;
9
10 import java.util.ListResourceBundle JavaDoc;
11
12 public class GIFImageMetadataFormatResources extends ListResourceBundle JavaDoc {
13
14     public GIFImageMetadataFormatResources() {}
15
16     protected Object JavaDoc[][] getContents() {
17         return new Object JavaDoc[][] {
18
19         // Node name, followed by description
20
{ "ImageDescriptor", "The image descriptor" },
21         { "LocalColorTable", "The local color table" },
22         { "ColorTableEntry", "A local color table entry" },
23         { "GraphicControlExtension", "A graphic control extension" },
24         { "PlainTextExtension", "A plain text (text grid) extension" },
25         { "ApplicationExtensions", "A set of application extensions" },
26         { "ApplicationExtension", "An application extension" },
27         { "CommentExtensions", "A set of comments" },
28         { "CommentExtension", "A comment" },
29
30         // Node name + "/" + AttributeName, followed by description
31
{ "ImageDescriptor/imageLeftPosition",
32           "The X offset of the image relative to the screen origin" },
33         { "ImageDescriptor/imageTopPosition",
34           "The Y offset of the image relative to the screen origin" },
35         { "ImageDescriptor/imageWidth",
36           "The width of the image" },
37         { "ImageDescriptor/imageHeight",
38           "The height of the image" },
39         { "ImageDescriptor/interlaceFlag",
40           "True if the image is stored using interlacing" },
41         { "LocalColorTable/sizeOfLocalColorTable",
42           "The number of entries in the local color table" },
43         { "LocalColorTable/sortFlag",
44           "True if the local color table is sorted by frequency" },
45         { "ColorTableEntry/index", "The index of the color table entry" },
46         { "ColorTableEntry/red",
47           "The red value for the color table entry" },
48         { "ColorTableEntry/green",
49           "The green value for the color table entry" },
50         { "ColorTableEntry/blue",
51           "The blue value for the color table entry" },
52         { "GraphicControlExtension/disposalMethod",
53           "The disposal method for this frame" },
54         { "GraphicControlExtension/userInputFlag",
55           "True if the frame should be advanced based on user input" },
56         { "GraphicControlExtension/transparentColorFlag",
57           "True if a transparent color exists" },
58         { "GraphicControlExtension/delayTime",
59           "The time to delay between frames, in hundredths of a second" },
60         { "GraphicControlExtension/transparentColorIndex",
61           "The transparent color, if transparentColorFlag is true" },
62         { "PlainTextExtension/textGridLeft",
63           "The X offset of the text grid" },
64         { "PlainTextExtension/textGridTop",
65           "The Y offset of the text grid" },
66         { "PlainTextExtension/textGridWidth",
67           "The number of columns in the text grid" },
68         { "PlainTextExtension/textGridHeight",
69           "The number of rows in the text grid" },
70         { "PlainTextExtension/characterCellWidth",
71           "The width of a character cell" },
72         { "PlainTextExtension/characterCellHeight",
73           "The height of a character cell" },
74         { "PlainTextExtension/textForegroundColor",
75           "The text foreground color index" },
76         { "PlainTextExtension/textBackgroundColor",
77           "The text background color index" },
78         { "ApplicationExtension/applicationID",
79           "The application ID" },
80         { "ApplicationExtension/authenticationCode",
81           "The authentication code" },
82         { "CommentExtension/value", "The comment" },
83
84         };
85     }
86 }
87
Popular Tags