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

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

public abstract class JVxStyledCellEditor
extends Object
implements IStyledCellEditor

The JVxStyledCellEditor provides the styling of cell editors.


Field Summary
 
Fields inherited from interface javax.rad.ui.IAlignmentConstants
ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_LEFT, ALIGN_RIGHT, ALIGN_STRETCH, ALIGN_TOP
 
Constructor Summary
JVxStyledCellEditor()
          Constructs a new instance of JVxStyledCellEditor.
 
Method Summary
 int getHorizontalAlignment()
          Returns the alignment along the x axis.
 int getVerticalAlignment()
          Returns the alignment along the y axis.
 void setHorizontalAlignment(int pHorizontalAlignment)
          Sets the horizontal alignment.
 void setVerticalAlignment(int pVerticalAlignment)
          Sets the vertical alignment.
 
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
 

Constructor Detail

JVxStyledCellEditor

public JVxStyledCellEditor()
Constructs a new instance of JVxStyledCellEditor.

Method Detail

getHorizontalAlignment

public int getHorizontalAlignment()
Returns the alignment along the x axis. This specifies how the component would like to be aligned relative to other components. Possible values are defined in AlignmentConstants.

Specified by:
getHorizontalAlignment in interface IAlignmentConstants
Returns:
the horizontal alignment

setHorizontalAlignment

public void setHorizontalAlignment(int pHorizontalAlignment)
Sets the horizontal alignment. Possible values are defined in AlignmentConstants.

Specified by:
setHorizontalAlignment in interface IAlignmentConstants
Parameters:
pHorizontalAlignment - the new vertical alignment

getVerticalAlignment

public int getVerticalAlignment()
Returns the alignment along the y axis. This specifies how the component would like to be aligned relative to other components. Possible values are defined in AlignmentConstants.

Specified by:
getVerticalAlignment in interface IAlignmentConstants
Returns:
the vertical alignment

setVerticalAlignment

public void setVerticalAlignment(int pVerticalAlignment)
Sets the vertical alignment. Possible values are defined in AlignmentConstants.

Specified by:
setVerticalAlignment in interface IAlignmentConstants
Parameters:
pVerticalAlignment - the new vertical alignment


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.