Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- ABSOLUTE_PATH_AND_NO_DOCUMENT_ROOT - Enum constant in enum org.carrot2.labs.smartsprites.message.Message.MessageType
-
The absolute path and no document root.
- add(Message) - Method in class org.carrot2.labs.smartsprites.message.LevelCounterMessageSink
- add(Message) - Method in class org.carrot2.labs.smartsprites.message.MemoryMessageSink
- add(Message) - Method in interface org.carrot2.labs.smartsprites.message.MessageSink
-
Adds a
Message
for further processing/ retrieval. - add(Message) - Method in class org.carrot2.labs.smartsprites.message.PrintStreamMessageSink
- addConfiguredFileset(FileSet) - Method in class org.carrot2.labs.smartsprites.ant.SmartSpritesTask
-
Adds the configured fileset.
- addMessageSink(MessageSink) - Method in class org.carrot2.labs.smartsprites.message.MessageLog
-
Adds a
MessageSink
to this log. - alignment - Variable in class org.carrot2.labs.smartsprites.SpriteLayoutProperties
-
Alignment of this individual image.
- ALPHA_CHANNEL_LOSS_IN_INDEXED_COLOR - Enum constant in enum org.carrot2.labs.smartsprites.message.Message.MessageType
-
The alpha channel loss in indexed color.
- amd - package amd
-
Color quantization utilities.
- arguments - Variable in class org.carrot2.labs.smartsprites.message.Message
-
Additional arguments to this message, used to format the human-readable string.
- AUTO - Enum constant in enum org.carrot2.labs.smartsprites.SmartSpritesParameters.PngDepth
-
The auto.
B
- BOTTOM - Enum constant in enum org.carrot2.labs.smartsprites.SpriteLayoutProperties.SpriteAlignment
-
To the bottom edge of a horizontal sprite.
- BufferedImageUtils - Class in org.carrot2.util
-
Various utility methods for working with
BufferedImage
s. - buildReplacement(SpriteImageDirective.SpriteImageLayout, int) - Method in class org.carrot2.labs.smartsprites.SpriteReferenceOccurrence
-
Returns the
SpriteReferenceReplacement
corresponding to the occurrence, taking into account the layout the the enclosing sprite and the offset at which the individual image was rendered. - buildSprites() - Method in class org.carrot2.labs.smartsprites.SpriteBuilder
-
Performs processing for this builder's parameters.
- buildSprites(Collection<String>) - Method in class org.carrot2.labs.smartsprites.SpriteBuilder
-
Performs processing from the list of file paths for this builder's parameters.
C
- CANNOT_CREATE_DIRECTORIES - Enum constant in enum org.carrot2.labs.smartsprites.message.Message.MessageType
-
The cannot create directories.
- CANNOT_DETERMINE_IMAGE_FORMAT - Enum constant in enum org.carrot2.labs.smartsprites.message.Message.MessageType
-
The cannot determine image format.
- CANNOT_NOT_LOAD_IMAGE - Enum constant in enum org.carrot2.labs.smartsprites.message.Message.MessageType
-
The cannot not load image.
- CANNOT_PARSE_MARGIN_VALUE - Enum constant in enum org.carrot2.labs.smartsprites.message.Message.MessageType
-
The cannot parse margin value.
- CANNOT_WRITE_SPRITE_IMAGE - Enum constant in enum org.carrot2.labs.smartsprites.message.Message.MessageType
-
The cannot write sprite image.
- canonicalize(String, String) - Static method in class org.carrot2.util.FileUtils
-
Removes useless segments in relative paths, e.g.
- canReduceWithoutQualityLoss() - Method in class org.carrot2.util.ColorQuantizer.ColorReductionInfo
-
Returns true if the image can be saved in a 8-bit indexed color format with 1-bit transparency without quality loss.
- CENTER - Enum constant in enum org.carrot2.labs.smartsprites.SpriteLayoutProperties.SpriteAlignment
-
To the center of a vertical or horizontal sprite.
- changeRoot(String, String, String) - Static method in class org.carrot2.util.FileUtils
-
Changes the root directory of a file.
- CollectionUtils - Class in org.carrot2.util
-
Various utility methods for working with
Collection
s. - ColorQuantizer - Class in org.carrot2.util
-
A simple utility wrapping the
Quantize
class to work onBufferedImage
s and handle transparency. - ColorQuantizer.ColorReductionInfo - Class in org.carrot2.util
-
Indicates how many distinct colors an image has, whether it has partial transparency (alpha channel).
- ColorReductionInfo(boolean, int) - Constructor for class org.carrot2.util.ColorQuantizer.ColorReductionInfo
-
Instantiates a new color reduction info.
- COMPARATOR - Static variable in enum org.carrot2.labs.smartsprites.message.Message.MessageLevel
-
The Constant COMPARATOR.
- countDistinctColors(BufferedImage) - Static method in class org.carrot2.util.BufferedImageUtils
-
Returns the number of distinct colors (excluding transparency) in the
image
. - CREATING_CSS_STYLE_SHEET - Enum constant in enum org.carrot2.labs.smartsprites.message.Message.MessageType
-
The creating css style sheet.
- CSS_FILE_DOES_NOT_EXIST - Enum constant in enum org.carrot2.labs.smartsprites.message.Message.MessageType
-
The css file does not exist.
- CSS_FILE_SUFFIX_IS_REQUIRED_IF_NO_OUTPUT_DIR - Enum constant in enum org.carrot2.labs.smartsprites.message.Message.MessageType
-
The css file suffix is required if no output dir.
- CSS_PATH_IS_NOT_A_FILE - Enum constant in enum org.carrot2.labs.smartsprites.message.Message.MessageType
-
The css path is not a file.
- cssFile - Variable in class org.carrot2.labs.smartsprites.SpriteDirectiveOccurrence
-
CSS file in which this directive was found.
- cssPath - Variable in class org.carrot2.labs.smartsprites.message.Message
-
CSS file to which this message refers or
null
. - CssProperty - Class in org.carrot2.labs.smartsprites.css
-
Represents a single CSS property and its value, e.g.
- CssProperty(String, String) - Constructor for class org.carrot2.labs.smartsprites.css.CssProperty
-
Instantiates a new css property.
- CssProperty(String, String, boolean) - Constructor for class org.carrot2.labs.smartsprites.css.CssProperty
-
Instantiates a new css property.
- CssSyntaxUtils - Class in org.carrot2.labs.smartsprites.css
-
A few utility methods for processing CSS syntax.
D
- DATE - Enum constant in enum org.carrot2.labs.smartsprites.SpriteImageDirective.SpriteUidType
-
Append current timestamp as long.
- DEFAULT_CSS_FILE_ENCODING - Static variable in class org.carrot2.labs.smartsprites.SmartSpritesParameters
-
By default, we'll assume CSS files are UTF-8 encoded.
- DEFAULT_CSS_FILE_SUFFIX - Static variable in class org.carrot2.labs.smartsprites.SmartSpritesParameters
-
The default suffix to be added to the generated CSS files.
- DEFAULT_LOGGING_LEVEL - Static variable in class org.carrot2.labs.smartsprites.SmartSpritesParameters
-
The default logging level.
- DEFAULT_MARK_SPRITE_IMAGES - Static variable in class org.carrot2.labs.smartsprites.SmartSpritesParameters
-
By default, we don't generate sprite directive in output css.
- DEFAULT_SPRITE_PNG_DEPTH - Static variable in class org.carrot2.labs.smartsprites.SmartSpritesParameters
-
By default, we use full color only when necessary.
- deleteThrowingExceptions(File...) - Static method in class org.carrot2.util.FileUtils
-
Attempts to delete the provided files and throws an
IOException
in caseFile.delete()
returnsfalse
for any of them. - DEPRECATED_SPRITE_IMAGE_UID - Enum constant in enum org.carrot2.labs.smartsprites.message.Message.MessageType
-
The deprecated sprite image uid.
- deprecation(Message.MessageType, Object...) - Method in class org.carrot2.labs.smartsprites.message.MessageLog
-
Logs a warning message to this log.
- DEPRECATION - Enum constant in enum org.carrot2.labs.smartsprites.message.Message.MessageLevel
-
Notice messages related to deprecated features.
- DIRECT - Enum constant in enum org.carrot2.labs.smartsprites.SmartSpritesParameters.PngDepth
-
The direct.
- distinctColors - Variable in class org.carrot2.util.ColorQuantizer.ColorReductionInfo
-
Number of distinct colors in the image.
- DOCUMENT_ROOT_DIR_DOES_NOT_EXIST_OR_IS_NOT_DIRECTORY - Enum constant in enum org.carrot2.labs.smartsprites.message.Message.MessageType
-
The document root dir does not exist or is not directory.
- drawImage(BufferedImage, BufferedImage, int, int) - Static method in class org.carrot2.util.BufferedImageUtils
-
Draws
image
on thecanvas
placing the top left corner ofimage
atx
/y
offset from the top left corner ofcanvas
.
E
- EITHER_ROOT_DIR_OR_CSS_FILES_IS_REQUIRED - Enum constant in enum org.carrot2.labs.smartsprites.message.Message.MessageType
-
The either root dir or css files is required.
- EnumUtils - Class in org.carrot2.util
-
Various utility methods for working with Java 5 enum types.
- error(Message.MessageType, Object...) - Static method in class org.carrot2.labs.smartsprites.message.Message
-
Error.
- error(Message.MessageType, Object...) - Method in class org.carrot2.labs.smartsprites.message.MessageLog
-
Logs an error message to this log.
- ERROR - Enum constant in enum org.carrot2.labs.smartsprites.message.Message.MessageLevel
-
Error messages, SmartSprites cannot perform processing.
- execute() - Method in class org.carrot2.labs.smartsprites.ant.SmartSpritesTask
- extractProperties(String) - Static method in class org.carrot2.labs.smartsprites.css.CssSyntaxUtils
-
Extracts CSS properties from the provided
String
. - extractRules(String, MessageLog) - Static method in class org.carrot2.labs.smartsprites.css.CssSyntaxUtils
-
Extracts CSS properties from the provided
String
and logs warnings to the providedMessageLog
.
F
- FileSystemResourceHandler - Class in org.carrot2.labs.smartsprites.resource
-
This class defines the resource handler which manage resources from the file system.
- FileSystemResourceHandler(String, String, MessageLog) - Constructor for class org.carrot2.labs.smartsprites.resource.FileSystemResourceHandler
-
Creates a new
FileSystemResourceHandler
. - FileUtils - Class in org.carrot2.util
-
Various utility methods for working with
File
s. - format - Variable in class org.carrot2.labs.smartsprites.SpriteImageDirective
-
Format of this sprite image.
- FRACTIONAL_SCALE_VALUE - Enum constant in enum org.carrot2.labs.smartsprites.message.Message.MessageType
-
The fractional scale value.
G
- GENERIC - Enum constant in enum org.carrot2.labs.smartsprites.message.Message.MessageType
-
The generic.
- getCanonicalOrAbsoluteFile(String) - Static method in class org.carrot2.util.FileUtils
-
Creates a new
File
from the provided path and attempts to executeFile.getCanonicalFile()
. - getColorReductionInfo(BufferedImage) - Static method in class org.carrot2.util.ColorQuantizer
-
Returns a
ColorQuantizer.ColorReductionInfo
for the provided image. - getCssFileEncoding() - Method in class org.carrot2.labs.smartsprites.SmartSpritesParameters
-
Gets the css file encoding.
- getCssFiles() - Method in class org.carrot2.labs.smartsprites.SmartSpritesParameters
-
Gets the css files.
- getCssFileSuffix() - Method in class org.carrot2.labs.smartsprites.SmartSpritesParameters
-
Gets the css file suffix.
- getDistinctColors(BufferedImage) - Static method in class org.carrot2.util.BufferedImageUtils
-
Returns the
image
's distinct colors in an RGB format, discarding transparency information. - getDistinctColors(BufferedImage, int) - Static method in class org.carrot2.util.BufferedImageUtils
-
Returns the
image
's distinct colors in an RGB format, discarding transparency information. - getDocumentRootDir() - Method in class org.carrot2.labs.smartsprites.SmartSpritesParameters
-
Gets the document root dir.
- getFormattedMessage() - Method in class org.carrot2.labs.smartsprites.message.Message
-
Gets the formatted message.
- getInfoCount() - Method in class org.carrot2.labs.smartsprites.message.LevelCounterMessageSink
-
Gets the info count.
- getLogLevel() - Method in class org.carrot2.labs.smartsprites.SmartSpritesParameters
-
Gets the log level.
- getOutputDir() - Method in class org.carrot2.labs.smartsprites.SmartSpritesParameters
-
Gets the output dir.
- getRelativeFilePath(String, String) - Static method in class org.carrot2.util.PathUtils
-
This method can calculate the relative path between two pathes on a file system.
- getRequiredHeight(BufferedImage, SpriteImageDirective.SpriteImageLayout) - Method in class org.carrot2.labs.smartsprites.SpriteReferenceOccurrence
-
Computes the minimum height the individual image will need when rendering.
- getRequiredWidth(BufferedImage, SpriteImageDirective.SpriteImageLayout) - Method in class org.carrot2.labs.smartsprites.SpriteReferenceOccurrence
-
Computes the minimum width the individual image will need when rendering.
- getResourceAsInputStream(String) - Method in class org.carrot2.labs.smartsprites.resource.FileSystemResourceHandler
- getResourceAsInputStream(String) - Method in interface org.carrot2.labs.smartsprites.resource.ResourceHandler
-
Returns the resource input stream for the provided path.
- getResourceAsOutputStream(String) - Method in class org.carrot2.labs.smartsprites.resource.FileSystemResourceHandler
- getResourceAsOutputStream(String) - Method in interface org.carrot2.labs.smartsprites.resource.ResourceHandler
-
Returns the resource output stream for the provided path.
- getResourceAsReader(String) - Method in class org.carrot2.labs.smartsprites.resource.FileSystemResourceHandler
- getResourceAsReader(String) - Method in interface org.carrot2.labs.smartsprites.resource.ResourceHandler
-
Returns the reader for the provided path.
- getResourceAsWriter(String) - Method in class org.carrot2.labs.smartsprites.resource.FileSystemResourceHandler
- getResourceAsWriter(String) - Method in interface org.carrot2.labs.smartsprites.resource.ResourceHandler
-
Returns the writer for the provided path.
- getResourcePath(String, String) - Method in class org.carrot2.labs.smartsprites.resource.FileSystemResourceHandler
-
This implementation detects if the resource path starts with a "/" and resolves such resources against the provided
SmartSpritesParameters.getDocumentRootDir()
directory. - getResourcePath(String, String) - Method in interface org.carrot2.labs.smartsprites.resource.ResourceHandler
-
Builds a resource path relative to a CSS file resource path.
- getRgb(BufferedImage) - Static method in class org.carrot2.util.BufferedImageUtils
-
Returns a two dimensional array of the
image
's RGB values, including transparency. - getRootDir() - Method in class org.carrot2.labs.smartsprites.SmartSpritesParameters
-
Gets the root dir.
- getRootDirFile() - Method in class org.carrot2.labs.smartsprites.SmartSpritesParameters
-
Gets the root dir file.
- getSpritePngDepth() - Method in class org.carrot2.labs.smartsprites.SmartSpritesParameters
-
Gets the sprite png depth.
- getText() - Method in enum org.carrot2.labs.smartsprites.message.Message.MessageType
-
Returns a human readable version of this message.
- getValue(String) - Static method in enum org.carrot2.labs.smartsprites.SpriteImageDirective.SpriteImageFormat
-
Gets the value.
- getValue(String) - Static method in enum org.carrot2.labs.smartsprites.SpriteLayoutProperties.SpriteAlignment
-
Gets the value.
- getValue(Map<String, CssProperty>, String) - Static method in class org.carrot2.labs.smartsprites.css.CssSyntaxUtils
-
Returns the value of a CSS property if it exists,
null
otherwise. - getWarnCount() - Method in class org.carrot2.labs.smartsprites.message.LevelCounterMessageSink
-
Gets the warn count.
- GIF - Enum constant in enum org.carrot2.labs.smartsprites.SpriteImageDirective.SpriteImageFormat
-
The gif.
H
- hasCssFiles() - Method in class org.carrot2.labs.smartsprites.SmartSpritesParameters
-
Checks for css files.
- hasDocumentRootDir() - Method in class org.carrot2.labs.smartsprites.SmartSpritesParameters
-
Checks for document root dir.
- hasNonBlankValue(Map<String, CssProperty>, String) - Static method in class org.carrot2.labs.smartsprites.css.CssSyntaxUtils
-
Returns
true
if the the provided map contains a property with the specified name that has a non-blank value. - hasOutputDir() - Method in class org.carrot2.labs.smartsprites.SmartSpritesParameters
-
Checks for output dir.
- hasPartialTransparency - Variable in class org.carrot2.util.ColorQuantizer.ColorReductionInfo
-
True if the image has partially transparent areas (alpha channel).
- hasPartialTransparency(BufferedImage) - Static method in class org.carrot2.util.BufferedImageUtils
-
Returns
true
if the provided image has partially transparent areas (alpha channel). - hasRootDir() - Method in class org.carrot2.labs.smartsprites.SmartSpritesParameters
-
Checks for root dir.
- hasTransparency(BufferedImage) - Static method in class org.carrot2.util.BufferedImageUtils
-
Returns
true
if the provided image has any kind of transparent areas. - HORIZONTAL - Enum constant in enum org.carrot2.labs.smartsprites.SpriteImageDirective.SpriteImageLayout
-
Horizontal layout, images next to each other.
- horizontalPosition - Variable in class org.carrot2.labs.smartsprites.SpriteReferenceReplacement
-
Numeric representation of the horizontal position of this sprite replacement.
- horizontalPositionString - Variable in class org.carrot2.labs.smartsprites.SpriteReferenceReplacement
-
String representation of the horizontal position of this sprite replacement.
I
- IGNORING_CSS_FILE_OUTSIDE_OF_ROOT_DIR - Enum constant in enum org.carrot2.labs.smartsprites.message.Message.MessageType
-
The ignoring css file outside of root dir.
- IGNORING_MATTE_COLOR_NO_PARTIAL_TRANSPARENCY - Enum constant in enum org.carrot2.labs.smartsprites.message.Message.MessageType
-
The ignoring matte color no partial transparency.
- IGNORING_MATTE_COLOR_NO_SUPPORT - Enum constant in enum org.carrot2.labs.smartsprites.message.Message.MessageType
-
The ignoring matte color no support.
- IGNORING_NEGATIVE_MARGIN_VALUE - Enum constant in enum org.carrot2.labs.smartsprites.message.Message.MessageType
-
The ignoring negative margin value.
- IGNORING_SPRITE_IMAGE_REDEFINITION - Enum constant in enum org.carrot2.labs.smartsprites.message.Message.MessageType
-
The ignoring sprite image redefinition.
- IMAGE_FRACTIONAL_SCALE_VALUE - Enum constant in enum org.carrot2.labs.smartsprites.message.Message.MessageType
-
The image fractional scale value.
- imagePath - Variable in class org.carrot2.labs.smartsprites.SpriteImageDirective
-
CSS file relative path for this sprite image.
- imagePath - Variable in class org.carrot2.labs.smartsprites.SpriteReferenceOccurrence
-
CSS file relative path to the individual image to be added to a sprite.
- important - Variable in class org.carrot2.labs.smartsprites.css.CssProperty
-
The important.
- important - Variable in class org.carrot2.labs.smartsprites.SpriteReferenceOccurrence
-
Indicates whether the original css property has been marked as important.
- INDEXED - Enum constant in enum org.carrot2.labs.smartsprites.SmartSpritesParameters.PngDepth
-
The indexed.
- info(Message.MessageType, Object...) - Method in class org.carrot2.labs.smartsprites.message.MessageLog
-
Logs an information message to this log.
- INFO - Enum constant in enum org.carrot2.labs.smartsprites.message.Message.MessageLevel
-
Information message, can be ignored.
- isBlank(String) - Static method in class org.carrot2.util.StringUtils
-
Checks if is blank.
- isFileInParent(File, File) - Static method in class org.carrot2.util.FileUtils
-
Returns
true
if file is contained in the parent directory or any parent of the parent directory. - isMarkSpriteImages() - Method in class org.carrot2.labs.smartsprites.SmartSpritesParameters
-
Checks if is mark sprite images.
- isNotBlank(String) - Static method in class org.carrot2.util.StringUtils
-
Checks if is not blank.
J
- JPG - Enum constant in enum org.carrot2.labs.smartsprites.SpriteImageDirective.SpriteImageFormat
-
The jpg.
- JPG_DOES_NOT_SUPPORT_INDEXED_COLOR - Enum constant in enum org.carrot2.labs.smartsprites.message.Message.MessageType
-
The jpg does not support indexed color.
L
- layout - Variable in class org.carrot2.labs.smartsprites.SpriteImageDirective
-
Layout of this sprite image.
- LEFT - Enum constant in enum org.carrot2.labs.smartsprites.SpriteLayoutProperties.SpriteAlignment
-
To the left edge of a vertical sprite.
- level - Variable in class org.carrot2.labs.smartsprites.message.Message
-
Importance of this message.
- LevelCounterMessageSink - Class in org.carrot2.labs.smartsprites.message
-
Counts the number of messages logged with different levels.
- LevelCounterMessageSink() - Constructor for class org.carrot2.labs.smartsprites.message.LevelCounterMessageSink
- line - Variable in class org.carrot2.labs.smartsprites.message.Message
-
Line number to which this message refers, meaningful only if
Message.cssPath
is notnull
. - line - Variable in class org.carrot2.labs.smartsprites.SpriteDirectiveOccurrence
-
Line number on which the directive occurred.
- log(Message.MessageLevel, Message.MessageType, Object...) - Method in class org.carrot2.labs.smartsprites.message.MessageLog
-
Logs a message to this log.
M
- main(String[]) - Static method in class org.carrot2.labs.smartsprites.SmartSprites
-
Entry point to SmartSprites.
- MALFORMED_COLOR - Enum constant in enum org.carrot2.labs.smartsprites.message.Message.MessageType
-
The malformed color.
- MALFORMED_CSS_RULE - Enum constant in enum org.carrot2.labs.smartsprites.message.Message.MessageType
-
The malformed css rule.
- MALFORMED_SPRITE_IMAGE_PATH - Enum constant in enum org.carrot2.labs.smartsprites.message.Message.MessageType
-
The malformed sprite image path.
- MALFORMED_URL - Enum constant in enum org.carrot2.labs.smartsprites.message.Message.MessageType
-
The malformed url.
- marginBottom - Variable in class org.carrot2.labs.smartsprites.SpriteLayoutProperties
-
Bottom margin of the individual image.
- marginLeft - Variable in class org.carrot2.labs.smartsprites.SpriteLayoutProperties
-
Left margin of the individual image.
- marginRight - Variable in class org.carrot2.labs.smartsprites.SpriteLayoutProperties
-
Right margin of the individual image.
- marginTop - Variable in class org.carrot2.labs.smartsprites.SpriteLayoutProperties
-
Top margin of the individual image.
- matte(BufferedImage, Color) - Static method in class org.carrot2.util.BufferedImageUtils
-
Performs matting of the
source
image usingmatteColor
. - matteColor - Variable in class org.carrot2.labs.smartsprites.SpriteImageDirective
-
Matte color to be used when reducing true alpha channel.
- MAX_INDEXED_COLORS - Static variable in class org.carrot2.util.ColorQuantizer
-
Maximum number of colors in an indexed image, leaving one for transparency.
- MemoryMessageSink - Class in org.carrot2.labs.smartsprites.message
-
Collects messages in a
List
, seeMemoryMessageSink.messages
. - MemoryMessageSink() - Constructor for class org.carrot2.labs.smartsprites.message.MemoryMessageSink
- Message - Class in org.carrot2.labs.smartsprites.message
-
Represents a processing message, can be an information message or a warning.
- Message(Message.MessageLevel, Message.MessageType, String, int, Object...) - Constructor for class org.carrot2.labs.smartsprites.message.Message
-
Creates a new message, see field descriptions for details.
- Message.MessageLevel - Enum in org.carrot2.labs.smartsprites.message
-
The importance of the message.
- Message.MessageType - Enum in org.carrot2.labs.smartsprites.message
-
Defines all the possible information and warning messages.
- MessageLog - Class in org.carrot2.labs.smartsprites.message
-
Gathers
Message
s during the runtime of the applications. - MessageLog(MessageSink...) - Constructor for class org.carrot2.labs.smartsprites.message.MessageLog
-
Creates a
MessageLog
with the providedMessageSink
s. - messages - Variable in class org.carrot2.labs.smartsprites.message.MemoryMessageSink
-
Contains collected messages.
- MessageSink - Interface in org.carrot2.labs.smartsprites.message
-
Collects
Message
s for further processing/ retrieval. - mkdirsThrowingExceptions(File) - Static method in class org.carrot2.util.FileUtils
- MORE_THAN_ONE_RULE_NEXT_TO_SPRITE_REFERENCE_DIRECTIVE - Enum constant in enum org.carrot2.labs.smartsprites.message.Message.MessageType
-
The more than one rule next to sprite reference directive.
N
- NO_BACKGROUND_IMAGE_RULE_NEXT_TO_SPRITE_REFERENCE_DIRECTIVE - Enum constant in enum org.carrot2.labs.smartsprites.message.Message.MessageType
-
The no background image rule next to sprite reference directive.
- NONE - Enum constant in enum org.carrot2.labs.smartsprites.SpriteImageDirective.SpriteUidType
-
No UID extension.
O
- ONLY_LEFT_OR_RIGHT_ALIGNMENT_ALLOWED - Enum constant in enum org.carrot2.labs.smartsprites.message.Message.MessageType
-
The only left or right alignment allowed.
- ONLY_TOP_OR_BOTTOM_ALIGNMENT_ALLOWED - Enum constant in enum org.carrot2.labs.smartsprites.message.Message.MessageType
-
The only top or bottom alignment allowed.
- org.carrot2.labs.smartsprites - package org.carrot2.labs.smartsprites
-
Data model classes and CSS sprite building.
- org.carrot2.labs.smartsprites.ant - package org.carrot2.labs.smartsprites.ant
-
CSS parsing utilities.
- org.carrot2.labs.smartsprites.css - package org.carrot2.labs.smartsprites.css
-
SmartSprites Ant task.
- org.carrot2.labs.smartsprites.message - package org.carrot2.labs.smartsprites.message
-
Internal message logging system.
- org.carrot2.labs.smartsprites.resource - package org.carrot2.labs.smartsprites.resource
-
Resource abstraction utilities.
- org.carrot2.util - package org.carrot2.util
-
Various utilities.
- OUTPUT_DIR_IS_NOT_DIRECTORY - Enum constant in enum org.carrot2.labs.smartsprites.message.Message.MessageType
-
The output dir is not directory.
- OVERRIDING_PROPERTY_FOUND - Enum constant in enum org.carrot2.labs.smartsprites.message.Message.MessageType
-
The overriding property found.
P
- parameters - Variable in class org.carrot2.labs.smartsprites.SpriteBuilder
-
This builder's configuration.
- parameters - Variable in class org.carrot2.labs.smartsprites.SpriteImageBuilder
-
This builder's configuration.
- parameters - Variable in class org.carrot2.labs.smartsprites.SpriteImageRenderer
-
This builder's configuration.
- parse(String, Map<String, SpriteImageDirective>, MessageLog) - Static method in class org.carrot2.labs.smartsprites.SpriteReferenceDirective
-
Parses a
SpriteReferenceDirective
from the providedString
, logging messages to the providedMessageLog
. - parse(String, MessageLog) - Static method in class org.carrot2.labs.smartsprites.SpriteImageDirective
-
Parses a string into a
SpriteImageDirective
, logging messages to the providedMessageLog
s. - parse(String, SpriteImageDirective.SpriteImageLayout, MessageLog) - Static method in class org.carrot2.labs.smartsprites.SpriteLayoutProperties
-
Parses a
SpriteLayoutProperties
from the providedString
logging messages to the providedMessageLog
. - parse(String, SpriteImageDirective.SpriteImageLayout, SpriteLayoutProperties, MessageLog) - Static method in class org.carrot2.labs.smartsprites.SpriteLayoutProperties
-
Parses a
SpriteLayoutProperties
from the providedString
, using the provided defaults and logging messages to the providedMessageLog
. - parseColor(String, MessageLog, Color) - Static method in class org.carrot2.labs.smartsprites.css.CssSyntaxUtils
-
Parses a hexadecimal format (#fff or #ffffff) of CSS color into a
Color
object. - PathUtils - Class in org.carrot2.util
-
This class defines utilities methods helping to determine path-related information such as relative paths.
- pattern - Variable in enum org.carrot2.labs.smartsprites.SpriteImageDirective.SpriteUidType
-
The pattern.
- PNG - Enum constant in enum org.carrot2.labs.smartsprites.SpriteImageDirective.SpriteImageFormat
-
The png.
- PrintStreamMessageSink - Class in org.carrot2.labs.smartsprites.message
-
Outputs logged
Message
s to the providedPrintStream
. - PrintStreamMessageSink(PrintStream) - Constructor for class org.carrot2.labs.smartsprites.message.PrintStreamMessageSink
-
Creates a
PrintStreamMessageSink
with the providedprintStream
andMessage.MessageLevel.INFO
logging level. - PrintStreamMessageSink(PrintStream, Message.MessageLevel) - Constructor for class org.carrot2.labs.smartsprites.message.PrintStreamMessageSink
- PROCESSING_COMPLETED - Enum constant in enum org.carrot2.labs.smartsprites.message.Message.MessageType
-
The processing completed.
- PROCESSING_COMPLETED_WITH_WARNINGS - Enum constant in enum org.carrot2.labs.smartsprites.message.Message.MessageType
-
The processing completed with warnings.
- propertiesAsMap(Collection<CssProperty>) - Static method in class org.carrot2.labs.smartsprites.css.CssSyntaxUtils
-
Converts the provided collection of CSS properties to a
Map
with keys being property names and values beingCssProperty
objects. - PROPERTY_SPRITE_ALIGNMENT - Static variable in class org.carrot2.labs.smartsprites.SpriteLayoutProperties
-
The Constant PROPERTY_SPRITE_ALIGNMENT.
- PROPERTY_SPRITE_ID - Static variable in class org.carrot2.labs.smartsprites.SpriteImageDirective
-
The Constant PROPERTY_SPRITE_ID.
- PROPERTY_SPRITE_IMAGE_LAYOUT - Static variable in class org.carrot2.labs.smartsprites.SpriteImageDirective
-
The Constant PROPERTY_SPRITE_IMAGE_LAYOUT.
- PROPERTY_SPRITE_IMAGE_UID_SUFFIX - Static variable in class org.carrot2.labs.smartsprites.SpriteImageDirective
-
The Constant PROPERTY_SPRITE_IMAGE_UID_SUFFIX.
- PROPERTY_SPRITE_IMAGE_URL - Static variable in class org.carrot2.labs.smartsprites.SpriteImageDirective
-
The Constant PROPERTY_SPRITE_IMAGE_URL.
- PROPERTY_SPRITE_MARGIN_BOTTOM - Static variable in class org.carrot2.labs.smartsprites.SpriteLayoutProperties
-
The Constant PROPERTY_SPRITE_MARGIN_BOTTOM.
- PROPERTY_SPRITE_MARGIN_LEFT - Static variable in class org.carrot2.labs.smartsprites.SpriteLayoutProperties
-
The Constant PROPERTY_SPRITE_MARGIN_LEFT.
- PROPERTY_SPRITE_MARGIN_RIGHT - Static variable in class org.carrot2.labs.smartsprites.SpriteLayoutProperties
-
The Constant PROPERTY_SPRITE_MARGIN_RIGHT.
- PROPERTY_SPRITE_MARGIN_TOP - Static variable in class org.carrot2.labs.smartsprites.SpriteLayoutProperties
-
The Constant PROPERTY_SPRITE_MARGIN_TOP.
- PROPERTY_SPRITE_MATTE_COLOR - Static variable in class org.carrot2.labs.smartsprites.SpriteImageDirective
-
The Constant PROPERTY_SPRITE_MATTE_COLOR.
- PROPERTY_SPRITE_REF - Static variable in class org.carrot2.labs.smartsprites.SpriteReferenceDirective
-
The Constant PROPERTY_SPRITE_REF.
- PROPERTY_SPRITE_SCALE - Static variable in class org.carrot2.labs.smartsprites.SpriteImageDirective
-
The Constant PROPERTY_SPRITE_SCALE.
Q
- quantize(BufferedImage) - Static method in class org.carrot2.util.ColorQuantizer
-
Quantizes the image to
ColorQuantizer.MAX_INDEXED_COLORS
with white matte for areas with partial transparency (full transparency will be preserved). - quantize(BufferedImage, Color) - Static method in class org.carrot2.util.ColorQuantizer
-
Quantizes the image to
ColorQuantizer.MAX_INDEXED_COLORS
with the provided matteColor
for areas with partial transparency (full transparency will be preserved). - quantize(BufferedImage, Color, int) - Static method in class org.carrot2.util.ColorQuantizer
-
Quantizes the image to the provided number of colors with the provided matte
Color
for areas with partial transparency (full transparency will be preserved). - Quantize - Class in amd
-
(#)Quantize.java 0.90 9/19/00 Adam Doppelt
- quantizeImage(int[][], int) - Static method in class amd.Quantize
-
Reduce the image to the given number of colors.
R
- READING_CSS - Enum constant in enum org.carrot2.labs.smartsprites.message.Message.MessageType
-
The reading css.
- READING_IMAGE - Enum constant in enum org.carrot2.labs.smartsprites.message.Message.MessageType
-
The reading image.
- READING_SPRITE_IMAGE_DIRECTIVES - Enum constant in enum org.carrot2.labs.smartsprites.message.Message.MessageType
-
The reading sprite image directives.
- READING_SPRITE_REFERENCE_DIRECTIVES - Enum constant in enum org.carrot2.labs.smartsprites.message.Message.MessageType
-
The reading sprite reference directives.
- reduce(BufferedImage) - Static method in class org.carrot2.util.ColorQuantizer
-
Reduces a direct color buffered image to an indexed color one without quality loss.
- REFERENCED_SPRITE_NOT_FOUND - Enum constant in enum org.carrot2.labs.smartsprites.message.Message.MessageType
-
The referenced sprite not found.
- render(BufferedImage, SpriteImageDirective.SpriteImageLayout, int) - Method in class org.carrot2.labs.smartsprites.SpriteReferenceOccurrence
-
Renders the individual image, including margins and repeats if any.
- REPEAT - Enum constant in enum org.carrot2.labs.smartsprites.SpriteLayoutProperties.SpriteAlignment
-
Repeated across the full width/ height of the sprite image.
- resolvedPath - Variable in class org.carrot2.labs.smartsprites.SpriteImage
-
The
SpriteImageDirective.imagePath
with variables resolved. - ResourceHandler - Interface in org.carrot2.labs.smartsprites.resource
-
Defines an abstraction layer for resource (CSS, images) management.
- RIGHT - Enum constant in enum org.carrot2.labs.smartsprites.SpriteLayoutProperties.SpriteAlignment
-
To the right edge of a vertical sprite.
- ROOT_DIR_AND_CSS_FILES_CANNOT_BE_BOTH_SPECIFIED_UNLESS_WITH_OUTPUT_DIR - Enum constant in enum org.carrot2.labs.smartsprites.message.Message.MessageType
-
The root dir and css files cannot be both specified unless with output dir.
- ROOT_DIR_DOES_NOT_EXIST_OR_IS_NOT_DIRECTORY - Enum constant in enum org.carrot2.labs.smartsprites.message.Message.MessageType
-
The root dir does not exist or is not directory.
- ROOT_DIR_IS_REQUIRED_FOR_OUTPUT_DIR - Enum constant in enum org.carrot2.labs.smartsprites.message.Message.MessageType
-
The root dir is required for output dir.
- rule - Variable in class org.carrot2.labs.smartsprites.css.CssProperty
-
The rule.
S
- scaleRatio - Variable in class org.carrot2.labs.smartsprites.SpriteImage
-
The scale to apply to the final sprite's background-size.
- scaleRatio - Variable in class org.carrot2.labs.smartsprites.SpriteImageDirective
-
Scaling ratio to apply to background; default is 1.
- setCssFile(String) - Method in class org.carrot2.labs.smartsprites.message.MessageLog
-
Sets the css file.
- setCssFileEncoding(String) - Method in class org.carrot2.labs.smartsprites.ant.SmartSpritesTask
-
Sets the css file encoding.
- setCssFileSuffix(String) - Method in class org.carrot2.labs.smartsprites.ant.SmartSpritesTask
-
Sets the css file suffix.
- setDocumentRootDir(File) - Method in class org.carrot2.labs.smartsprites.ant.SmartSpritesTask
-
Sets the document root dir.
- setFailOnLevel(String) - Method in class org.carrot2.labs.smartsprites.ant.SmartSpritesTask
-
Sets the fail on level.
- setLine(int) - Method in class org.carrot2.labs.smartsprites.message.MessageLog
-
Sets current CSS line for this log.
- setLogLevel(String) - Method in class org.carrot2.labs.smartsprites.ant.SmartSpritesTask
-
Sets the log level.
- setMarkSpriteImages(boolean) - Method in class org.carrot2.labs.smartsprites.ant.SmartSpritesTask
-
Sets the mark sprite images.
- setOutputDir(File) - Method in class org.carrot2.labs.smartsprites.ant.SmartSpritesTask
-
Sets the output dir.
- setRootDir(File) - Method in class org.carrot2.labs.smartsprites.ant.SmartSpritesTask
-
Sets the root dir.
- setSpritePngDepth(String) - Method in class org.carrot2.labs.smartsprites.ant.SmartSpritesTask
-
Sets the sprite png depth.
- SHA512 - Enum constant in enum org.carrot2.labs.smartsprites.SpriteImageDirective.SpriteUidType
-
Append sha512 of the sprites file.
- SmartSprites - Class in org.carrot2.labs.smartsprites
-
The entry class for SmartSprites.
- SmartSprites() - Constructor for class org.carrot2.labs.smartsprites.SmartSprites
- SmartSpritesParameters - Class in org.carrot2.labs.smartsprites
-
Contains invocation parameters for SmartSprites, provides methods for validating the parameters.
- SmartSpritesParameters() - Constructor for class org.carrot2.labs.smartsprites.SmartSpritesParameters
-
Creates the parameters with default options and null root dir, before root dir is set, the parameters are invalid.
- SmartSpritesParameters(String) - Constructor for class org.carrot2.labs.smartsprites.SmartSpritesParameters
-
Creates the parameters with most default values.
- SmartSpritesParameters(String, List<String>, String, String, Message.MessageLevel, String, SmartSpritesParameters.PngDepth, String) - Constructor for class org.carrot2.labs.smartsprites.SmartSpritesParameters
-
Creates the parameters.
- SmartSpritesParameters(String, List<String>, String, String, Message.MessageLevel, String, SmartSpritesParameters.PngDepth, String, boolean) - Constructor for class org.carrot2.labs.smartsprites.SmartSpritesParameters
-
Creates the parameters.
- SmartSpritesParameters.PngDepth - Enum in org.carrot2.labs.smartsprites
-
The Enum PngDepth.
- SmartSpritesTask - Class in org.carrot2.labs.smartsprites.ant
-
Ant task for calling SmartSprites processing.
- SmartSpritesTask() - Constructor for class org.carrot2.labs.smartsprites.ant.SmartSpritesTask
- sprite - Variable in class org.carrot2.labs.smartsprites.SpriteImage
-
The rendered sprite image bitmap.
- SPRITE_ID_NOT_FOUND - Enum constant in enum org.carrot2.labs.smartsprites.message.Message.MessageType
-
The sprite id not found.
- SPRITE_IMAGE_URL_NOT_FOUND - Enum constant in enum org.carrot2.labs.smartsprites.message.Message.MessageType
-
The sprite image url not found.
- SPRITE_REF_NOT_FOUND - Enum constant in enum org.carrot2.labs.smartsprites.message.Message.MessageType
-
The sprite ref not found.
- SpriteBuilder - Class in org.carrot2.labs.smartsprites
-
Performs all stages of sprite building.
- SpriteBuilder(SmartSpritesParameters, MessageLog) - Constructor for class org.carrot2.labs.smartsprites.SpriteBuilder
-
Creates a
SpriteBuilder
with the provided parameters and log. - SpriteBuilder(SmartSpritesParameters, MessageLog, ResourceHandler) - Constructor for class org.carrot2.labs.smartsprites.SpriteBuilder
-
Creates a
SpriteBuilder
with the provided parameters and log. - SpriteDirectiveOccurrence - Class in org.carrot2.labs.smartsprites
-
A base class for SmartSprites directives.
- SpriteDirectiveOccurrence(String, int) - Constructor for class org.carrot2.labs.smartsprites.SpriteDirectiveOccurrence
-
Instantiates a new sprite directive occurrence.
- SpriteDirectiveOccurrenceCollector - Class in org.carrot2.labs.smartsprites
-
Methods for collecting SmartSprites directives from CSS files.
- spriteHeight - Variable in class org.carrot2.labs.smartsprites.SpriteImage
-
The height of the final sprite.
- spriteId - Variable in class org.carrot2.labs.smartsprites.SpriteImageDirective
-
Unique identified of this sprite.
- spriteImage - Variable in class org.carrot2.labs.smartsprites.SpriteReferenceReplacement
-
Properties of the sprite image this replacement refers to.
- SpriteImage - Class in org.carrot2.labs.smartsprites
-
A merged sprite image consisting of a number of individual images.
- SpriteImage(BufferedImage, SpriteImageOccurrence, Map<SpriteReferenceOccurrence, SpriteReferenceReplacement>, int, int, float) - Constructor for class org.carrot2.labs.smartsprites.SpriteImage
-
Instantiates a new sprite image.
- SpriteImageBuilder - Class in org.carrot2.labs.smartsprites
-
Lays out and builds sprite images based on the collected SmartSprites directives.
- spriteImageDirective - Variable in class org.carrot2.labs.smartsprites.SpriteImageOccurrence
-
The sprite image directive.
- SpriteImageDirective - Class in org.carrot2.labs.smartsprites
-
Represents a directive that declares an individual sprite image.
- SpriteImageDirective(String, String, SpriteImageDirective.SpriteImageLayout, SpriteImageDirective.SpriteImageFormat, Color, SpriteImageDirective.SpriteUidType, float) - Constructor for class org.carrot2.labs.smartsprites.SpriteImageDirective
-
Instantiates a new sprite image directive.
- SpriteImageDirective(String, String, SpriteImageDirective.SpriteImageLayout, SpriteImageDirective.SpriteImageFormat, Color, SpriteImageDirective.SpriteUidType, float, SpriteLayoutProperties) - Constructor for class org.carrot2.labs.smartsprites.SpriteImageDirective
-
Instantiates a new sprite image directive.
- SpriteImageDirective.SpriteImageFormat - Enum in org.carrot2.labs.smartsprites
-
Defines supported image file formats.
- SpriteImageDirective.SpriteImageLayout - Enum in org.carrot2.labs.smartsprites
-
Defines the layout of this sprite.
- SpriteImageDirective.SpriteUidType - Enum in org.carrot2.labs.smartsprites
-
Defines the UID Generation Mode of this sprite.
- spriteImageOccurrence - Variable in class org.carrot2.labs.smartsprites.SpriteImage
-
SpriteImageOccurrence
for which thisSpriteImage
has been built. - SpriteImageOccurrence - Class in org.carrot2.labs.smartsprites
-
Describes an occurrence of a
SpriteImageDirective
in a specific CSS file. - SpriteImageOccurrence(SpriteImageDirective, String, int) - Constructor for class org.carrot2.labs.smartsprites.SpriteImageOccurrence
-
Instantiates a new sprite image occurrence.
- SpriteImageRenderer - Class in org.carrot2.labs.smartsprites
-
Applies color quantization to the merged sprite image if required.
- spriteLayoutProperties - Variable in class org.carrot2.labs.smartsprites.SpriteImageDirective
-
Sprite layout properties defined at the sprite image directive level.
- spriteLayoutProperties - Variable in class org.carrot2.labs.smartsprites.SpriteReferenceDirective
-
Sprite layout properties defined at sprite reference level.
- SpriteLayoutProperties - Class in org.carrot2.labs.smartsprites
-
Represents common sprite layout properties that can be used both in
SpriteImageDirective
andSpriteReferenceDirective
. - SpriteLayoutProperties(SpriteLayoutProperties.SpriteAlignment, int, int, int, int) - Constructor for class org.carrot2.labs.smartsprites.SpriteLayoutProperties
-
Instantiates a new sprite layout properties.
- SpriteLayoutProperties.SpriteAlignment - Enum in org.carrot2.labs.smartsprites
-
Alignment of the individual image within the sprite image.
- spriteRef - Variable in class org.carrot2.labs.smartsprites.SpriteReferenceDirective
-
Sprite id for this individual image.
- spriteReferenceDirective - Variable in class org.carrot2.labs.smartsprites.SpriteReferenceOccurrence
-
The directive.
- SpriteReferenceDirective - Class in org.carrot2.labs.smartsprites
-
Represents a directive that adds an individual image to a sprite image.
- SpriteReferenceDirective(String, SpriteLayoutProperties) - Constructor for class org.carrot2.labs.smartsprites.SpriteReferenceDirective
-
Instantiates a new sprite reference directive.
- spriteReferenceOccurrence - Variable in class org.carrot2.labs.smartsprites.SpriteReferenceReplacement
-
The
SpriteReferenceOccurrence
this instance refers to. - SpriteReferenceOccurrence - Class in org.carrot2.labs.smartsprites
-
Represents an occurrence of a
SpriteReferenceDirective
in a specific CSS file. - SpriteReferenceOccurrence(SpriteReferenceDirective, String, String, int, boolean) - Constructor for class org.carrot2.labs.smartsprites.SpriteReferenceOccurrence
-
Instantiates a new sprite reference occurrence.
- SpriteReferenceReplacement - Class in org.carrot2.labs.smartsprites
-
Represents the replacement that will be made for an individual
SpriteReferenceOccurrence
. - SpriteReferenceReplacement(SpriteReferenceOccurrence, int, String) - Constructor for class org.carrot2.labs.smartsprites.SpriteReferenceReplacement
-
Instantiates a new sprite reference replacement.
- SpriteReferenceReplacement(SpriteReferenceOccurrence, String, int) - Constructor for class org.carrot2.labs.smartsprites.SpriteReferenceReplacement
-
Instantiates a new sprite reference replacement.
- spriteReferenceReplacements - Variable in class org.carrot2.labs.smartsprites.SpriteImage
-
All
SpriteReferenceReplacement
s corresponding to the individual images this sprite image consists of. - spriteWidth - Variable in class org.carrot2.labs.smartsprites.SpriteImage
-
The width of the final sprite.
- status(Message.MessageType, Object...) - Method in class org.carrot2.labs.smartsprites.message.MessageLog
-
Logs a status message to this log.
- STATUS - Enum constant in enum org.carrot2.labs.smartsprites.message.Message.MessageLevel
-
Status messages displayed at the end of processing.
- StringUtils - Class in org.carrot2.util
-
The Class StringUtils.
T
- TOO_MANY_COLORS_FOR_INDEXED_COLOR - Enum constant in enum org.carrot2.labs.smartsprites.message.Message.MessageType
-
The too many colors for indexed color.
- TOP - Enum constant in enum org.carrot2.labs.smartsprites.SpriteLayoutProperties.SpriteAlignment
-
To the top edge of a horizontal sprite.
- toString() - Method in class org.carrot2.labs.smartsprites.message.Message
- toString() - Method in enum org.carrot2.labs.smartsprites.SpriteImageDirective.SpriteImageFormat
- toString() - Method in enum org.carrot2.labs.smartsprites.SpriteImageDirective.SpriteImageLayout
- toString() - Method in enum org.carrot2.labs.smartsprites.SpriteImageDirective.SpriteUidType
- toString() - Method in enum org.carrot2.labs.smartsprites.SpriteLayoutProperties.SpriteAlignment
- toString(Collection<?>) - Static method in class org.carrot2.util.CollectionUtils
- type - Variable in class org.carrot2.labs.smartsprites.message.Message
-
Semantics of the message.
U
- uidType - Variable in class org.carrot2.labs.smartsprites.SpriteImageDirective
-
Non-file-name extension after the sprite image path to force a cache update on change, prefixed by '?'.
- unpackUrl(String) - Static method in class org.carrot2.labs.smartsprites.css.CssSyntaxUtils
-
Extracts the actual url from the CSS url expression like
url('actua_url')
. - unpackUrl(String, MessageLog) - Static method in class org.carrot2.labs.smartsprites.css.CssSyntaxUtils
-
Extracts the actual url from the CSS url expression like
url('actua_url')
and logs warnings to the providedMessageLog
. - UNSUPPORTED_ALIGNMENT - Enum constant in enum org.carrot2.labs.smartsprites.message.Message.MessageType
-
The unsupported alignment.
- UNSUPPORTED_INDIVIDUAL_IMAGE_FORMAT - Enum constant in enum org.carrot2.labs.smartsprites.message.Message.MessageType
-
The unsupported individual image format.
- UNSUPPORTED_LAYOUT - Enum constant in enum org.carrot2.labs.smartsprites.message.Message.MessageType
-
The unsupported layout.
- UNSUPPORTED_PROPERTIES_FOUND - Enum constant in enum org.carrot2.labs.smartsprites.message.Message.MessageType
-
The unsupported properties found.
- UNSUPPORTED_SPRITE_IMAGE_FORMAT - Enum constant in enum org.carrot2.labs.smartsprites.message.Message.MessageType
-
The unsupported sprite image format.
- UNSUPPORTED_UID_TYPE - Enum constant in enum org.carrot2.labs.smartsprites.message.Message.MessageType
-
The unsupported uid type.
- UNSUPPORTED_VARIABLE_IN_SPRITE_IMAGE_PATH - Enum constant in enum org.carrot2.labs.smartsprites.message.Message.MessageType
-
The unsupported variable in sprite image path.
- USING_WHITE_MATTE_COLOR_AS_DEFAULT - Enum constant in enum org.carrot2.labs.smartsprites.message.Message.MessageType
-
The using white matte color as default.
V
- validate(MessageLog) - Method in class org.carrot2.labs.smartsprites.SmartSpritesParameters
-
Validates the provided parameters.
- value - Variable in class org.carrot2.labs.smartsprites.css.CssProperty
-
The value.
- valueOf(String) - Static method in enum org.carrot2.labs.smartsprites.message.Message.MessageLevel
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.carrot2.labs.smartsprites.message.Message.MessageType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.carrot2.labs.smartsprites.SmartSpritesParameters.PngDepth
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.carrot2.labs.smartsprites.SpriteImageDirective.SpriteImageFormat
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.carrot2.labs.smartsprites.SpriteImageDirective.SpriteImageLayout
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.carrot2.labs.smartsprites.SpriteImageDirective.SpriteUidType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.carrot2.labs.smartsprites.SpriteLayoutProperties.SpriteAlignment
-
Returns the enum constant of this type with the specified name.
- valueOf(String, Class<T>, T) - Static method in class org.carrot2.util.EnumUtils
-
Returns the enum instance corresponding to the provided
name
ordefaultValue
if no enum value corresponds toname
. - values() - Static method in enum org.carrot2.labs.smartsprites.message.Message.MessageLevel
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.carrot2.labs.smartsprites.message.Message.MessageType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.carrot2.labs.smartsprites.SmartSpritesParameters.PngDepth
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.carrot2.labs.smartsprites.SpriteImageDirective.SpriteImageFormat
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.carrot2.labs.smartsprites.SpriteImageDirective.SpriteImageLayout
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.carrot2.labs.smartsprites.SpriteImageDirective.SpriteUidType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.carrot2.labs.smartsprites.SpriteLayoutProperties.SpriteAlignment
-
Returns an array containing the constants of this enum type, in the order they are declared.
- valuesAsString() - Static method in enum org.carrot2.labs.smartsprites.SpriteImageDirective.SpriteImageFormat
-
Values as string.
- valuesAsString() - Static method in enum org.carrot2.labs.smartsprites.SpriteImageDirective.SpriteImageLayout
-
Values as string.
- valuesAsString() - Static method in enum org.carrot2.labs.smartsprites.SpriteImageDirective.SpriteUidType
-
Values as string.
- valuesAsString() - Static method in enum org.carrot2.labs.smartsprites.SpriteLayoutProperties.SpriteAlignment
-
Values as string.
- VERTICAL - Enum constant in enum org.carrot2.labs.smartsprites.SpriteImageDirective.SpriteImageLayout
-
Vertical layout, images stacked on each other.
- verticalPosition - Variable in class org.carrot2.labs.smartsprites.SpriteReferenceReplacement
-
Numeric representation of the vertical position of this sprite replacement.
- verticalPositionString - Variable in class org.carrot2.labs.smartsprites.SpriteReferenceReplacement
-
String representation of the vertical position of this sprite replacement.
W
- warn(Message.MessageType, Object...) - Static method in class org.carrot2.labs.smartsprites.message.Message
-
Warn.
- WARN - Enum constant in enum org.carrot2.labs.smartsprites.message.Message.MessageLevel
-
Warning messages, ignoring can lead to the converted designs looking broken.
- warning(Message.MessageType, Object...) - Method in class org.carrot2.labs.smartsprites.message.MessageLog
-
Logs a warning message to this log.
- WRITING_CSS - Enum constant in enum org.carrot2.labs.smartsprites.message.Message.MessageType
-
The writing css.
- WRITING_SPRITE_IMAGE - Enum constant in enum org.carrot2.labs.smartsprites.message.Message.MessageType
-
The writing sprite image.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form