com.sibvisions.rad.ui.swing.ext.celleditor
Class JVxInplaceCellEditor

java.lang.Object
  extended by com.sibvisions.rad.ui.swing.ext.celleditor.JVxStyledCellEditor
      extended by com.sibvisions.rad.ui.swing.ext.celleditor.JVxInplaceCellEditor
All Implemented Interfaces:
ICellEditor, IInplaceCellEditor, IStyledCellEditor, IAlignmentConstants
Direct Known Subclasses:
JVxComboCellEditor, JVxNumberCellEditor, JVxTextCellEditor

public abstract class JVxInplaceCellEditor
extends JVxStyledCellEditor
implements IInplaceCellEditor

The JVxInplaceCellEditor provides the styling of cell editors.


Field Summary
 
Fields inherited from interface javax.rad.ui.celleditor.IInplaceCellEditor
DOUBLE_CLICK, SINGLE_CLICK
 
Fields inherited from interface javax.rad.ui.IAlignmentConstants
ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_DEFAULT, ALIGN_LEFT, ALIGN_RIGHT, ALIGN_STRETCH, ALIGN_TOP
 
Constructor Summary
JVxInplaceCellEditor()
          Creates a new instance of JVxInplaceCellEditor.
 
Method Summary
 int getPreferredEditorMode()
          Gets the preferred Editor Mode.
 void setPreferredEditorMode(int pPreferredEditorMode)
          Sets the preferred Editor Mode.
 
Methods inherited from class com.sibvisions.rad.ui.swing.ext.celleditor.JVxStyledCellEditor
getHorizontalAlignment, getVerticalAlignment, setHorizontalAlignment, setVerticalAlignment
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.rad.model.ui.ICellEditor
createCellEditorHandler, isDirectCellEditor
 
Methods inherited from interface javax.rad.ui.IAlignmentConstants
getHorizontalAlignment, getVerticalAlignment, setHorizontalAlignment, setVerticalAlignment
 

Constructor Detail

JVxInplaceCellEditor

public JVxInplaceCellEditor()
Creates a new instance of JVxInplaceCellEditor.

Method Detail

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.