Rogue Wave Views 5.5.1 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
Dialog class. More...
#include <ilviews/dataccess/gadgets/tblcombo.h>
Public Member Functions | |
IliAbstractTablePopupView (IlvDisplay *display, IlvSystemView transient=0) | |
This constructor initializes a dialog to replace the pull-down menu of the combo box. | |
virtual void | closeDone () |
Called immediately after the dialog is closed. | |
IliTableComboBox * | getComboBox () const |
Returns the combo box associated with the dialog. | |
virtual IlvCursor * | getWindowCursor () |
Returns the cursor of the dialog. | |
virtual IlvDim | getWindowHeight () const |
Returns the height of the dialog. | |
virtual IlvDim | getWindowWidth () const |
Returns the width of the dialog. | |
virtual void | handleInput (IlvEvent &event) |
Called to handle the input events. | |
IlBoolean | isGrabbed () const |
Returns IlTrue if a grab operation is defined. Otherwise, returns IlFalse . | |
IlBoolean | isOpen () const |
Returns IlTrue if the dialog is opened. Otherwise, returns IlFalse . | |
IlBoolean | isOpenOn (const IliTableComboBox *combo) const |
Returns IlTrue if the open combo box dialog is associated with the combo box. Otherwise, returns IlFalse . | |
IlBoolean | isWindowsLook () const |
Returns IlTrue if the current look is Windows 95 or Windows NT. Otherwise, returns IlFalse . | |
virtual void | makeTable () |
Builds dialog gadgets. | |
virtual void | makeWindowResize (IlvDim w, IlvDim h) |
Called when the dialog must be resized. | |
virtual void | prepareOpen (IlInt *dispcol, IlInt count, IlInt rowno) |
Called just before the dialog is opened. | |
virtual void | processEvent (IlvEvent &event, const IlvRect &bbox) |
Called to handle events such as button, key up, and key down. | |
virtual IlBoolean | processInputEvent (IlvEvent &event) |
Called to handle the input events that are not handled by handleInput function. | |
virtual void | select () |
Called when a value has been selected. | |
virtual void | selectInitialRow (IlInt rowno) |
Called to select the data corresponding to the current row. | |
void | setComboBox (IliTableComboBox *combo) |
Associates the dialog with a combo box. |
Dialog class.
Library: dbgadget
This class is an abstract class that defines the dialog used by the combo box displaying the pull-down menu. To associate a combo box with a dialog, you should use the IliTableComboBox::setUserComboBoxWindow
member function.
IliAbstractTablePopupView::IliAbstractTablePopupView | ( | IlvDisplay * | display, | |
IlvSystemView | transient = 0 | |||
) |
This constructor initializes a dialog to replace the pull-down menu of the combo box.
display | The display. | |
transient | A system view for which the gadget container is transient. For more details, see the IlvView constructors. |
IliTableComboBox* IliAbstractTablePopupView::getComboBox | ( | ) | const |
Returns the combo box associated with the dialog.
virtual IlvCursor* IliAbstractTablePopupView::getWindowCursor | ( | ) | [virtual] |
Returns the cursor of the dialog.
virtual IlvDim IliAbstractTablePopupView::getWindowHeight | ( | ) | const [virtual] |
Returns the height of the dialog.
Dialog and combo box heights can differ.
Reimplemented in IliTablePopupView.
virtual IlvDim IliAbstractTablePopupView::getWindowWidth | ( | ) | const [virtual] |
Returns the width of the dialog.
Dialog and combo box widths can differ.
Reimplemented in IliTablePopupView.
virtual void IliAbstractTablePopupView::handleInput | ( | IlvEvent & | event | ) | [virtual] |
IlBoolean IliAbstractTablePopupView::isGrabbed | ( | ) | const |
Returns IlTrue
if a grab operation is defined. Otherwise, returns IlFalse
.
IlBoolean IliAbstractTablePopupView::isOpen | ( | ) | const |
Returns IlTrue
if the dialog is opened. Otherwise, returns IlFalse
.
IlBoolean IliAbstractTablePopupView::isOpenOn | ( | const IliTableComboBox * | combo | ) | const |
Returns IlTrue
if the open combo box dialog is associated with the combo box. Otherwise, returns IlFalse
.
combo | The combo box. |
IlBoolean IliAbstractTablePopupView::isWindowsLook | ( | ) | const |
Returns IlTrue
if the current look is Windows 95 or Windows NT. Otherwise, returns IlFalse
.
Called when the dialog must be resized.
w | The new dialog width. | |
h | The new dialog height. |
Reimplemented in IliTablePopupView.
virtual void IliAbstractTablePopupView::prepareOpen | ( | IlInt * | dispcol, | |
IlInt | count, | |||
IlInt | rowno | |||
) | [virtual] |
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 in IliTablePopupView.
virtual void IliAbstractTablePopupView::processEvent | ( | IlvEvent & | event, | |
const IlvRect & | bbox | |||
) | [virtual] |
Called to handle events such as button, key up, and key down.
event | The event. | |
bbox | The event location. |
Reimplemented in IliTablePopupView.
Called to handle the input events that are not handled by handleInput
function.
event | The event. return IlTrue if the event is processed. |
Reimplemented in IliTablePopupView.
virtual void IliAbstractTablePopupView::selectInitialRow | ( | IlInt | rowno | ) | [virtual] |
Called to select the data corresponding to the current row.
rowno | The row position. |
Reimplemented in IliTablePopupView.
void IliAbstractTablePopupView::setComboBox | ( | IliTableComboBox * | combo | ) |
Associates the dialog with a combo box.
combo | The combo box. |
© Copyright 2012, 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.