rwlogo
Rogue Wave Views 5.5.1

Rogue Wave Views
Data Access Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IliTablePopupView Class Reference

Dialog class. More...

#include <ilviews/dataccess/gadgets/tblcombo.h>

Inheritance diagram for IliTablePopupView:
IliAbstractTablePopupView IlvGadgetContainer IlvContainer IlvDrawingView IlvView IlvAbstractView IlvSystemPort IlvPort

List of all members.

Public Member Functions

 IliTablePopupView (IlvDisplay *display, IlvSystemView transient=0)
 This constructor initializes a dialog, which is the default pull-down menu of the combobox.
virtual void closeDone ()
 Called immediately after the dialog is closed.
virtual IliTablegetTableForDisplay ()
 Returns the table used by table gadget.
IliTableGadgetgetTableGadget () const
 Returns the dialog table gadget.
virtual IlvDim getWindowHeight () const
 Returns the height of the dialog.
virtual IlvDim getWindowWidth () const
 Returns the width of the dialog.
virtual void makeTable ()
 Builds dialog gadgets.
virtual void makeWindowResize (IlvDim, IlvDim)
 Called when the dialog must be resized.
virtual void prepareOpen (IlInt *, IlInt, IlInt)
 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.

Detailed Description

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.)

See also:
IliAbstractTablePopupView, IliTableComboBox.

Constructor & Destructor Documentation

IliTablePopupView::IliTablePopupView ( IlvDisplay display,
IlvSystemView  transient = 0 
)

This constructor initializes a dialog, which is the default pull-down menu of the combobox.

Parameters:
display The display.
transient A system view for which the gadget container is transient. For more details, see the IlvView constructors.

Member Function Documentation

virtual IliTable* IliTablePopupView::getTableForDisplay (  )  [virtual]

Returns the table used by table gadget.

Returns:
The table used by table gadget, which by default is the foreign table.
IliTableGadget* IliTablePopupView::getTableGadget (  )  const

Returns the dialog table gadget.

Returns:
The dialog.
virtual IlvDim IliTablePopupView::getWindowHeight (  )  const [virtual]

Returns the height of the dialog.

Dialog and combo box heights can differ.

Returns:
The height.

Reimplemented from IliAbstractTablePopupView.

virtual IlvDim IliTablePopupView::getWindowWidth (  )  const [virtual]

Returns the width of the dialog.

Dialog and combo box widths can differ.

Returns:
The width.

Reimplemented from IliAbstractTablePopupView.

virtual void IliTablePopupView::makeWindowResize ( IlvDim  w,
IlvDim  h 
) [virtual]

Called when the dialog must be resized.

Parameters:
w The new dialog width.
h The new dialog height.

Reimplemented from IliAbstractTablePopupView.

virtual void IliTablePopupView::prepareOpen ( IlInt dispcol,
IlInt  count,
IlInt  rowno 
) [virtual]

Called just before the dialog is opened.

Parameters:
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.

virtual void IliTablePopupView::processEvent ( IlvEvent event,
const IlvRect bbox 
) [virtual]

Called to handle events such as button, key up, and key down.

Parameters:
event The event.
bbox The event location.

Reimplemented from IliAbstractTablePopupView.

virtual IlBoolean IliTablePopupView::processInputEvent ( IlvEvent event  )  [virtual]

Called to handle the input events that are not handled by handleInput function.

Parameters:
event The event. return IlTrue if the event is processed.

Reimplemented from IliAbstractTablePopupView.

virtual void IliTablePopupView::selectInitialRow ( IlInt  rowno  )  [virtual]

Called to select the data corresponding to the current row.

Parameters:
rowno The row position.

Reimplemented from IliAbstractTablePopupView.


© 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.