|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.trolltech.qt.internal.QSignalEmitterInternal
com.trolltech.qt.QSignalEmitter
com.trolltech.qt.QtJambiObject
com.trolltech.qt.core.QObject
com.trolltech.qt.gui.QWidget
com.sibvisions.rad.ui.qt.ext.QVxEditor
public class QVxEditor
A default IControl implementation.
QWidget,
IControl,
ICellEditorListener| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.trolltech.qt.gui.QWidget |
|---|
QWidget.RenderFlag, QWidget.RenderFlags |
| Nested classes/interfaces inherited from class com.trolltech.qt.QtJambiObject |
|---|
QtJambiObject.QPrivateConstructor |
| Nested classes/interfaces inherited from class com.trolltech.qt.QSignalEmitter |
|---|
QSignalEmitter.AbstractSignal, QSignalEmitter.PrivateSignal0, QSignalEmitter.PrivateSignal1<A>, QSignalEmitter.PrivateSignal2<A,B>, QSignalEmitter.PrivateSignal3<A,B,C>, QSignalEmitter.PrivateSignal4<A,B,C,D>, QSignalEmitter.PrivateSignal5<A,B,C,D,E>, QSignalEmitter.PrivateSignal6<A,B,C,D,E,F>, QSignalEmitter.PrivateSignal7<A,B,C,D,E,F,G>, QSignalEmitter.PrivateSignal8<A,B,C,D,E,F,G,H>, QSignalEmitter.PrivateSignal9<A,B,C,D,E,F,G,H,I>, QSignalEmitter.Signal0, QSignalEmitter.Signal1<A>, QSignalEmitter.Signal2<A,B>, QSignalEmitter.Signal3<A,B,C>, QSignalEmitter.Signal4<A,B,C,D>, QSignalEmitter.Signal5<A,B,C,D,E>, QSignalEmitter.Signal6<A,B,C,D,E,F>, QSignalEmitter.Signal7<A,B,C,D,E,F,G>, QSignalEmitter.Signal8<A,B,C,D,E,F,G,H>, QSignalEmitter.Signal9<A,B,C,D,E,F,G,H,I> |
| Nested classes/interfaces inherited from class com.trolltech.qt.internal.QSignalEmitterInternal |
|---|
com.trolltech.qt.internal.QSignalEmitterInternal.AbstractSignalInternal |
| Field Summary |
|---|
| Fields inherited from class com.trolltech.qt.gui.QWidget |
|---|
customContextMenuRequested |
| Fields inherited from class com.trolltech.qt.internal.QSignalEmitterInternal |
|---|
currentSender |
| Fields inherited from interface javax.rad.model.ui.ICellEditorListener |
|---|
ACTION_KEY, ENTER_KEY, ESCAPE_KEY, FOCUS_LOST, SHIFT_ENTER_KEY, SHIFT_TAB_KEY, TAB_KEY |
| Constructor Summary | |
|---|---|
QVxEditor()
Creates a new instance of QtEditor. |
|
| Method Summary | |
|---|---|
void |
cancelEditing()
Informs the GUI control, that the last edit should be canceled(restored) the correct value is in the DataBook. |
void |
editingComplete(String pCompleteType)
Informs the ICellEditorListener that the editing is completed. |
void |
editingStarted()
Informs the ICellEditorListener that the editing has started. |
ICellEditor |
getCellEditor()
Gets the CellEditor that edits the given column in the given DataRow. |
ICellEditorHandler<QWidget> |
getCellEditorHandler()
The current used CellEditor for editing. |
ICellFormatter |
getCellFormatter()
Gets the CellFormatter. |
String |
getColumnName()
Gets the column name edited by this control. |
IDataRow |
getDataRow()
Gets the DataRow edited by this control. |
TranslationMap |
getTranslation()
Gets the possible translation mapping for this UIComponent. |
boolean |
isMaximumSizeHintSet()
Determines if an user-defined maximum size is set. |
boolean |
isMinimumSizeHintSet()
Determines if an user-defined minimum size is set. |
boolean |
isSavingImmediate()
Tells whether the CellEditor should save immediate. |
boolean |
isSizeHintSet()
Determines if an user-defined preferred size is set. |
QSize |
maximumSizeHint()
Get's the maximum size hint. |
QSize |
minimumSizeHint()
|
void |
notifyRepaint()
The control need to check if the part is visible and then repaint the part. |
void |
run()
The run method is invoked from QT EventQueue. |
void |
saveEditing()
Informs the GUI control, that the last edit should be set into the IDataBook or IDataRow. |
void |
setCellEditor(ICellEditor pCellEditor)
Sets the CellEditor that edits the given column in the given DataRow. |
void |
setCellFormatter(ICellFormatter pCellFormatter)
Sets the CellFormatter. |
void |
setColumnName(String pColumnName)
Sets the column edited by this control. |
void |
setDataRow(IDataRow pDataRow)
Sets the DataRow edited by this control. |
void |
setMaximumSizeHint(QSize pSize)
Sets a user-defined maximum size. |
void |
setMinimumSizeHint(QSize pSize)
Sets a user-defined minimum size. |
void |
setSavingImmediate(boolean pSavingImmediate)
Sets whether the CellEditor should save immediate. |
void |
setSizeHint(QSize pSize)
Sets a user-defined preferred size. |
void |
setTranslation(TranslationMap pTranslation)
Sets the possible translations for this UIComponent. |
QSize |
sizeHint()
|
| Methods inherited from class com.trolltech.qt.core.QObject |
|---|
blockSignals, childEvent, children, connectSlotsByName, customEvent, disposeLater, dumpObjectInfo, dumpObjectTree, dynamicPropertyNames, eventFilter, findChild, findChild, findChild, findChildren, findChildren, findChildren, findChildren, indexOfProperty, installEventFilter, isWidgetType, killTimer, moveToThread, objectName, parent, properties, property, removeEventFilter, setObjectName, setParent, setProperty, signalsBlocked, startTimer, thread, timerEvent, toString, userProperty |
| Methods inherited from class com.trolltech.qt.QtJambiObject |
|---|
disableGarbageCollection, dispose, disposed, equals, finalize, nativeId, nativePointer, reassignNativeResources, reenableGarbageCollection, setJavaOwnership, tr, tr, tr |
| Methods inherited from class com.trolltech.qt.QSignalEmitter |
|---|
disconnect, disconnect, signalSender |
| Methods inherited from class java.lang.Object |
|---|
clone, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.trolltech.qt.QtJambiInterface |
|---|
disableGarbageCollection, nativeId, nativePointer, reenableGarbageCollection, setJavaOwnership |
| Constructor Detail |
|---|
public QVxEditor()
QtEditor.
| Method Detail |
|---|
public void setSizeHint(QSize pSize)
setSizeHint in interface ISizableWidgetpSize - the sizeQWidget.sizeHint()public boolean isSizeHintSet()
isSizeHintSet in interface ISizableWidgettrue if an user-defined preferred size is setpublic void setMinimumSizeHint(QSize pSize)
setMinimumSizeHint in interface ISizableWidgetpSize - the sizeQWidget.minimumSizeHint()public boolean isMinimumSizeHintSet()
isMinimumSizeHintSet in interface ISizableWidgettrue if an user-defined minimum size is setpublic void setMaximumSizeHint(QSize pSize)
setMaximumSizeHint in interface ISizableWidgetpSize - the sizepublic boolean isMaximumSizeHintSet()
isMaximumSizeHintSet in interface ISizableWidgettrue if an user-defined maximum size is setpublic void run()
run in interface Runnablepublic void cancelEditing()
DataBook.
cancelEditing in interface IControl
public void saveEditing()
throws ModelException
IDataBook or IDataRow.
saveEditing in interface IControlModelException - if the value can not be stored.public void notifyRepaint()
notifyRepaint in interface IControlpublic ICellFormatter getCellFormatter()
getCellFormatter in interface ICellFormatterEditorListenersetCellFormatter(com.sibvisions.rad.ui.qt.ext.table.ICellFormatter)public void setCellFormatter(ICellFormatter pCellFormatter)
pCellFormatter - the CellFormattergetCellFormatter()public void setTranslation(TranslationMap pTranslation)
UIComponent.
setTranslation in interface IControlpTranslation - the translation mappingpublic TranslationMap getTranslation()
UIComponent.
getTranslation in interface IControlpublic void editingComplete(String pCompleteType)
ICellEditorListener that the editing is completed.
He has to Unregister the IControl on the IDataRow with unregisterEditingControl.
editingComplete in interface ICellEditorListenerpCompleteType - the type of completion.public void editingStarted()
ICellEditorListener that the editing has started.
He has to Register the IControl on the IDataRow with registerEditingControl.
editingStarted in interface ICellEditorListenerpublic boolean isSavingImmediate()
isSavingImmediate in interface ICellEditorListenerpublic QSize sizeHint()
sizeHint in class QWidgetpublic QSize minimumSizeHint()
minimumSizeHint in class QWidgetpublic QSize maximumSizeHint()
maximumSizeHint in interface ISizableWidget
public void setCellEditor(ICellEditor pCellEditor)
throws ModelException
pCellEditor - the CellEditor.
ModelException - if the column name of the editor is invalidgetCellEditor()public ICellEditor getCellEditor()
setCellEditor(javax.rad.model.ui.ICellEditor)
public void setColumnName(String pColumnName)
throws ModelException
pColumnName - the column.
ModelException - if the column name is invalidgetColumnName()public String getColumnName()
setColumnName(java.lang.String)
public void setDataRow(IDataRow pDataRow)
throws ModelException
pDataRow - the DataRow.
ModelException - if the column name for the row is invalidgetDataRow(),
setColumnName(String)public IDataRow getDataRow()
setDataRow(javax.rad.model.IDataRow)public void setSavingImmediate(boolean pSavingImmediate)
pSavingImmediate - true, if the CellEditor should save immediate.public ICellEditorHandler<QWidget> getCellEditorHandler()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||