org.rhq.core.gui.configuration
Class AbstractConfigurationComponent
java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
org.rhq.core.gui.configuration.AbstractConfigurationComponent
- All Implemented Interfaces:
- javax.faces.component.StateHolder, FacesComponentIdFactory
- Direct Known Subclasses:
- ConfigUIComponent, ConfigurationSetComponent
public abstract class AbstractConfigurationComponent
- extends javax.faces.component.UIComponentBase
- implements FacesComponentIdFactory
An abstract base class for the ConfigUIComponent and the ConfigurationSetComponent JSF component
classes.
- Author:
- Ian Springer
| Fields inherited from class javax.faces.component.UIComponent |
bindings |
| 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 |
AbstractConfigurationComponent
public AbstractConfigurationComponent()
getFamily
public String getFamily()
- Specified by:
getFamily in class javax.faces.component.UIComponent
getConfigurationDefinition
public abstract org.rhq.core.domain.configuration.definition.ConfigurationDefinition getConfigurationDefinition()
getConfiguration
public abstract org.rhq.core.domain.configuration.Configuration getConfiguration()
getConfigurationDefinitionExpressionString
public abstract String getConfigurationDefinitionExpressionString()
getConfigurationExpressionString
public abstract String getConfigurationExpressionString()
createUniqueId
public String createUniqueId()
- Description copied from interface:
FacesComponentIdFactory
- Creates a unique id that can be assigned to a new JSF
UIComponent. Note, JSF id's
can only contain letters, numbers, dashes, or underscores.
For more information on how to create JSF id's, see http://forum.java.sun.com/thread.jspa?threadID=524925.
- Specified by:
createUniqueId in interface FacesComponentIdFactory
- Returns:
- a unique id that can be assigned to a new JSF
UIComponent
isReadOnly
public boolean isReadOnly()
setReadOnly
public void setReadOnly(boolean readOnly)
isFullyEditable
public boolean isFullyEditable()
setFullyEditable
public void setFullyEditable(boolean fullyEditable)
getListName
public String getListName()
setListName
public void setListName(String listName)
getListIndex
public Integer getListIndex()
setListIndex
public void setListIndex(Integer listIndex)
getNullConfigurationStyle
public String getNullConfigurationStyle()
setNullConfigurationStyle
public void setNullConfigurationStyle(String nullConfigurationStyle)
getNullConfigurationDefinitionMessage
public String getNullConfigurationDefinitionMessage()
setNullConfigurationDefinitionMessage
public void setNullConfigurationDefinitionMessage(String nullConfigurationDefinitionMessage)
getNullConfigurationMessage
public String getNullConfigurationMessage()
setNullConfigurationMessage
public void setNullConfigurationMessage(String nullConfigurationMessage)
isPrevalidate
public boolean isPrevalidate()
setPrevalidate
public void setPrevalidate(boolean prevalidate)
isGroup
public boolean isGroup()
setGroup
public void setGroup(boolean isGroup)
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 facesContext,
Object stateValues)
- Specified by:
restoreState in interface javax.faces.component.StateHolder- Overrides:
restoreState in class javax.faces.component.UIComponentBase
getTemplateEngine
public abstract TemplateEngine getTemplateEngine()
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.