Rogue Wave Views Data Access Package API Reference Guide |
Rogue Wave Views Documentation Home |
Dialog class. More...
#include <ilviews/dataccess/gadgets/tblcombo.h>
Public Member Functions | |
IliTablePopupView (IlvDisplay *display, IlvSystemView transient=0) | |
This constructor initializes a dialog, which is the default pull-down menu of the combobox. More... | |
virtual void | closeDone () |
Called immediately after the dialog is closed. | |
virtual IliTable * | getTableForDisplay () |
Returns the table used by table gadget. More... | |
IliTableGadget * | getTableGadget () const |
Returns the dialog table gadget. More... | |
virtual IlvDim | getWindowHeight () const |
Returns the height of the dialog. More... | |
virtual IlvDim | getWindowWidth () const |
Returns the width of the dialog. More... | |
virtual void | makeTable () |
Builds dialog gadgets. | |
virtual void | makeWindowResize (IlvDim, IlvDim) |
Called when the dialog must be resized. More... | |
virtual void | prepareOpen (IlInt *, IlInt, IlInt) |
Called just before the dialog is opened. More... | |
virtual void | processEvent (IlvEvent &, const IlvRect &) |
Called to handle events such as button, key up, and key down. More... | |
virtual IlBoolean | processInputEvent (IlvEvent &) |
Called to handle the input events that are not handled by handleInput() function. More... | |
virtual void | select () |
Called when a value has been selected. | |
virtual void | selectInitialRow (IlInt) |
Called to select the data corresponding to the current row. More... | |
Public Member Functions inherited from IliAbstractTablePopupView | |
IliAbstractTablePopupView (IlvDisplay *display, IlvSystemView transient=0) | |
This constructor initializes a dialog to replace the pull-down menu of the combo box. More... | |
IliTableComboBox * | getComboBox () const |
Returns the combo box associated with the dialog. More... | |
virtual IlvCursor * | getWindowCursor () |
Returns the cursor of the dialog. More... | |
virtual void | handleInput (IlvEvent &event) |
Called to handle the input events. More... | |
IlBoolean | isGrabbed () const |
Returns IlTrue if a grab operation is defined. Otherwise, returns IlFalse . More... | |
IlBoolean | isOpen () const |
Returns IlTrue if the dialog is opened. Otherwise, returns IlFalse . More... | |
IlBoolean | isOpenOn (const IliTableComboBox *combo) const |
Returns IlTrue if the open combo box dialog is associated with the combo box. Otherwise, returns IlFalse . More... | |
IlBoolean | isWindowsLook () const |
Returns IlTrue if the current look is Windows 95 or Windows NT. Otherwise, returns IlFalse . More... | |
void | setComboBox (IliTableComboBox *combo) |
Associates the dialog with a combo box. More... | |
Dialog class.
Library: dbgadget
This class defines the default pull-down menu for the IliTableComboBox
class. This pull-down menu is a dialog with a table gadget which displays one or several columns of the foreign table. The foreign table and the table of the pull-down menu can be different, but the tables must have the same column names. (The function getTableForDisplay()
returns the table used to display the data of the pull-down menu.)
IliAbstractTablePopupView
, IliTableComboBox
. IliTablePopupView::IliTablePopupView | ( | IlvDisplay * | display, |
IlvSystemView | transient = 0 |
||
) |
This constructor initializes a dialog, which is the default pull-down menu of the combobox.
display | The display. |
transient | A system view for which the gadget container is transient. For more details, see the IlvView constructors. |
|
virtual |
Returns the table used by table gadget.
IliTableGadget* IliTablePopupView::getTableGadget | ( | ) | const |
Returns the dialog table gadget.
|
virtual |
Returns the height of the dialog.
Dialog and combo box heights can differ.
Reimplemented from IliAbstractTablePopupView.
|
virtual |
Returns the width of the dialog.
Dialog and combo box widths can differ.
Reimplemented from IliAbstractTablePopupView.
Called when the dialog must be resized.
w | The new dialog width. |
h | The new dialog height. |
Reimplemented from IliAbstractTablePopupView.
Called just before the dialog is opened.
dispcol | The list of columns that must be displayed. |
count | The number of columns to be displayed. |
rowno | The current row position. |
Reimplemented from IliAbstractTablePopupView.
Called to handle events such as button, key up, and key down.
event | The event. |
bbox | The event location. |
Reimplemented from IliAbstractTablePopupView.
Called to handle the input events that are not handled by handleInput()
function.
event | The event. return IlTrue if the event is processed. |
Reimplemented from IliAbstractTablePopupView.
|
virtual |
Called to select the data corresponding to the current row.
rowno | The row position. |
Reimplemented from IliAbstractTablePopupView.
© Copyright 2016, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.