|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.5.0) E13403-06 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ApplyListener
This interface defines the messages that are sent in association with applying or canceling from a NavigableUIContainer
.
If the UI container is editing a copy of the original data in order to support cancel, an ApplyListener
should be registered that is responsible for applying changes from the edited data copy back to the original data structure.
Method Summary | |
---|---|
void |
apply(ApplyEvent e) This method is called when the changes made in the NavigableUIContainer are to be committed to the original data structures. |
void |
cancel(ApplyEvent e) This method is called when the changes made in the NavigableUIContainer are to be discarded. |
Method Detail |
---|
void apply(ApplyEvent e)
NavigableUIContainer
are to be committed to the original data structures. This normally occurs when the user pushes the "OK", "Apply", or "Finish" button.
This method is called as soon as the user's action is recognized. Typically, if the NavigableUIContainer
is editing a copy of the original data, there will be an ApplyListener
registered that is responsible for flushing the changes from the edited data copy back to the original data structure. The API in the oracle.ide.panels
package does not specify when such an ApplyListener
is registered or whether one is registered at all.
If you are writing code that must depend on the registration order of such an ApplyListener
, you will need to consult the documentation for the code that instantiates the NavigableUIContainer
to determine if the registration order for ApplyListener
s is specified there.
e
- The ApplyEvent
that provides contextual information about when the ApplyEvent
was fired.void cancel(ApplyEvent e)
NavigableUIContainer
are to be discarded. This normally occurs when the user pushes the "Cancel" button.
No data validation occurs when the user cancels, and the NavigableUIContainer
may or may not call the onExit
method of the currently showing Traversable
. In general, onExit
will not be called.
e
- The ApplyEvent
that provides contextual information about when the ApplyEvent
was fired.
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.5.0) E13403-06 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |