Oxygen XML Editor 15.0 Author API

ro.sync.ecss.extensions.api.editor
Class AbstractInplaceEditor

java.lang.Object
  extended by ro.sync.ecss.extensions.api.editor.AbstractInplaceEditor
All Implemented Interfaces:
ro.sync.ecss.extensions.api.editor.InplaceEditor, ro.sync.ecss.extensions.api.Extension
Direct Known Subclasses:
SimpleURLChooserEditor, URLChooserEditorSWT

@API(type=EXTENDABLE,
     src=PUBLIC)
public abstract class AbstractInplaceEditor
extends java.lang.Object
implements ro.sync.ecss.extensions.api.editor.InplaceEditor

An abstract implementation that handles listeners fire.

Since:
14.1

Constructor Summary
AbstractInplaceEditor()
           
 
Method Summary
 void addEditingListener(InplaceEditingListener editingListener)
           
protected  void fireCommitValue(EditingEvent event)
          Notify the interested listeners that the current value must be committed.
protected  void fireEditingCanceled()
          Notify the interested listeners that the editing was canceled.
protected  void fireEditingOccured()
          Notify the interested listeners that an edit occurred inside the editor.
protected  void fireEditingStopped(EditingEvent event)
          Notify the interested listeners that the editing stopped.
protected  void fireNextEditLocationRequested()
          Notify the interested listeners that the next edit position was requested.
protected  void firePreviousEditLocationRequested()
          Notify the interested listeners that the previous edit position was requested.
 void removeEditingListener(InplaceEditingListener editingListener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ro.sync.ecss.extensions.api.editor.InplaceEditor
cancelEditing, getEditorComponent, getScrollRectangle, getValue, requestFocus, stopEditing
 
Methods inherited from interface ro.sync.ecss.extensions.api.Extension
getDescription
 

Constructor Detail

AbstractInplaceEditor

public AbstractInplaceEditor()
Method Detail

fireEditingStopped

protected void fireEditingStopped(EditingEvent event)
Notify the interested listeners that the editing stopped.

Parameters:
event - Editing event.

fireEditingCanceled

protected void fireEditingCanceled()
Notify the interested listeners that the editing was canceled.


fireEditingOccured

protected void fireEditingOccured()
Notify the interested listeners that an edit occurred inside the editor.


fireNextEditLocationRequested

protected void fireNextEditLocationRequested()
Notify the interested listeners that the next edit position was requested.


firePreviousEditLocationRequested

protected void firePreviousEditLocationRequested()
Notify the interested listeners that the previous edit position was requested.


addEditingListener

public final void addEditingListener(InplaceEditingListener editingListener)
Specified by:
addEditingListener in interface ro.sync.ecss.extensions.api.editor.InplaceEditor
See Also:
InplaceEditor.addEditingListener(ro.sync.ecss.extensions.api.editor.InplaceEditingListener)

removeEditingListener

public final void removeEditingListener(InplaceEditingListener editingListener)
Specified by:
removeEditingListener in interface ro.sync.ecss.extensions.api.editor.InplaceEditor
See Also:
InplaceEditor.removeEditingListener(ro.sync.ecss.extensions.api.editor.InplaceEditingListener)

fireCommitValue

protected void fireCommitValue(EditingEvent event)
Notify the interested listeners that the current value must be committed.

Parameters:
event - Editing event.

Oxygen XML Editor 15.0 Author API

© Copyright SyncRO Soft SRL 2002 - 2013. All rights reserved.