|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.myfaces.trinidadinternal.image.cache.BaseColorizedIconKey
public abstract class BaseColorizedIconKey
Base class for the two colorized icon key classes: CoreColorizedIconKey and AccentColorizedIconKey.
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
protected |
BaseColorizedIconKey(ImageContext context,
java.util.Map<java.lang.Object,java.lang.Object> properties)
Creates a BaseColorizedIconKey for the specified ImageContext and properties. |
protected |
BaseColorizedIconKey(ImageContext context,
java.lang.String source,
java.lang.Class<?> lookAndFeel,
int direction,
java.awt.Color color,
java.awt.Color surroundingColor)
Creates a key for the specified context, source and direction. |
protected |
BaseColorizedIconKey(ImageContext context,
java.lang.String source,
int direction,
java.awt.Color color,
java.awt.Color surroundingColor)
Deprecated. in favor of BaseColorizedIconKey( ImageContext, String, Class, int, Color, Color) |
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
Override of Object.equals(). |
protected java.awt.Color |
getColor()
Returns the color property. |
abstract java.lang.Object |
getColorKey()
Returns the ImageConstants KEY constant for the color represented by this BaseColorizedIconKey instance: DARK_COLOR_KEY or DARK_ACCENT_COLOR_KEY. |
int |
getDirection()
Returns the direction property. |
java.lang.String |
getLocalName()
Implementation of ImageProviderRequest.getLocalName(). |
protected java.lang.Class<?> |
getLookAndFeel()
Returns the lookAndFeel property. |
java.lang.String |
getNamespaceURI()
Implementation of ImageProviderRequest.getNamespaceURI(). |
java.util.Map<java.lang.Object,java.lang.Object> |
getRenderProperties(ImageContext context)
Implementation of ImageProviderRequest.getRenderProperties(). |
protected java.lang.String |
getSource()
Returns the source property. |
int |
hashCode()
Override of Object.hashCode(). |
protected void |
setColor(java.awt.Color color)
Sets the color property. |
protected void |
setDirection(int direction)
Sets the direction property. |
protected void |
setLookAndFeel(java.lang.Class<?> lookAndFeel)
Sets the lookAndFeel property. |
protected void |
setSource(java.lang.String source)
Sets the source property. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected BaseColorizedIconKey(ImageContext context,
java.util.Map<java.lang.Object,java.lang.Object> properties)
protected BaseColorizedIconKey(ImageContext context,
java.lang.String source,
java.lang.Class<?> lookAndFeel,
int direction,
java.awt.Color color,
java.awt.Color surroundingColor)
@Deprecated
protected BaseColorizedIconKey(ImageContext context,
java.lang.String source,
int direction,
java.awt.Color color,
java.awt.Color surroundingColor)
BaseColorizedIconKey( ImageContext, String, Class, int, Color, Color)
| Method Detail |
|---|
public abstract java.lang.Object getColorKey()
public java.lang.String getNamespaceURI()
getNamespaceURI in interface ImageProviderRequestpublic java.lang.String getLocalName()
getLocalName in interface ImageProviderRequestpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.util.Map<java.lang.Object,java.lang.Object> getRenderProperties(ImageContext context)
getRenderProperties in interface ImageProviderRequestImageRenderer,
ImageConstantsprotected java.lang.String getSource()
protected java.lang.Class<?> getLookAndFeel()
public final int getDirection()
protected final java.awt.Color getColor()
protected void setSource(java.lang.String source)
protected void setLookAndFeel(java.lang.Class<?> lookAndFeel)
protected void setDirection(int direction)
protected void setColor(java.awt.Color color)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||