|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal 11g Release 1 (11.1.1.9.0) E15995-08 |
||||||||
| 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.ModeChangeEvent
public class ModeChangeEvent
A ModeChangeEvent is a notification that the end-user has switched to edit mode from view mode.
| Constructor Summary | |
|---|---|
ModeChangeEvent(java.lang.String newMode, java.lang.String oldMode) |
|
| Method Summary | |
|---|---|
Event |
getEventType()Returns the type of this event. |
java.lang.String |
getNewMode()Returns new mode when mode is changed from edit to view or viceversa. |
java.lang.String |
getOldMode()Returns the old mode when mode is changed from edit to view or viceversa. |
void |
processListener(PageEditorListener listener)Calling this method throws UnsupportedOperationException Method is not supported for ModeChangeEvent. |
| 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 ModeChangeEvent(java.lang.String newMode,
java.lang.String oldMode)
| Method Detail |
|---|
public final Event getEventType()
getEventType in class PageEditorEventEvent.EDIT_MODE_EVENT.
public void processListener(PageEditorListener listener)
throws javax.faces.event.AbortProcessingException
UnsupportedOperationException Method is not supported for ModeChangeEvent.processListener in class PageEditorEventlistener - PageEditorListener to send this CloseEvent to.javax.faces.event.AbortProcessingException - Signal Page Editor that no further processing on the current event should be performed.public java.lang.String getOldMode()
ModeContext.EDIT_MODE if the current mode is Edit and switching to View mode. Returns ModeContext.VIEW_MODE if the current mode is View and switching to Edit mode.public java.lang.String getNewMode()
ModeContext.VIEW_MODE if the current mode is Edit and switching to View mode. Returns ModeContext.EDIT_MODE if the current mode is View and switching to Edit mode.
|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal 11g Release 1 (11.1.1.9.0) E15995-08 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||