Package com.aripd.component.letteravatar
Class LetterAvatar
- java.lang.Object
-
- javax.faces.component.UIComponent
-
- javax.faces.component.UIComponentBase
-
- com.aripd.component.letteravatar.LetterAvatar
-
- All Implemented Interfaces:
EventListener
,javax.faces.component.PartialStateHolder
,javax.faces.component.StateHolder
,javax.faces.component.TransientStateHolder
,javax.faces.event.ComponentSystemEventListener
,javax.faces.event.FacesListener
,javax.faces.event.SystemEventListenerHolder
public class LetterAvatar extends javax.faces.component.UIComponentBase
LetterAvatar
component.- Since:
- 1.0
- Author:
- https://github.com/aripddev
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
LetterAvatar.PropertyKeys
-
Field Summary
Fields Modifier and Type Field Description static String
COMPONENT_CLASS
static String
COMPONENT_CLASS_ROUNDED
static String
COMPONENT_FAMILY
static String
COMPONENT_TYPE
static String
DEFAULT_RENDERER
-
Constructor Summary
Constructors Constructor Description LetterAvatar()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAlpha()
String
getBackgroundColor()
String
getFamily()
String
getFontColor()
Integer
getHue()
String
getLightness()
String
getSaturation()
String
getSize()
String
getStyle()
String
getStyleClass()
String
getValue()
boolean
isRounded()
void
setAlpha(String alpha)
void
setBackgroundColor(String backgroundColor)
void
setFontColor(String fontColor)
void
setHue(Integer hue)
void
setLightness(String lightness)
void
setRounded(boolean rounded)
void
setSaturation(String saturation)
void
setSize(String size)
void
setStyle(String style)
void
setStyleClass(String styleClass)
void
setValue(String value)
-
Methods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEvent
-
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTree
-
-
-
-
Field Detail
-
COMPONENT_TYPE
public static final String COMPONENT_TYPE
- See Also:
- Constant Field Values
-
COMPONENT_FAMILY
public static final String COMPONENT_FAMILY
- See Also:
- Constant Field Values
-
DEFAULT_RENDERER
public static final String DEFAULT_RENDERER
- See Also:
- Constant Field Values
-
COMPONENT_CLASS
public static final String COMPONENT_CLASS
- See Also:
- Constant Field Values
-
COMPONENT_CLASS_ROUNDED
public static final String COMPONENT_CLASS_ROUNDED
- See Also:
- Constant Field Values
-
-
Method Detail
-
getFamily
public String getFamily()
- Specified by:
getFamily
in classjavax.faces.component.UIComponent
-
getStyle
public String getStyle()
-
setStyle
public void setStyle(String style)
-
getStyleClass
public String getStyleClass()
-
setStyleClass
public void setStyleClass(String styleClass)
-
getValue
public String getValue()
-
setValue
public void setValue(String value)
-
isRounded
public boolean isRounded()
-
setRounded
public void setRounded(boolean rounded)
-
getSize
public String getSize()
-
setSize
public void setSize(String size)
-
getFontColor
public String getFontColor()
-
setFontColor
public void setFontColor(String fontColor)
-
getBackgroundColor
public String getBackgroundColor()
-
setBackgroundColor
public void setBackgroundColor(String backgroundColor)
-
getHue
public Integer getHue()
-
setHue
public void setHue(Integer hue)
-
getSaturation
public String getSaturation()
-
setSaturation
public void setSaturation(String saturation)
-
getLightness
public String getLightness()
-
setLightness
public void setLightness(String lightness)
-
getAlpha
public String getAlpha()
-
setAlpha
public void setAlpha(String alpha)
-
-