|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.cabo.servlet.event.AbstractDataEventHandler | +--oracle.cabo.servlet.event.SetEventHandler
Sets a property value on a target MutableDataObject.
Constructor Summary | |
SetEventHandler()
|
Method Summary | |
EventResult |
doHandleEvent(BajaContext context,
Page page,
PageEvent event)
Handle an event. |
java.lang.String |
getProperty()
|
protected java.lang.String |
getProperty(BajaContext context)
|
java.lang.Object |
getTarget()
|
protected java.lang.Object |
getTarget(BajaContext context)
|
java.lang.Object |
getValue()
|
protected java.lang.Object |
getValue(BajaContext context)
|
void |
setProperty(java.lang.String property)
|
void |
setPropertyBinding(BoundValue property)
|
void |
setTarget(java.lang.Object target)
|
void |
setTargetBinding(BoundValue target)
|
void |
setValue(java.lang.Object value)
|
void |
setValueBinding(BoundValue value)
|
Methods inherited from class oracle.cabo.servlet.event.AbstractDataEventHandler |
getAttributeInternal, getAttributeValue, getAttributeValue, getRenderingContext, handleEvent, postHandleEvent, preHandleEvent, setAttributeBinding, setAttributeInternal, setAttributeValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SetEventHandler()
Method Detail |
public EventResult doHandleEvent(BajaContext context, Page page, PageEvent event) throws java.lang.Throwable
AbstractDataEventHandler
EventResult
object that encapsulates the resulsts. If handleEvent()
returns null, the PageBroker
will simply redisplay
the same page. Otherwise, the result will be passed to the
PageFlowEngine
to determine the Page
to
render.
Clients should implement this method, instead of handleEvent
,
to perform the actual event handling logic.
Note: while the Page
object is mutable, any calls
that set properties, etc., will be ignored unless the Page
is itself returned inside the EventResult
.
doHandleEvent
in class AbstractDataEventHandler
oracle.cabo.servlet.event.AbstractDataEventHandler
context
- the BajaContextpage
- the page the client is requestingevent
- the event on that page, or null if the client
is just requesting a page displayjava.lang.Throwable
- if any processing of the event failspublic final java.lang.Object getTarget()
public final void setTarget(java.lang.Object target)
public final void setTargetBinding(BoundValue target)
public final java.lang.String getProperty()
public final void setProperty(java.lang.String property)
public final void setPropertyBinding(BoundValue property)
public final java.lang.Object getValue()
public final void setValue(java.lang.Object value)
public final void setValueBinding(BoundValue value)
protected final java.lang.Object getTarget(BajaContext context)
protected java.lang.String getProperty(BajaContext context)
protected java.lang.Object getValue(BajaContext context)
|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |