com.sibvisions.rad.ui.celleditor
Class AbstractInplaceCellEditor
java.lang.Object
com.sibvisions.rad.ui.celleditor.AbstractStyledCellEditor
com.sibvisions.rad.ui.celleditor.AbstractInplaceCellEditor
- All Implemented Interfaces:
- ICellEditor, IInplaceCellEditor, IStyledCellEditor, IAlignmentConstants
- Direct Known Subclasses:
- AbstractChoiceCellEditor, AbstractComboCellEditor, AbstractNumberCellEditor, AbstractTextCellEditor
public abstract class AbstractInplaceCellEditor
- extends AbstractStyledCellEditor
- implements IInplaceCellEditor
The AbstractInplaceCellEditor
is an IInplaceCellEditor
implementation, which provides a base implementation.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
preferredEditorMode
protected int preferredEditorMode
- The preferred editor mode.
- See Also:
IInplaceCellEditor.DOUBLE_CLICK
,
IInplaceCellEditor.SINGLE_CLICK
AbstractInplaceCellEditor
protected AbstractInplaceCellEditor()
- Creates a new instance of
AbstractInplaceCellEditor
.
AbstractInplaceCellEditor
protected AbstractInplaceCellEditor(int pInitialPreferredEditorMode)
- Creates a new instance of
AbstractInplaceCellEditor
.
- Parameters:
pInitialPreferredEditorMode
- the initial preferred editor mode.
AbstractInplaceCellEditor
public AbstractInplaceCellEditor(int pPreferredEditorMode,
int pHorizontalAlignment,
int pVerticalAlignment)
- Creates a new instance of
AbstractInplaceCellEditor
.
- Parameters:
pPreferredEditorMode
- the preferred editor mode.pHorizontalAlignment
- the horizontal alignment.pVerticalAlignment
- the vertical alignment.
getPreferredEditorMode
public int getPreferredEditorMode()
- Gets the preferred Editor Mode.
Different Platforms 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 platform does not support a editor mode, it should use the default.
- Specified by:
getPreferredEditorMode
in interface IInplaceCellEditor
- Returns:
- the preferred Editor Mode.
- See Also:
IInplaceCellEditor.DOUBLE_CLICK
,
IInplaceCellEditor.SINGLE_CLICK
setPreferredEditorMode
public void setPreferredEditorMode(int pPreferredEditorMode)
- Sets the preferred Editor Mode.
Different Platforms 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 platform does not support a editor mode, it should use the default.
- Specified by:
setPreferredEditorMode
in interface IInplaceCellEditor
- Parameters:
pPreferredEditorMode
- the preferred Editor Mode.- See Also:
IInplaceCellEditor.DOUBLE_CLICK
,
IInplaceCellEditor.SINGLE_CLICK
Copyright © 2009 SIB Visions GmbH. All Rights Reserved.