javax.rad.ui.celleditor
Interface IInplaceCellEditor

All Superinterfaces:
IAlignmentConstants, ICellEditor, IStyledCellEditor
All Known Subinterfaces:
IComboCellEditor, IDateCellEditor, ILinkedCellEditor, INumberCellEditor, ITextCellEditor
All Known Implementing Classes:
JVxComboCellEditor, JVxDateCellEditor, JVxInplaceCellEditor, JVxLinkedCellEditor, JVxNumberCellEditor, JVxTextCellEditor, UIComboCellEditor, UIDateCellEditor, UIInplaceCellEditor, UILinkedCellEditor, UINumberCellEditor, UITextCellEditor

public interface IInplaceCellEditor
extends IStyledCellEditor

Platform and technology independent in place cell editor definition. It is designed for use with AWT, Swing, SWT, JSP, JSF, ... .


Field Summary
static int DOUBLE_CLICK
          Open Editor on double click.
static int SINGLE_CLICK
          Open Editor with single click.
 
Fields inherited from interface javax.rad.ui.IAlignmentConstants
ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_LEFT, ALIGN_RIGHT, ALIGN_STRETCH, ALIGN_TOP
 
Method Summary
 int getPreferredEditorMode()
          Gets the preferred Editor Mode.
 void setPreferredEditorMode(int pPreferredEditorMode)
          Sets the preferred Editor Mode.
 
Methods inherited from interface javax.rad.model.ui.ICellEditor
createCellEditorHandler, isDirectCellEditor
 
Methods inherited from interface javax.rad.ui.IAlignmentConstants
getHorizontalAlignment, getVerticalAlignment, setHorizontalAlignment, setVerticalAlignment
 

Field Detail

DOUBLE_CLICK

static final int DOUBLE_CLICK
Open Editor on double click. This should be the default behaviour.

See Also:
Constant Field Values

SINGLE_CLICK

static final int SINGLE_CLICK
Open Editor with single click.

See Also:
Constant Field Values
Method Detail

getPreferredEditorMode

int getPreferredEditorMode()
Gets the preferred Editor Mode. Different Plattforms are open to define own editor modes. As this is meant to be extended, own modes should have constants >= 100, to avoid unwanted interactions. If a plattform does not support a editor mode, it should use the default.

Returns:
the preferred Editor Mode.

setPreferredEditorMode

void setPreferredEditorMode(int pPreferredEditorMode)
Sets the preferred Editor Mode. Different Plattforms are open to define own editor modes. As this is meant to be extended, own modes should have constants >= 100, to avoid unwanted interactions. If a plattform does not support a editor mode, it should use the default.

Parameters:
pPreferredEditorMode - the preferred Editor Mode.


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.