org.rhq.enterprise.gui.common.quicknav
Class IconComponent

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by org.rhq.enterprise.gui.common.quicknav.IconComponent
All Implemented Interfaces:
javax.faces.component.StateHolder

public class IconComponent
extends javax.faces.component.UIComponentBase

A component that represents a quick-navigation icon (i.e. a MICA icon).

Author:
Ian Springer

Field Summary
static String COMPONENT_FAMILY
           
static String COMPONENT_TYPE
           
 
Fields inherited from class javax.faces.component.UIComponent
bindings
 
Constructor Summary
IconComponent()
           
 
Method Summary
 String getAlt()
           
 String getFamily()
           
 String getName()
           
 Map<String,String> getParameters()
           
 String getUrl()
           
 Boolean isVisible()
           
 void restoreState(javax.faces.context.FacesContext context, Object stateValues)
           
 Object saveState(javax.faces.context.FacesContext facesContext)
           
 void setAlt(String alt)
           
 void setName(String name)
           
 void setParameters(Map<String,String> parameters)
           
 void setUrl(String url)
           
 void setVisible(boolean visible)
           
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
 
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getContainerClientId, getValueExpression, setValueExpression
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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
Constructor Detail

IconComponent

public IconComponent()
Method Detail

getFamily

public String getFamily()
Specified by:
getFamily in class javax.faces.component.UIComponent

getName

public String getName()

setName

public void setName(String name)

getUrl

public String getUrl()

setUrl

public void setUrl(String url)

getAlt

public String getAlt()

setAlt

public void setAlt(String alt)

isVisible

public Boolean isVisible()

setVisible

public void setVisible(boolean visible)

getParameters

@NotNull
public Map<String,String> getParameters()

setParameters

public void setParameters(@NotNull
                          Map<String,String> parameters)

saveState

public Object saveState(javax.faces.context.FacesContext facesContext)
Specified by:
saveState in interface javax.faces.component.StateHolder
Overrides:
saveState in class javax.faces.component.UIComponentBase

restoreState

public void restoreState(javax.faces.context.FacesContext context,
                         Object stateValues)
Specified by:
restoreState in interface javax.faces.component.StateHolder
Overrides:
restoreState in class javax.faces.component.UIComponentBase


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.