|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter 11g Release 1 (11.1.1.4.0) E15995-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.adf.view.page.editor.event.PageEditorEvent
oracle.adf.view.page.editor.event.SelectionEvent
public class SelectionEvent
A SelectionEvent
is a notification that a component is selected using the various means Oracle Composer supports. These include selection on the page, the Structure Navigator etc.
The selected component is the parameter of SelectionEvent
.
Constructor Summary | |
---|---|
SelectionEvent(java.lang.Object source, javax.faces.component.UIComponent selComp) Creates a Selection Event with the client id of the component that is selected. |
Method Summary | |
---|---|
Event |
getEventType() Returns the type of this event. |
javax.faces.component.UIComponent |
getSelectedComponent() Returns the component that is selected. |
java.lang.Object |
getSource() Returns the source of the selection event. |
void |
processListener(PageEditorListener listener) Broadcast this SelectionEvent to the specified PageEditorListener , by whatever mechanism is appropriate. |
Methods inherited from class oracle.adf.view.page.editor.event.PageEditorEvent |
---|
isEventHandled, setEventHandled |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SelectionEvent(java.lang.Object source, javax.faces.component.UIComponent selComp)
selCompClientId
- Client id of the selected component.NullPointerException
- If the given id is null
.Method Detail |
---|
public void processListener(PageEditorListener listener) throws javax.faces.event.AbortProcessingException
SelectionEvent
to the specified PageEditorListener
, by whatever mechanism is appropriate. This is accomplished by calling processSelection
method on SelectionListener
, and passing this SelectionEvent
as a paramter.processListener
in class PageEditorEvent
listener
- PageEditorListener
to send this SelectionEvent
to.javax.faces.event.AbortProcessingException
- Signal Oracle Composer that no further processing on the current event should be performed.public javax.faces.component.UIComponent getSelectedComponent()
UIComponent
of the selected component. If the component with the given id cannot be found, returns null
.public java.lang.Object getSource()
public final Event getEventType()
getEventType
in class PageEditorEvent
Event.COMP_SELECTION_EVENT
.
|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter 11g Release 1 (11.1.1.4.0) E15995-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |