|
||||||||||
| 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
javax.faces.component.UIGraphic
com.sun.rave.web.ui.component.ImageComponentBase
com.sun.rave.web.ui.component.ImageComponent
com.sun.rave.web.ui.component.AlarmBase
com.sun.rave.web.ui.component.Alarm
public class Alarm
Defines a component for displaying an alarm icon based on the alarm seveirty.
| Field Summary | |
|---|---|
static java.lang.String |
DEFAULT_SEVERITY
|
static java.lang.String |
SEVERITY_CRITICAL
|
static java.lang.String |
SEVERITY_DOWN
Severity of an alarm. |
static java.lang.String |
SEVERITY_MAJOR
|
static java.lang.String |
SEVERITY_MINOR
|
static java.lang.String |
SEVERITY_OK
|
| Fields inherited from class javax.faces.component.UIGraphic |
|---|
COMPONENT_FAMILY, COMPONENT_TYPE |
| Fields inherited from class javax.faces.component.UIComponent |
|---|
bindings |
| Constructor Summary | |
|---|---|
Alarm()
Default constructor. |
|
Alarm(java.lang.String severity)
Create an instance with the given severity. |
|
| Method Summary | |
|---|---|
int |
compare(java.lang.Object o1,
java.lang.Object o2)
Compare the given objects for severity order. |
boolean |
equals(java.lang.Object o)
Indicates whether some other object is "equal to" this Comparator. |
| Methods inherited from class com.sun.rave.web.ui.component.AlarmBase |
|---|
getAlt, getFamily, getOnClick, getOnDblClick, getOnKeyDown, getOnKeyPress, getOnKeyUp, getOnMouseDown, getOnMouseMove, getOnMouseOut, getOnMouseOver, getOnMouseUp, getSeverity, getStyle, getStyleClass, getToolTip, isVisible, restoreState, saveState, setAlt, setOnClick, setOnDblClick, setOnKeyDown, setOnKeyPress, setOnKeyUp, setOnMouseDown, setOnMouseMove, setOnMouseOut, setOnMouseOver, setOnMouseUp, setSeverity, setStyle, setStyleClass, setToolTip, setVisible |
| Methods inherited from class com.sun.rave.web.ui.component.ImageComponentBase |
|---|
getAlign, getBorder, getHeight, getHspace, getIcon, getLongDesc, getUrl, getValueBinding, getVspace, getWidth, setAlign, setBorder, setHeight, setHspace, setIcon, setLongDesc, setUrl, setValueBinding, setVspace, setWidth |
| Methods inherited from class javax.faces.component.UIGraphic |
|---|
getValue, getValueExpression, setValue, setValueExpression |
| 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, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient |
| Methods inherited from class javax.faces.component.UIComponent |
|---|
encodeAll, getContainerClientId |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String SEVERITY_DOWN
public static final java.lang.String SEVERITY_CRITICAL
public static final java.lang.String SEVERITY_MAJOR
public static final java.lang.String SEVERITY_MINOR
public static final java.lang.String SEVERITY_OK
public static final java.lang.String DEFAULT_SEVERITY
| Constructor Detail |
|---|
public Alarm()
public Alarm(java.lang.String severity)
| Method Detail |
|---|
public int compare(java.lang.Object o1,
java.lang.Object o2)
throws java.lang.ClassCastException
compare in interface java.util.Comparatorjava.lang.ClassCastException
public boolean equals(java.lang.Object o)
throws java.lang.ClassCastException
equals in interface java.util.Comparatorequals in class java.lang.Objectjava.lang.ClassCastException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||