001/* 002 * $RCSfile: GIFImageMetadataFormatResources.java,v $ 003 * 004 * 005 * Copyright (c) 2005 Sun Microsystems, Inc. All Rights Reserved. 006 * 007 * Redistribution and use in source and binary forms, with or without 008 * modification, are permitted provided that the following conditions 009 * are met: 010 * 011 * - Redistribution of source code must retain the above copyright 012 * notice, this list of conditions and the following disclaimer. 013 * 014 * - Redistribution in binary form must reproduce the above copyright 015 * notice, this list of conditions and the following disclaimer in 016 * the documentation and/or other materials provided with the 017 * distribution. 018 * 019 * Neither the name of Sun Microsystems, Inc. or the names of 020 * contributors may be used to endorse or promote products derived 021 * from this software without specific prior written permission. 022 * 023 * This software is provided "AS IS," without a warranty of any 024 * kind. ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND 025 * WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, 026 * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY 027 * EXCLUDED. SUN MIDROSYSTEMS, INC. ("SUN") AND ITS LICENSORS SHALL 028 * NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF 029 * USING, MODIFYING OR DISTRIBUTING THIS SOFTWARE OR ITS 030 * DERIVATIVES. IN NO EVENT WILL SUN OR ITS LICENSORS BE LIABLE FOR 031 * ANY LOST REVENUE, PROFIT OR DATA, OR FOR DIRECT, INDIRECT, SPECIAL, 032 * CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER CAUSED AND 033 * REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF THE USE OF OR 034 * INABILITY TO USE THIS SOFTWARE, EVEN IF SUN HAS BEEN ADVISED OF THE 035 * POSSIBILITY OF SUCH DAMAGES. 036 * 037 * You acknowledge that this software is not designed or intended for 038 * use in the design, construction, operation or maintenance of any 039 * nuclear facility. 040 * 041 * $Revision: 1.1 $ 042 * $Date: 2006/03/24 22:30:10 $ 043 * $State: Exp $ 044 */ 045 046package com.github.jaiimageio.impl.plugins.gif; 047 048import java.util.ListResourceBundle; 049 050public class GIFImageMetadataFormatResources extends ListResourceBundle { 051 052 public GIFImageMetadataFormatResources() {} 053 054 protected Object[][] getContents() { 055 return new Object[][] { 056 057 // Node name, followed by description 058 { "ImageDescriptor", "The image descriptor" }, 059 { "LocalColorTable", "The local color table" }, 060 { "ColorTableEntry", "A local color table entry" }, 061 { "GraphicControlExtension", "A graphic control extension" }, 062 { "PlainTextExtension", "A plain text (text grid) extension" }, 063 { "ApplicationExtensions", "A set of application extensions" }, 064 { "ApplicationExtension", "An application extension" }, 065 { "CommentExtensions", "A set of comments" }, 066 { "CommentExtension", "A comment" }, 067 068 // Node name + "/" + AttributeName, followed by description 069 { "ImageDescriptor/imageLeftPosition", 070 "The X offset of the image relative to the screen origin" }, 071 { "ImageDescriptor/imageTopPosition", 072 "The Y offset of the image relative to the screen origin" }, 073 { "ImageDescriptor/imageWidth", 074 "The width of the image" }, 075 { "ImageDescriptor/imageHeight", 076 "The height of the image" }, 077 { "ImageDescriptor/interlaceFlag", 078 "True if the image is stored using interlacing" }, 079 { "LocalColorTable/sizeOfLocalColorTable", 080 "The number of entries in the local color table" }, 081 { "LocalColorTable/sortFlag", 082 "True if the local color table is sorted by frequency" }, 083 { "ColorTableEntry/index", "The index of the color table entry" }, 084 { "ColorTableEntry/red", 085 "The red value for the color table entry" }, 086 { "ColorTableEntry/green", 087 "The green value for the color table entry" }, 088 { "ColorTableEntry/blue", 089 "The blue value for the color table entry" }, 090 { "GraphicControlExtension/disposalMethod", 091 "The disposal method for this frame" }, 092 { "GraphicControlExtension/userInputFlag", 093 "True if the frame should be advanced based on user input" }, 094 { "GraphicControlExtension/transparentColorFlag", 095 "True if a transparent color exists" }, 096 { "GraphicControlExtension/delayTime", 097 "The time to delay between frames, in hundredths of a second" }, 098 { "GraphicControlExtension/transparentColorIndex", 099 "The transparent color, if transparentColorFlag is true" }, 100 { "PlainTextExtension/textGridLeft", 101 "The X offset of the text grid" }, 102 { "PlainTextExtension/textGridTop", 103 "The Y offset of the text grid" }, 104 { "PlainTextExtension/textGridWidth", 105 "The number of columns in the text grid" }, 106 { "PlainTextExtension/textGridHeight", 107 "The number of rows in the text grid" }, 108 { "PlainTextExtension/characterCellWidth", 109 "The width of a character cell" }, 110 { "PlainTextExtension/characterCellHeight", 111 "The height of a character cell" }, 112 { "PlainTextExtension/textForegroundColor", 113 "The text foreground color index" }, 114 { "PlainTextExtension/textBackgroundColor", 115 "The text background color index" }, 116 { "ApplicationExtension/applicationID", 117 "The application ID" }, 118 { "ApplicationExtension/authenticationCode", 119 "The authentication code" }, 120 { "CommentExtension/value", "The comment" }, 121 122 }; 123 } 124}