|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sibvisions.rad.ui.qt.ext.celleditor.QVxStyledCellEditor
com.sibvisions.rad.ui.qt.ext.celleditor.QVxDateCellEditor
public class QVxDateCellEditor
The QVxDateCellEditor provides the generation of the
physical date editor component, handles all events, and
gives standard access to edited values.
IDateCellEditor| Nested Class Summary | |
|---|---|
static class |
QVxDateCellEditor.CellEditorHandler
Sets the internal changed flag, and informs the CellEditorListener if editing is completed. |
| Field Summary |
|---|
| Fields inherited from interface javax.rad.ui.IAlignmentConstants |
|---|
ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_LEFT, ALIGN_RIGHT, ALIGN_STRETCH, ALIGN_TOP |
| Constructor Summary | |
|---|---|
QVxDateCellEditor()
Constructs a new QVxDateCellEditor. |
|
QVxDateCellEditor(String pDateFormat)
Constructs a new QVxDateCellEditor with the given date format. |
|
| Method Summary | |
|---|---|
ICellEditorHandler<QWidget> |
createCellEditorHandler(ICellEditorListener pCellEditorListener,
IDataRow pDataRow,
String pColumnName)
creates an ICellEditorHandler library dependent component. |
QObject |
getCellRendererComponent(QObject pParentComponent,
IDataPage pDataPage,
int pRowNumber,
IDataRow pDataRow,
String pColumnName,
boolean pIsSelected,
boolean pHasFocus)
Configures a IComponent for rendering. |
String |
getDateFormat()
Gets the date format used for editing the date. |
boolean |
isDirectCellEditor()
Defines, if the editor should edit directly in complex controls. |
void |
setDateFormat(String pDateFormat)
Sets the date format used for editing the date. |
| Methods inherited from class com.sibvisions.rad.ui.qt.ext.celleditor.QVxStyledCellEditor |
|---|
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.ui.IAlignmentConstants |
|---|
getHorizontalAlignment, getVerticalAlignment, setHorizontalAlignment, setVerticalAlignment |
| Constructor Detail |
|---|
public QVxDateCellEditor()
QVxDateCellEditor.
public QVxDateCellEditor(String pDateFormat)
QVxDateCellEditor with the given date format.
pDateFormat - the date format.| Method Detail |
|---|
public QObject getCellRendererComponent(QObject pParentComponent,
IDataPage pDataPage,
int pRowNumber,
IDataRow pDataRow,
String pColumnName,
boolean pIsSelected,
boolean pHasFocus)
getCellRendererComponent in interface ICellRenderer<QObject>pParentComponent - the Parent Component from which.pDataPage - the DataPage of the row to be rendered.pRowNumber - the row number of the row to be rendered.pDataRow - the row to be rendered (is the same as pDataPage.getRow(pRowNumber)).pColumnName - the column name to be rendered.pIsSelected - true, if the cell is selected (shown with selected background).pHasFocus - true, if the cell has the focus (cell is the current editing cell).
public ICellEditorHandler<QWidget> createCellEditorHandler(ICellEditorListener pCellEditorListener,
IDataRow pDataRow,
String pColumnName)
ICellEditorHandler library dependent component.
createCellEditorHandler in interface ICellEditorpCellEditorListener - the ICellEditorListenerpDataRow - the IDataRowpColumnName - the column name
ICellEditorHandler.public String getDateFormat()
getDateFormat in interface IDateCellEditorpublic void setDateFormat(String pDateFormat)
setDateFormat in interface IDateCellEditorpDateFormat - the date formatpublic boolean isDirectCellEditor()
isDirectCellEditor in interface ICellEditorICellEditorHandler.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||