javax.rad.model.ui
Interface ICellEditorListener

All Known Subinterfaces:
ICellFormatterEditorListener
All Known Implementing Classes:
JVxEditor, JVxTable, JVxTree

public interface ICellEditorListener

The ICellEditorListener will be informed from the ICellEditor, if editing is complete, or canceled.


Field Summary
static String ACTION_KEY
          CellEditorComponent has completed editing with action key.
static String ENTER_KEY
          CellEditorComponent has completed editing with enter key.
static String ESCAPE_KEY
          CellEditorComponent has canceled editing with escape key.
static String FOCUS_LOST
          CellEditorComponent has lost focus.
static String SHIFT_ENTER_KEY
          CellEditorComponent has completed editing with enter key.
static String SHIFT_TAB_KEY
          CellEditorComponent has completed editing with shift tab key.
static String TAB_KEY
          CellEditorComponent has completed editing with tab key.
 
Method Summary
 void editingComplete(String pCompleteType)
          Informs the ICellEditorListener that the editing is completed.
 void editingStarted()
          Informs the ICellEditorListener that the editing has started.
 boolean isSavingImmediate()
          Tells whether the CellEditor should save immediate.
 

Field Detail

FOCUS_LOST

static final String FOCUS_LOST
CellEditorComponent has lost focus. The focus should be delivered to the opposite component.

See Also:
Constant Field Values

ACTION_KEY

static final String ACTION_KEY
CellEditorComponent has completed editing with action key. The action key is control dependent defined as key which changes the value. The current cell should be still selected.

See Also:
Constant Field Values

ENTER_KEY

static final String ENTER_KEY
CellEditorComponent has completed editing with enter key. The next cell should be selected.

See Also:
Constant Field Values

SHIFT_ENTER_KEY

static final String SHIFT_ENTER_KEY
CellEditorComponent has completed editing with enter key. The previous cell should be selected.

See Also:
Constant Field Values

TAB_KEY

static final String TAB_KEY
CellEditorComponent has completed editing with tab key. The next cell should be selected.

See Also:
Constant Field Values

SHIFT_TAB_KEY

static final String SHIFT_TAB_KEY
CellEditorComponent has completed editing with shift tab key. The previous cell should be selected.

See Also:
Constant Field Values

ESCAPE_KEY

static final String ESCAPE_KEY
CellEditorComponent has canceled editing with escape key. The current cell should be still selected.

See Also:
Constant Field Values
Method Detail

editingStarted

void editingStarted()
Informs the ICellEditorListener that the editing has started. He has to Register the IControl on the IDataRow with registerEditingControl.


editingComplete

void editingComplete(String pCompleteType)
Informs the ICellEditorListener that the editing is completed. He has to Unregister the IControl on the IDataRow with unregisterEditingControl.

Parameters:
pCompleteType - the type of completion.

isSavingImmediate

boolean isSavingImmediate()
Tells whether the CellEditor should save immediate.

Returns:
whether the CellEditor should save immediate.


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.