com.sibvisions.rad.ui.celleditor
Class AbstractNumberCellEditor
java.lang.Object
com.sibvisions.rad.ui.celleditor.AbstractStyledCellEditor
com.sibvisions.rad.ui.celleditor.AbstractInplaceCellEditor
com.sibvisions.rad.ui.celleditor.AbstractNumberCellEditor
- All Implemented Interfaces:
- ICellEditor, IInplaceCellEditor, INumberCellEditor, IStyledCellEditor, IAlignmentConstants
- Direct Known Subclasses:
- JVxNumberCellEditor
public abstract class AbstractNumberCellEditor
- extends AbstractInplaceCellEditor
- implements INumberCellEditor
The AbstractNumberCellEditor
is an INumberCellEditor
implementation, which provides a base implementation.
Method Summary |
java.lang.String |
getNumberFormat()
Gets the number format used for editing the number. |
boolean |
isDirectCellEditor()
Defines, if the editor should edit directly in complex controls. |
void |
setNumberFormat(java.lang.String pNumberFormat)
Sets the number format used for editing the number. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
numberUtil
protected NumberUtil numberUtil
- The number util.
AbstractNumberCellEditor
protected AbstractNumberCellEditor()
- Creates a new instance of
AbstractNumberCellEditor
.
AbstractNumberCellEditor
protected AbstractNumberCellEditor(java.lang.String pInitialNumberFormat)
- Creates a new instance of
AbstractNumberCellEditor
.
- Parameters:
pInitialNumberFormat
- the initial number format
.
getNumberFormat
public java.lang.String getNumberFormat()
- Gets the number format used for editing the number.
- Specified by:
getNumberFormat
in interface INumberCellEditor
- Returns:
- the number format
setNumberFormat
public void setNumberFormat(java.lang.String pNumberFormat)
- Sets the number format used for editing the number.
- Specified by:
setNumberFormat
in interface INumberCellEditor
- Parameters:
pNumberFormat
- the number format
isDirectCellEditor
public boolean isDirectCellEditor()
- Defines, if the editor should edit directly in complex controls.
- Specified by:
isDirectCellEditor
in interface ICellEditor
- Overrides:
isDirectCellEditor
in class AbstractStyledCellEditor
- Returns:
- the
ICellEditorHandler
.
Copyright © 2009 SIB Visions GmbH. All Rights Reserved.