javax.rad.genui.celleditor
Class UIInplaceCellEditor<CE extends IInplaceCellEditor>
java.lang.Object
javax.rad.genui.celleditor.UICellEditor<CE>
javax.rad.genui.celleditor.UIInplaceCellEditor<CE>
- Type Parameters:
CE
- an instance of IInplaceCellEditor.
- All Implemented Interfaces:
- ICellEditor, IInplaceCellEditor, IStyledCellEditor, IAlignmentConstants, IResource
- Direct Known Subclasses:
- UIComboCellEditor, UINumberCellEditor, UITextCellEditor
public class UIInplaceCellEditor<CE extends IInplaceCellEditor>
- extends UICellEditor<CE>
- implements IInplaceCellEditor
Platform and technology independent editor.
It is designed for use with AWT, Swing, SWT, JSP, JSF, ... .
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UIInplaceCellEditor
protected UIInplaceCellEditor(CE pCEResource)
- Constructs a new
UIInplaceCellEditor
.
- Parameters:
pCEResource
- the CellEditor resource.- See Also:
IInplaceCellEditor
getPreferredEditorMode
public 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.
- Specified by:
getPreferredEditorMode
in interface IInplaceCellEditor
- Returns:
- the preferred Editor Mode.
setPreferredEditorMode
public 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.
- Specified by:
setPreferredEditorMode
in interface IInplaceCellEditor
- Parameters:
pPreferredEditorMode
- the preferred Editor Mode.
Copyright © 2009 SIB Visions GmbH. All Rights Reserved.