|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.faces.component.UIComponent javax.faces.component.UIComponentBase javax.faces.component.UIOutput javax.faces.component.UIInput org.xulfaces.component.XULInput
public class XULInput
Field Summary |
---|
Fields inherited from class javax.faces.component.UIInput |
---|
COMPONENT_FAMILY, COMPONENT_TYPE, CONVERSION_MESSAGE_ID, REQUIRED_MESSAGE_ID |
Constructor Summary | |
---|---|
XULInput()
|
Method Summary | |
---|---|
void |
addActionListener(javax.faces.event.ActionListener listener)
Add a new ActionListener to the set of listeners interested
in being notified when ActionEvent s occur. |
void |
broadcast(javax.faces.event.FacesEvent event)
In addition to to the default UIComponent.broadcast(javax.faces.event.FacesEvent)
processing, pass the ActionEvent being broadcast to the
method referenced by actionListener (if any),
and to the default ActionListener registered on the
Application . |
void |
encodeBegin(javax.faces.context.FacesContext context)
|
void |
encodeEnd(javax.faces.context.FacesContext context)
|
javax.faces.el.MethodBinding |
getAction()
Return the MethodBinding pointing at the application
action to be invoked, if this UIComponent is activated by
the user, during the Apply Request Values or Invoke
Application phase of the request processing lifecycle,
depending on the value of the immediate
property. |
javax.faces.el.MethodBinding |
getActionListener()
Return the MethodBinding pointing at an action
listener method to be invoked, if this UIComponent is
activated by the user, during the Apply Request Values
or Invoke Application phase of the request processing
lifecycle, depending upon the value of the immediate
property. |
javax.faces.event.ActionListener[] |
getActionListeners()
Return the set of registered ActionListener s for this
ActionSource instance. |
java.lang.String |
getAlign()
|
java.lang.Boolean |
getAllowevents()
|
java.lang.Boolean |
getAllownegativeassertions()
|
java.util.List |
getAnnotatedAttributes()
Get annotated attributes infos for rendering purpose. |
java.lang.String |
getCoalesceduplicatearcs()
|
java.lang.Boolean |
getCollapsed()
|
java.lang.Boolean |
getContainer()
|
java.lang.String |
getContainment()
|
java.lang.String |
getContext()
|
java.lang.String |
getContextmenu()
|
java.lang.String |
getDatasources()
|
java.lang.String |
getDir()
|
java.lang.Boolean |
getDisabled()
|
java.lang.Boolean |
getEmpty()
|
java.lang.String |
getEqualsize()
|
java.lang.String |
getFamily()
|
java.lang.String |
getFlags()
|
java.lang.Integer |
getFlex()
|
java.lang.Integer |
getHeight()
|
java.lang.Boolean |
getHidden()
|
java.lang.String |
getInsertafter()
|
java.lang.String |
getInsertbefore()
|
java.lang.Integer |
getLeft()
|
java.lang.Integer |
getMaxheight()
|
java.lang.Integer |
getMaxwidth()
|
java.lang.String |
getMenu()
|
javax.faces.el.MethodBinding |
getMethodBinding(java.lang.String name)
Get method binding for name. |
java.lang.Integer |
getMinheight()
|
java.lang.Integer |
getMinwidth()
|
java.lang.String |
getMousethrough()
|
java.lang.String |
getObserves()
|
java.lang.String |
getOnblur()
|
java.lang.String |
getOnclick()
|
java.lang.String |
getOncommand()
|
java.lang.String |
getOncommandupdate()
|
java.lang.String |
getOncontextmenu()
|
java.lang.String |
getOndblclick()
|
java.lang.String |
getOndragdrop()
|
java.lang.String |
getOndragenter()
|
java.lang.String |
getOndragexit()
|
java.lang.String |
getOndraggesture()
|
java.lang.String |
getOndragover()
|
java.lang.String |
getOnfocus()
|
java.lang.String |
getOnkeydown()
|
java.lang.String |
getOnkeypress()
|
java.lang.String |
getOnkeyup()
|
java.lang.String |
getOnmousedown()
|
java.lang.String |
getOnmousemove()
|
java.lang.String |
getOnmouseout()
|
java.lang.String |
getOnmouseover()
|
java.lang.String |
getOnmouseup()
|
java.lang.String |
getOnunderflow()
|
java.lang.String |
getOrdinal()
|
java.lang.String |
getOrient()
|
java.lang.String |
getPack()
|
java.lang.String |
getPersist()
|
java.lang.String |
getPopup()
|
java.lang.String |
getPosition()
|
java.lang.String |
getPreferenceeditable()
|
java.lang.String |
getRef()
|
java.lang.String |
getRemoveelement()
|
java.lang.String |
getRenderKitId()
|
java.lang.String |
getSortDirection()
|
java.lang.String |
getSortResource()
|
java.lang.String |
getSortResource2()
|
java.lang.String |
getStatustext()
|
java.lang.String |
getStyle()
|
java.lang.String |
getStyleClass()
|
java.lang.String |
getTemplate()
|
java.lang.String |
getTooltip()
|
java.lang.String |
getTooltiptext()
|
java.lang.Integer |
getTop()
|
java.lang.Boolean |
getUpdateSmoothly()
|
java.lang.String |
getUri()
|
java.lang.String |
getWaitcursor()
|
java.lang.Integer |
getWidth()
|
protected boolean |
isAJAXRequest(javax.faces.context.FacesContext facesContext)
|
boolean |
isImmediate()
Return a flag indicating that the default ActionListener
provided by the JavaServer Faces implementation should be executed
immediately (that is, during Apply Request Values phase
of the request processing lifecycle), rather than waiting until the
Invoke Application phase. |
protected boolean |
mustEncode(javax.faces.context.FacesContext facesContext)
|
boolean |
needsUpdate()
|
void |
queueEvent(javax.faces.event.FacesEvent facesEvent)
Intercept queueEvent and, for ActionEvent s,
mark the phaseId for the event to be
PhaseId.APPLY_REQUEST_VALUES if the
immediate flag is true,
PhaseId.INVOKE_APPLICATION otherwise. |
void |
removeActionListener(javax.faces.event.ActionListener listener)
Remove an existing ActionListener (if any) from the set of
listeners interested in being notified when ActionEvent s
occur. |
void |
restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
|
java.lang.Object |
saveState(javax.faces.context.FacesContext context)
|
void |
setAction(javax.faces.el.MethodBinding action)
Set the MethodBinding pointing at the appication
action to be invoked, if this UIComponent is activated by
the user, during the Apply Request Values or Invoke
Application phase of the request processing lifecycle,
depending on the value of the immediate
property. |
void |
setActionListener(javax.faces.el.MethodBinding actionListener)
Set the MethodBinding pointing at an action listener
method to be invoked, if this UIComponent is activated by
the user, during the Apply Request Values or Invoke
Application phase of the request processing lifecycle,
depending upon the value of the immmediate
property. |
void |
setAlign(java.lang.String value)
|
void |
setAllowevents(java.lang.Boolean value)
|
void |
setAllownegativeassertions(java.lang.Boolean value)
|
void |
setCoalesceduplicatearcs(java.lang.String value)
|
void |
setCollapsed(java.lang.Boolean value)
|
void |
setContainer(java.lang.Boolean value)
|
void |
setContainment(java.lang.String value)
|
void |
setContext(java.lang.String value)
|
void |
setContextmenu(java.lang.String value)
|
void |
setDatasources(java.lang.String value)
|
void |
setDir(java.lang.String value)
|
void |
setDisabled(java.lang.Boolean value)
|
void |
setEmpty(java.lang.Boolean value)
|
void |
setEqualsize(java.lang.String value)
|
void |
setFlags(java.lang.String value)
|
void |
setFlex(java.lang.Integer value)
|
void |
setHeight(java.lang.Integer value)
|
void |
setHidden(java.lang.Boolean value)
|
void |
setImmediate(boolean immediate)
Set the "immediate execution" flag for this UIComponent . |
void |
setInsertafter(java.lang.String value)
|
void |
setInsertbefore(java.lang.String value)
|
void |
setLeft(java.lang.Integer value)
|
void |
setMaxheight(java.lang.Integer value)
|
void |
setMaxwidth(java.lang.Integer value)
|
void |
setMenu(java.lang.String value)
|
void |
setMethodBinding(java.lang.String name,
javax.faces.el.MethodBinding binding)
Put the method binding for attribute name in method bindings map. |
void |
setMinheight(java.lang.Integer value)
|
void |
setMinwidth(java.lang.Integer value)
|
void |
setMousethrough(java.lang.String value)
|
void |
setObserves(java.lang.String value)
|
void |
setOnblur(java.lang.String value)
|
void |
setOnclick(java.lang.String value)
|
void |
setOncommand(java.lang.String value)
|
void |
setOncommandupdate(java.lang.String value)
|
void |
setOncontextmenu(java.lang.String value)
|
void |
setOndblclick(java.lang.String value)
|
void |
setOndragdrop(java.lang.String value)
|
void |
setOndragenter(java.lang.String value)
|
void |
setOndragexit(java.lang.String value)
|
void |
setOndraggesture(java.lang.String value)
|
void |
setOndragover(java.lang.String value)
|
void |
setOnfocus(java.lang.String value)
|
void |
setOnkeydown(java.lang.String value)
|
void |
setOnkeypress(java.lang.String value)
|
void |
setOnkeyup(java.lang.String value)
|
void |
setOnmousedown(java.lang.String value)
|
void |
setOnmousemove(java.lang.String value)
|
void |
setOnmouseout(java.lang.String value)
|
void |
setOnmouseover(java.lang.String value)
|
void |
setOnmouseup(java.lang.String value)
|
void |
setOnunderflow(java.lang.String value)
|
void |
setOrdinal(java.lang.String value)
|
void |
setOrient(java.lang.String value)
|
void |
setPack(java.lang.String value)
|
void |
setPersist(java.lang.String value)
|
void |
setPopup(java.lang.String value)
|
void |
setPosition(java.lang.String value)
|
void |
setPreferenceeditable(java.lang.String value)
|
void |
setRef(java.lang.String value)
|
void |
setRemoveelement(java.lang.String value)
|
void |
setSortDirection(java.lang.String value)
|
void |
setSortResource(java.lang.String value)
|
void |
setSortResource2(java.lang.String value)
|
void |
setStatustext(java.lang.String value)
|
void |
setStyle(java.lang.String value)
|
void |
setStyleClass(java.lang.String value)
|
void |
setTemplate(java.lang.String value)
|
void |
setTooltip(java.lang.String value)
|
void |
setTooltiptext(java.lang.String value)
|
void |
setTop(java.lang.Integer value)
|
void |
setUpdateSmoothly(java.lang.Boolean value)
|
void |
setUri(java.lang.String value)
|
void |
setWaitcursor(java.lang.String value)
|
void |
setWidth(java.lang.Integer value)
|
Methods inherited from class javax.faces.component.UIInput |
---|
addValidator, addValueChangeListener, compareValues, decode, getConvertedValue, getSubmittedValue, getValidator, getValidators, getValueChangeListener, getValueChangeListeners, isLocalValueSet, isRequired, isValid, processDecodes, processUpdates, processValidators, removeValidator, removeValueChangeListener, resetValue, setLocalValueSet, setRequired, setSubmittedValue, setValid, setValidator, setValue, setValueChangeListener, updateModel, validate, validateValue |
Methods inherited from class javax.faces.component.UIOutput |
---|
getConverter, getLocalValue, getValue, setConverter |
Methods inherited from class javax.faces.component.UIComponentBase |
---|
addFacesListener, encodeAll, encodeChildren, findComponent, getAttributes, getChildCount, getChildren, getClientId, getContainerClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processRestoreState, processSaveState, 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 |
Methods inherited from interface javax.faces.component.ValueHolder |
---|
getConverter, getLocalValue, getValue, setConverter |
Constructor Detail |
---|
public XULInput()
Method Detail |
---|
public java.util.List getAnnotatedAttributes()
Get annotated attributes infos for rendering purpose.
public java.lang.String getFamily()
getFamily
in class javax.faces.component.UIInput
public java.lang.String getRenderKitId()
public boolean needsUpdate()
needsUpdate
in interface SmoothlyUpdateable
protected boolean mustEncode(javax.faces.context.FacesContext facesContext)
protected boolean isAJAXRequest(javax.faces.context.FacesContext facesContext)
public void encodeBegin(javax.faces.context.FacesContext context) throws java.io.IOException
encodeBegin
in class javax.faces.component.UIComponentBase
java.io.IOException
public void encodeEnd(javax.faces.context.FacesContext context) throws java.io.IOException
encodeEnd
in class javax.faces.component.UIComponentBase
java.io.IOException
public javax.faces.el.MethodBinding getMethodBinding(java.lang.String name)
Get method binding for name.
getMethodBinding
in interface MultiActionSource
Name
- of the attribute
null
.public void setMethodBinding(java.lang.String name, javax.faces.el.MethodBinding binding)
Put the method binding for attribute name in method bindings map.
null
,id and parent attribute names are forbidden.
setMethodBinding
in interface MultiActionSource
name
- The attribute namebinding
- The method binding
java.lang.NullPointerException
- if name is null
java.lang.IllegalArgumentException
- if name is id or parentpublic void addActionListener(javax.faces.event.ActionListener listener)
Add a new ActionListener
to the set of listeners interested
in being notified when ActionEvent
s occur.
addActionListener
in interface javax.faces.component.ActionSource
listener
- The ActionListener
to be added
java.lang.NullPointerException
- if listener
is null
public javax.faces.event.ActionListener[] getActionListeners()
Return the set of registered ActionListener
s for this
ActionSource
instance. If there are no registered listeners,
a zero-length array is returned.
getActionListeners
in interface javax.faces.component.ActionSource
public void removeActionListener(javax.faces.event.ActionListener listener)
Remove an existing ActionListener
(if any) from the set of
listeners interested in being notified when ActionEvent
s
occur.
removeActionListener
in interface javax.faces.component.ActionSource
listener
- The ActionListener
to be removed
java.lang.NullPointerException
- if listener
is null
public javax.faces.el.MethodBinding getAction()
Return the MethodBinding
pointing at the application
action to be invoked, if this UIComponent
is activated by
the user, during the Apply Request Values or Invoke
Application phase of the request processing lifecycle,
depending on the value of the immediate
property.
getAction
in interface javax.faces.component.ActionSource
public boolean isImmediate()
Return a flag indicating that the default ActionListener
provided by the JavaServer Faces implementation should be executed
immediately (that is, during Apply Request Values phase
of the request processing lifecycle), rather than waiting until the
Invoke Application phase. The default value for this
property must be false
.
isImmediate
in interface javax.faces.component.ActionSource
isImmediate
in interface javax.faces.component.EditableValueHolder
isImmediate
in class javax.faces.component.UIInput
public void setAction(javax.faces.el.MethodBinding action)
Set the MethodBinding
pointing at the appication
action to be invoked, if this UIComponent
is activated by
the user, during the Apply Request Values or Invoke
Application phase of the request processing lifecycle,
depending on the value of the immediate
property.
Any method referenced by such an expression must be public, with
a return type of String
, and accept no parameters.
setAction
in interface javax.faces.component.ActionSource
action
- The new MethodBinding expressionpublic void setActionListener(javax.faces.el.MethodBinding actionListener)
Set the MethodBinding
pointing at an action listener
method to be invoked, if this UIComponent
is activated by
the user, during the Apply Request Values or Invoke
Application phase of the request processing lifecycle,
depending upon the value of the immmediate
property.
Any method referenced by such an expression must be public, with
a return type of void
, and accept a single parameter of
type ActionEvent
.
setActionListener
in interface javax.faces.component.ActionSource
actionListener
- The new method binding expressionpublic javax.faces.el.MethodBinding getActionListener()
Return the MethodBinding
pointing at an action
listener method to be invoked, if this UIComponent
is
activated by the user, during the Apply Request Values
or Invoke Application phase of the request processing
lifecycle, depending upon the value of the immediate
property.
getActionListener
in interface javax.faces.component.ActionSource
public void setImmediate(boolean immediate)
Set the "immediate execution" flag for this UIComponent
.
setImmediate
in interface javax.faces.component.ActionSource
setImmediate
in interface javax.faces.component.EditableValueHolder
setImmediate
in class javax.faces.component.UIInput
immediate
- The new immediate execution flagpublic void queueEvent(javax.faces.event.FacesEvent facesEvent)
Intercept queueEvent
and, for ActionEvent
s,
mark the phaseId for the event to be
PhaseId.APPLY_REQUEST_VALUES
if the
immediate
flag is true,
PhaseId.INVOKE_APPLICATION
otherwise.
queueEvent
in class javax.faces.component.UIComponentBase
public void broadcast(javax.faces.event.FacesEvent event) throws javax.faces.event.AbortProcessingException
In addition to to the default UIComponent.broadcast(javax.faces.event.FacesEvent)
processing, pass the ActionEvent
being broadcast to the
method referenced by actionListener
(if any),
and to the default ActionListener
registered on the
Application
.
broadcast
in class javax.faces.component.UIInput
event
- FacesEvent
to be broadcast
javax.faces.event.AbortProcessingException
- Signal the JavaServer Faces
implementation that no further processing on the current event
should be performed
java.lang.IllegalArgumentException
- if the implementation class
of this FacesEvent
is not supported by this component
java.lang.NullPointerException
- if event
is
null
public java.lang.String getAlign()
public void setAlign(java.lang.String value)
public java.lang.Boolean getAllowevents()
public void setAllowevents(java.lang.Boolean value)
public java.lang.Boolean getAllownegativeassertions()
public void setAllownegativeassertions(java.lang.Boolean value)
public java.lang.String getCoalesceduplicatearcs()
public void setCoalesceduplicatearcs(java.lang.String value)
public java.lang.Boolean getCollapsed()
public void setCollapsed(java.lang.Boolean value)
public java.lang.Boolean getContainer()
public void setContainer(java.lang.Boolean value)
public java.lang.String getContainment()
public void setContainment(java.lang.String value)
public java.lang.String getContext()
public void setContext(java.lang.String value)
public java.lang.String getContextmenu()
public void setContextmenu(java.lang.String value)
public java.lang.String getDatasources()
public void setDatasources(java.lang.String value)
public java.lang.String getDir()
public void setDir(java.lang.String value)
public java.lang.Boolean getDisabled()
public void setDisabled(java.lang.Boolean value)
public java.lang.Boolean getEmpty()
public void setEmpty(java.lang.Boolean value)
public java.lang.String getEqualsize()
public void setEqualsize(java.lang.String value)
public java.lang.String getFlags()
public void setFlags(java.lang.String value)
public java.lang.Integer getFlex()
public void setFlex(java.lang.Integer value)
public java.lang.Integer getHeight()
public void setHeight(java.lang.Integer value)
public java.lang.Boolean getHidden()
public void setHidden(java.lang.Boolean value)
public java.lang.String getInsertafter()
public void setInsertafter(java.lang.String value)
public java.lang.String getInsertbefore()
public void setInsertbefore(java.lang.String value)
public java.lang.Integer getLeft()
public void setLeft(java.lang.Integer value)
public java.lang.Integer getMaxheight()
public void setMaxheight(java.lang.Integer value)
public java.lang.Integer getMaxwidth()
public void setMaxwidth(java.lang.Integer value)
public java.lang.String getMenu()
public void setMenu(java.lang.String value)
public java.lang.Integer getMinheight()
public void setMinheight(java.lang.Integer value)
public java.lang.Integer getMinwidth()
public void setMinwidth(java.lang.Integer value)
public java.lang.String getMousethrough()
public void setMousethrough(java.lang.String value)
public java.lang.String getObserves()
public void setObserves(java.lang.String value)
public java.lang.String getOnblur()
public void setOnblur(java.lang.String value)
public java.lang.String getOnclick()
public void setOnclick(java.lang.String value)
public java.lang.String getOncommand()
public void setOncommand(java.lang.String value)
public java.lang.String getOncommandupdate()
public void setOncommandupdate(java.lang.String value)
public java.lang.String getOncontextmenu()
public void setOncontextmenu(java.lang.String value)
public java.lang.String getOndblclick()
public void setOndblclick(java.lang.String value)
public java.lang.String getOndragdrop()
public void setOndragdrop(java.lang.String value)
public java.lang.String getOndragenter()
public void setOndragenter(java.lang.String value)
public java.lang.String getOndragexit()
public void setOndragexit(java.lang.String value)
public java.lang.String getOndraggesture()
public void setOndraggesture(java.lang.String value)
public java.lang.String getOndragover()
public void setOndragover(java.lang.String value)
public java.lang.String getOnfocus()
public void setOnfocus(java.lang.String value)
public java.lang.String getOnkeydown()
public void setOnkeydown(java.lang.String value)
public java.lang.String getOnkeypress()
public void setOnkeypress(java.lang.String value)
public java.lang.String getOnkeyup()
public void setOnkeyup(java.lang.String value)
public java.lang.String getOnmousedown()
public void setOnmousedown(java.lang.String value)
public java.lang.String getOnmousemove()
public void setOnmousemove(java.lang.String value)
public java.lang.String getOnmouseout()
public void setOnmouseout(java.lang.String value)
public java.lang.String getOnmouseover()
public void setOnmouseover(java.lang.String value)
public java.lang.String getOnmouseup()
public void setOnmouseup(java.lang.String value)
public java.lang.String getOnunderflow()
public void setOnunderflow(java.lang.String value)
public java.lang.String getOrdinal()
public void setOrdinal(java.lang.String value)
public java.lang.String getOrient()
public void setOrient(java.lang.String value)
public java.lang.String getPack()
public void setPack(java.lang.String value)
public java.lang.String getPersist()
public void setPersist(java.lang.String value)
public java.lang.String getPopup()
public void setPopup(java.lang.String value)
public java.lang.String getPosition()
public void setPosition(java.lang.String value)
public java.lang.String getPreferenceeditable()
public void setPreferenceeditable(java.lang.String value)
public java.lang.String getRef()
public void setRef(java.lang.String value)
public java.lang.String getRemoveelement()
public void setRemoveelement(java.lang.String value)
public java.lang.String getSortDirection()
public void setSortDirection(java.lang.String value)
public java.lang.String getSortResource()
public void setSortResource(java.lang.String value)
public java.lang.String getSortResource2()
public void setSortResource2(java.lang.String value)
public java.lang.String getStatustext()
public void setStatustext(java.lang.String value)
public java.lang.String getStyle()
public void setStyle(java.lang.String value)
public java.lang.String getStyleClass()
public void setStyleClass(java.lang.String value)
public java.lang.String getTemplate()
public void setTemplate(java.lang.String value)
public java.lang.String getTooltip()
public void setTooltip(java.lang.String value)
public java.lang.String getTooltiptext()
public void setTooltiptext(java.lang.String value)
public java.lang.Integer getTop()
public void setTop(java.lang.Integer value)
public java.lang.Boolean getUpdateSmoothly()
public void setUpdateSmoothly(java.lang.Boolean value)
public java.lang.String getUri()
public void setUri(java.lang.String value)
public java.lang.String getWaitcursor()
public void setWaitcursor(java.lang.String value)
public java.lang.Integer getWidth()
public void setWidth(java.lang.Integer value)
public java.lang.Object saveState(javax.faces.context.FacesContext context)
saveState
in interface javax.faces.component.StateHolder
saveState
in class javax.faces.component.UIInput
public void restoreState(javax.faces.context.FacesContext context, java.lang.Object state)
restoreState
in interface javax.faces.component.StateHolder
restoreState
in class javax.faces.component.UIInput
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |