|
Oxygen XML Editor 14.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectro.sync.ecss.extensions.api.editor.EditingEvent
@API(type=NOT_EXTENDABLE, src=PUBLIC) public class EditingEvent
The in-place editing was stopped. It will provide the committed value if such
a value exists for the current type of editor. For example a
InplaceEditorCSSConstants.TYPE_BUTTON
doesn't give such a value. In this
case when the notification is received we will just invoke the action associated
with the button.
Please note that this API is not marked as final and it can change in one of the next versions of the application. If you have suggestions, comments about it, please let us know.
Field Summary | |
---|---|
boolean |
requestFocusInHost
true if the focus should be requested inside the author component. |
IAuthorExtensionAction |
toInvoke
The action to be invoked as a result for the edit event. |
java.lang.String |
val
The value that the user accepted when the editing stopped. |
Constructor Summary | |
---|---|
EditingEvent(IAuthorExtensionAction toInvoke)
Constructor. |
|
EditingEvent(java.lang.String val)
Constructor. |
|
EditingEvent(java.lang.String value,
boolean requestFocus)
Constructor. |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.lang.String val
public IAuthorExtensionAction toInvoke
public boolean requestFocusInHost
true
if the focus should be requested inside the author component.
Depending on how the editing was stopped it might be necessary to skip requesting
focus inside the author component. For example if the cause of the stop editing
was a focus lost event, we should skip requesting focus since the focus has already
a destination.
Constructor Detail |
---|
public EditingEvent(java.lang.String val)
val
- The value that the user accepted when the editing stopped.public EditingEvent(IAuthorExtensionAction toInvoke)
toInvoke
- The action to be invoked as a result for the edit event.public EditingEvent(java.lang.String value, boolean requestFocus)
value
- The value that the user accepted when the editing stopped.requestFocus
- true
if the focus should be requested inside the author component.
Depending on how the editing was stopped it might be necessary to skip requesting
focus inside the author component. For example if the cause of the stop editing
was a focus lost event, we should skip requesting focus since the focus has already
a destination.
|
Oxygen XML Editor 14.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |