|
|||||||||
| 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
com.esri.adf.web.faces.component.SeparatorControl
public class SeparatorControl
The Separator control is used to separate toolbar items based on the specified separator image, space, or image and space.
| Field Summary | |
|---|---|
static java.lang.String |
COMPONENT_FAMILY
The standard component family for this component. |
static java.lang.String |
COMPONENT_TYPE
The standard component type for this component. |
| Constructor Summary | |
|---|---|
SeparatorControl()
Initializes the Separator Control and sets the renderer type to null. |
|
| Method Summary | |
|---|---|
org.w3c.dom.Element |
generateXML()
Generates an XML representation of the control. |
java.lang.String |
getFamily()
Returns the family of this control. |
java.lang.String |
getImage()
Returns the separator image. |
protected javax.faces.render.Renderer |
getRenderer(javax.faces.context.FacesContext context)
Returns a design-time renderer if the component is used in an IDE. |
java.lang.String |
getStyle()
Returns the style attributes of the Separator control. |
java.lang.String |
getStyleClass()
Returns the file name where the CSS style attributes are defined. |
boolean |
isInit()
Indicates whether the control is initialized. |
void |
restoreState(javax.faces.context.FacesContext facesContext,
java.lang.Object state)
Restores the state of the control. |
java.lang.Object |
saveState(javax.faces.context.FacesContext facesContext)
Saves the state of this control. |
void |
setImage(java.lang.String image)
Sets the separator image for this control. |
void |
setInit(boolean init)
Sets an indicator whether to initialize the control. |
void |
setStyle(java.lang.String style)
Sets the default style for the Separator control. |
void |
setStyleClass(java.lang.String styleClass)
Sets the CSS class name where the CSS style attributes are defined. |
| 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, 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 |
|---|
public static final java.lang.String COMPONENT_FAMILY
public static final java.lang.String COMPONENT_TYPE
| Constructor Detail |
|---|
public SeparatorControl()
| Method Detail |
|---|
public java.lang.String getFamily()
getFamily in class javax.faces.component.UIComponentString- the COMPONENT_FAMILYprotected javax.faces.render.Renderer getRenderer(javax.faces.context.FacesContext context)
getRenderer in class javax.faces.component.UIComponentBasecontext - the FacesContext
Renderer- the renderer objectpublic boolean isInit()
public void setInit(boolean init)
init - if true, initialize the controlpublic java.lang.String getStyle()
String- the style attributespublic void setStyle(java.lang.String style)
style - the default style for the Separator controlpublic java.lang.String getStyleClass()
String- the CSS classpublic void setStyleClass(java.lang.String styleClass)
styleClass - the CSS classpublic java.lang.String getImage()
String- the separator imagepublic void setImage(java.lang.String image)
image - the separator image for this controlpublic java.lang.Object saveState(javax.faces.context.FacesContext facesContext)
saveState in interface javax.faces.component.StateHoldersaveState in class javax.faces.component.UIComponentBasefacesContext - the associated FacesContext
Object- the object to be saved
public void restoreState(javax.faces.context.FacesContext facesContext,
java.lang.Object state)
restoreState in interface javax.faces.component.StateHolderrestoreState in class javax.faces.component.UIComponentBasefacesContext - the associated FacesContextstate - the object from which to restore the state of the controlpublic org.w3c.dom.Element generateXML()
generateXML in interface ToolbarItemElement- the XML element of the control
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||