|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
org.rhq.enterprise.gui.common.time.DurationComponent
public class DurationComponent
| Nested Class Summary | |
|---|---|
static class |
DurationComponent.TimeUnit
|
| Field Summary | |
|---|---|
static String |
COMPONENT_FAMILY
|
static String |
COMPONENT_TYPE
|
static String |
OPTION_LIST_ATTRIBUTE
|
static String |
UNIT
|
static String |
VALUE
|
| Fields inherited from class javax.faces.component.UIComponent |
|---|
bindings |
| Constructor Summary | |
|---|---|
DurationComponent()
|
|
| Method Summary | |
|---|---|
String |
getFamily()
|
long |
getMillis()
|
String |
getOptionList()
|
String |
getUnit()
|
DurationComponent.TimeUnit[] |
getUnitOptions()
|
int |
getValue()
|
void |
restoreState(javax.faces.context.FacesContext context,
Object stateValues)
|
Object |
saveState(javax.faces.context.FacesContext facesContext)
|
void |
setOptionList(String optionList)
|
void |
setUnit(String unit)
|
void |
setUnitOptions(DurationComponent.TimeUnit[] unitOptions)
|
void |
setValue(int value)
|
| 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 |
|---|
public static final String VALUE
public static final String UNIT
public static final String OPTION_LIST_ATTRIBUTE
public static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
| Constructor Detail |
|---|
public DurationComponent()
| Method Detail |
|---|
public int getValue()
public void setValue(int value)
public String getUnit()
public void setUnit(String unit)
public String getOptionList()
public void setOptionList(String optionList)
public DurationComponent.TimeUnit[] getUnitOptions()
public void setUnitOptions(DurationComponent.TimeUnit[] unitOptions)
public long getMillis()
public String getFamily()
getFamily in class javax.faces.component.UIComponentpublic Object saveState(javax.faces.context.FacesContext facesContext)
saveState in interface javax.faces.component.StateHoldersaveState in class javax.faces.component.UIComponentBase
public void restoreState(javax.faces.context.FacesContext context,
Object stateValues)
restoreState in interface javax.faces.component.StateHolderrestoreState in class javax.faces.component.UIComponentBase
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||