| java.lang.Object com.sun.rave.web.ui.component.util.event.HandlerContextImpl
HandlerContextImpl | public class HandlerContextImpl implements HandlerContext(Code) | | author: Ken Paulsen (ken.paulsen@sun.com) |
HandlerContextImpl | public HandlerContextImpl(HandlerContext context)(Code) | | Constructor that gets all its values from the given
HandlerContext.
Parameters: context - The HandlerContext to clone. |
getEventObject | public EventObject getEventObject()(Code) | | Accessor for the EventObject associated with this Handler. This
may be null if an EventObject was not created for this handler.
An EventObject, if it does exist, may provide additional details
describing the context in which this Event is invoked.
|
getEventType | public String getEventType()(Code) | | This method provides access to the EventType. This is mostly
helpful for diagnostics, but may be used in a handler to determine
more information about the context in which the code is
executing.
|
getFacesContext | public FacesContext getFacesContext()(Code) | | Accessor for the FacesContext.
FacesContext |
getHandler | public Handler getHandler()(Code) | | Accessor for the Handler descriptor for this Handler. The Handler
descriptor object contains specific meta information describing
the invocation of this handler. This includes details such as
input values, and where output values are to be set.
|
getHandlerDefinition | public HandlerDefinition getHandlerDefinition()(Code) | | Accessor for the Handler descriptor for this Handler. The
HandlerDefinition descriptor contains meta information about the
actual Java handler that will handle the processing. This
includes the inputs required, outputs produces, and the types for
both.
|
getInputValue | public Object getInputValue(String name)(Code) | | This method returns the value for the named input. Input values
are not stored in this HandlerContext itself, but in the Handler.
If you are trying to set input values for a handler, you must
create a new Handler object and set its input values.
This method attempts to resolve $...{...} expressions. It also
will return the default value if the value is null. If you don't
want these things to happen, look at
Handler.getInputValue(String).
Parameters: name - The input name The value of the input (null if not found) |
getLayoutElement | public LayoutElement getLayoutElement()(Code) | | Accessor for the LayoutElement associated with this Handler.
|
getOutputValue | public Object getOutputValue(String name)(Code) | | This method retrieves an Output value. Output values must not be
stored in this Context itself (remember HandlerContext objects
are shared). Output values are stored according to what is
specified in the HandlerDefintion.
Parameters: name - The output name The value of the output (null if not found) |
setHandler | public void setHandler(Handler handler)(Code) | | Setter for the Handler descriptor for this Handler.
|
setOutputValue | public void setOutputValue(String name, Object value)(Code) | | This method sets an Output value. Output values must not be
stored in this Context itself (remember HandlerContext objects
are shared). Output values are stored according to what is
specified in the HandlerDefintion.
|
|
|