|
||||||||||
| 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.trolltech.qt.gui.QComboBox
com.sibvisions.rad.ui.qt.ext.QVxComboBase
com.sibvisions.rad.ui.qt.ext.celleditor.QVxLinkedCellEditor.CellEditorHandler
public static class QVxLinkedCellEditor.CellEditorHandler
Sets the internal changed Flag, and informs the CellEditorListener if editing is completed.
| Nested Class Summary | |
|---|---|
class |
QVxLinkedCellEditor.CellEditorHandler.InternalSignalAndEventHandler
The InternalSignalAndEventHandler handles signals and events
from the the combobase and the referenced table. |
| Nested classes/interfaces inherited from class com.trolltech.qt.gui.QComboBox |
|---|
QComboBox.InsertPolicy, QComboBox.SizeAdjustPolicy |
| 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.QComboBox |
|---|
activated, activatedIndex, currentIndexChanged, currentStringChanged, editTextChanged, highlighted, highlightedIndex |
| Fields inherited from class com.trolltech.qt.gui.QWidget |
|---|
customContextMenuRequested |
| Fields inherited from class com.trolltech.qt.internal.QSignalEmitterInternal |
|---|
currentSender |
| Constructor Summary | |
|---|---|
QVxLinkedCellEditor.CellEditorHandler(QVxLinkedCellEditor pCellEditor,
ICellFormatterEditorListener pCellEditorListener,
IDataRow pDataRow,
String pColumnName)
Constructs a new instance of CellEditorHandler. |
|
| Method Summary | |
|---|---|
void |
cancelEditing()
Informs the GUI control, that the last edit should be canceled(restored) the correct value is in the DataBook. |
protected void |
fireEditingComplete(String pCompleteType)
Delegates the event to the ICellEditorListener. |
protected void |
fireEditingStarted()
Delegates the event to the ICellEditorListener. |
ICellEditor |
getCellEditor()
Returns the ICellEditor that created this handler. |
QWidget |
getCellEditorComponent()
Returns the library dependent CellEditorComponent. |
ICellEditorListener |
getCellEditorListener()
Returns the CellEditorListener. |
String |
getColumnName()
Returns the column name that is edited in the IDataRow. |
IDataRow |
getDataRow()
Returns the IDataRow that is edited. |
void |
saveEditing()
Saves the changes made from the CellEditorComponent DataBook. |
void |
showPopup()
Triggers that the popup will become visible. |
void |
uninstallEditor()
Informs the handler, that the editor is or will be discarded. |
void |
updateEditor()
Informs the handler, that it should possibly get new information from the ICellEditorListener (for e.g. a new TranslationMap). |
| Methods inherited from class com.sibvisions.rad.ui.qt.ext.QVxComboBase |
|---|
isMaximumSizeHintSet, isMinimumSizeHintSet, isPopupVisible, isReadOnly, isSizeHintSet, keyPressEvent, maximumSizeHint, minimumSizeHint, mousePressEvent, setMaximumSizeHint, setMinimumSizeHint, setPopupSize, setPopupWidget, setReadOnly, setSizeHint, setText, sizeHint, text |
| 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 QVxLinkedCellEditor.CellEditorHandler(QVxLinkedCellEditor pCellEditor,
ICellFormatterEditorListener pCellEditorListener,
IDataRow pDataRow,
String pColumnName)
CellEditorHandler.
pCellEditor - the CellEditor that created this handler.pCellEditorListener - CellEditorListener to inform, if editing is started or completed.pDataRow - the data row that is edited.pColumnName - the column name of the edited column.| Method Detail |
|---|
public ICellEditor getCellEditor()
ICellEditor that created this handler.
getCellEditor in interface ICellEditorHandler<QWidget>ICellEditor that created this handler.public QWidget getCellEditorComponent()
CellEditorComponent.
getCellEditorComponent in interface ICellEditorHandler<QWidget>CellEditorComponent.public ICellEditorListener getCellEditorListener()
CellEditorListener.
getCellEditorListener in interface ICellEditorHandler<QWidget>CellEditorListener.public String getColumnName()
IDataRow.
getColumnName in interface ICellEditorHandler<QWidget>IDataRow.public IDataRow getDataRow()
IDataRow that is edited.
getDataRow in interface ICellEditorHandler<QWidget>IDataRow that is edited.public void uninstallEditor()
uninstallEditor in interface ICellEditorHandler<QWidget>public void updateEditor()
updateEditor in interface ICellEditorHandler<QWidget>
public void saveEditing()
throws ModelException
DataBook.
saveEditing in interface ICellEditorHandler<QWidget>ModelException - if the value can not be stored.public void cancelEditing()
DataBook.
cancelEditing in interface ICellEditorHandler<QWidget>public void showPopup()
showPopup in class QVxComboBaseprotected void fireEditingStarted()
ICellEditorListener.
protected void fireEditingComplete(String pCompleteType)
ICellEditorListener.
pCompleteType - the editing complete type.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||