|
|||||||||
| 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.UICommand
com.esri.adf.web.faces.component.TaskControl
public class TaskControl
| 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. |
static java.lang.String |
DEFAULT_XSL_FILE_NAME
The name of the XSL file used to render this control by default. |
| Constructor Summary | |
|---|---|
TaskControl()
Initializes the TaskControl. |
|
| Method Summary | |
|---|---|
java.lang.String |
getFamily()
Returns the family of this control. |
java.lang.String |
getMapId()
Returns the map control id associated with the control. |
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 toolbar control. |
java.lang.String |
getStyleClass()
Returns the file name where the CSS style attributes are defined. |
java.lang.Object |
getTask()
Returns the Object task bean associated with this control. |
TaskInfo |
getTaskInfo()
Return the task info object by introspecting the task bean. |
java.lang.Class |
getTaskInfoClass()
Returns the task info class. |
java.net.URL |
getXslUrl()
Returns the URL of the XSL file used to render the control. |
boolean |
isClientPostBack()
Indicates whether the control supports client side post back. |
boolean |
isInit()
Returns an indicator whether this control is initialized. |
boolean |
isWindowingSupport()
Indicates whether the control should display in a window object or not. |
void |
processAction(javax.faces.event.ActionEvent event)
Processes an action fired by this control. |
void |
processToolAction(java.lang.String toolName,
MapEvent event)
|
TaskEvent |
queueTaskEvent(javax.faces.context.FacesContext facesContext,
java.lang.Object task,
TaskActionDescriptorModel action)
|
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 |
setClientPostBack(boolean clientPostBack)
Sets whether the control supports client side post back. |
void |
setInit(boolean init)
Sets an indicator whether to initialize the control. |
void |
setMapId(java.lang.String mapId)
Sets the control ID. |
void |
setStyle(java.lang.String style)
Sets the default style for the toolbar control. |
void |
setStyleClass(java.lang.String styleClass)
Sets the CSS class name where the CSS style attributes are defined. |
void |
setTaskInfoClass(java.lang.Class taskInfoClass)
Sets the task info class. |
void |
setTaskInfoXML(java.net.URL url)
|
void |
setValueBinding(java.lang.String name,
javax.faces.el.ValueBinding binding)
Sets the value binding. |
void |
setWindowingSupport(boolean windowingSupport)
Sets whether the control should display in a window object or not. |
void |
setXslUrl(java.net.URL xslUrl)
Sets the URL of the XSL file used to render the control. |
| Methods inherited from class javax.faces.component.UICommand |
|---|
addActionListener, broadcast, getAction, getActionListener, getActionListeners, getValue, isImmediate, queueEvent, removeActionListener, setAction, setActionListener, setImmediate, setValue |
| Methods inherited from class javax.faces.component.UIComponentBase |
|---|
addFacesListener, 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, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient |
| 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
public static final java.lang.String DEFAULT_XSL_FILE_NAME
| Constructor Detail |
|---|
public TaskControl()
| Method Detail |
|---|
public java.lang.String getFamily()
getFamily in class javax.faces.component.UICommandString- 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 object
public void processToolAction(java.lang.String toolName,
MapEvent event)
public void processAction(javax.faces.event.ActionEvent event)
throws javax.faces.event.AbortProcessingException
processAction in interface javax.faces.event.ActionListenerevent - the ActionEvent
javax.faces.event.AbortProcessingException - if the task results can not be fetched
public TaskEvent queueTaskEvent(javax.faces.context.FacesContext facesContext,
java.lang.Object task,
TaskActionDescriptorModel action)
public java.lang.Object getTask()
Object task bean associated with this control.
Object- the task bean associated with this controlpublic TaskInfo getTaskInfo()
TaskInfo- the task info objectpublic java.lang.Class getTaskInfoClass()
Class- the task info classpublic void setTaskInfoClass(java.lang.Class taskInfoClass)
taskInfoClass - the task info classpublic void setTaskInfoXML(java.net.URL url)
public void setInit(boolean init)
init - if true, initialize the controlpublic boolean isInit()
public java.lang.String getMapId()
String - the map control idpublic void setMapId(java.lang.String mapId)
mapId - the map control id
public void setValueBinding(java.lang.String name,
javax.faces.el.ValueBinding binding)
setValueBinding in class javax.faces.component.UIComponentBasename - the name of the attribute or property for which to set a ValueBindingbinding - the ValueBinding to set. If null, remove any currently set ValueBinding.public void setXslUrl(java.net.URL xslUrl)
xslUrl - the URL of the XSL filepublic java.net.URL getXslUrl()
URL- the URL objectpublic java.lang.String getStyle()
String- the style attributespublic void setStyle(java.lang.String style)
style - the default style for the toolbar controlpublic java.lang.String getStyleClass()
String- the CSS classpublic void setStyleClass(java.lang.String styleClass)
styleClass - the CSS classpublic boolean isWindowingSupport()
public void setWindowingSupport(boolean windowingSupport)
windowingSupport - if true, shows this control in a window objectpublic boolean isClientPostBack()
public void setClientPostBack(boolean clientPostBack)
clientPostBack - if true, the client side post back is supportedpublic java.lang.Object saveState(javax.faces.context.FacesContext facesContext)
saveState in interface javax.faces.component.StateHoldersaveState in class javax.faces.component.UICommandfacesContext - 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.UICommandfacesContext - the associated FacesContextstate - the object to restore the state of the control from
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||