com.sun.rave.web.ui.component
Class Alert

java.lang.Object
  extended byjavax.faces.component.UIComponent
      extended byjavax.faces.component.UIComponentBase
          extended byjavax.faces.component.UIOutput
              extended bycom.sun.rave.web.ui.component.AlertBase
                  extended bycom.sun.rave.web.ui.component.Alert
All Implemented Interfaces:
javax.faces.component.StateHolder, javax.faces.component.ValueHolder

public class Alert
extends AlertBase

The inline Alert component.


Field Summary
static java.lang.String ALERT_IMAGE_FACET
          String for the appended id of the facet name for image
static java.lang.String ALERT_LINK_FACET
          String for the appended id of the facet name for the link
 
Fields inherited from class javax.faces.component.UIOutput
COMPONENT_FAMILY, COMPONENT_TYPE
 
Constructor Summary
Alert()
           
 
Method Summary
 javax.faces.component.UIComponent getAlertIcon()
          Gets the alert icon facet for this component.
 javax.faces.component.UIComponent getAlertLink()
          Gets the alert hyperlink facet for this component.
 
Methods inherited from class com.sun.rave.web.ui.component.AlertBase
getAlt, getDetail, getFamily, getLinkAction, getLinkTarget, getLinkText, getLinkToolTip, getLinkURL, getStyle, getStyleClass, getSummary, getTabIndex, getType, isVisible, restoreState, saveState, setAlt, setDetail, setLinkAction, setLinkTarget, setLinkText, setLinkToolTip, setLinkURL, setStyle, setStyleClass, setSummary, setTabIndex, setType, setVisible
 
Methods inherited from class javax.faces.component.UIOutput
getConverter, getLocalValue, getValue, setConverter, setValue
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ALERT_IMAGE_FACET

public static final java.lang.String ALERT_IMAGE_FACET
String for the appended id of the facet name for image

See Also:
Constant Field Values

ALERT_LINK_FACET

public static final java.lang.String ALERT_LINK_FACET
String for the appended id of the facet name for the link

See Also:
Constant Field Values
Constructor Detail

Alert

public Alert()
Method Detail

getAlertIcon

public javax.faces.component.UIComponent getAlertIcon()
Gets the alert icon facet for this component. If none exists it will create one with the appropriate type. The default is a warning icon.

Returns:
always returns an icon component, will return a facet if it exists or a newly created one if it doesn't

getAlertLink

public javax.faces.component.UIComponent getAlertLink()
Gets the alert hyperlink facet for this component. If none exists it will create one with the appropriate type. The default is a warning icon. If the facet id is the internal facet id, it will update the links and text If the facet id is any other id then this component will just return the facet

Returns:
always returns a Hyperlink component, will return a facet if it exists or a newly created one if it doesn't