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 java.lang.String ACTION_KEY
          CellEditorComponent has completed editing with action key.
static java.lang.String ENTER_KEY
          CellEditorComponent has completed editing with enter key.
static java.lang.String ESCAPE_KEY
          CellEditorComponent has canceled editing with escape key.
static java.lang.String FOCUS_LOST
          CellEditorComponent has lost focus.
static java.lang.String SHIFT_ENTER_KEY
          CellEditorComponent has completed editing with enter key.
static java.lang.String SHIFT_TAB_KEY
          CellEditorComponent has completed editing with shift tab key.
static java.lang.String TAB_KEY
          CellEditorComponent has completed editing with tab key.
 
Method Summary
 void editingComplete(java.lang.String pCompleteType)
          Informs the ICellEditorListener that the editing is completed.
 void editingStarted()
          Informs the ICellEditorListener that the editing has started.
 IControl getControl()
          Get's the control corresponding to this cell editor listener.
 boolean isSavingImmediate()
          Tells whether the CellEditor should save immediate.
 

Field Detail

FOCUS_LOST

static final java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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.


editingComplete

void editingComplete(java.lang.String pCompleteType)
Informs the ICellEditorListener that the editing is completed.

Parameters:
pCompleteType - the type of completion.

isSavingImmediate

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

Returns:
whether the CellEditor should save immediate.

getControl

IControl getControl()
Get's the control corresponding to this cell editor listener.

Returns:
the control corresponding to this cell editor listener.


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.