Views
Data Access Package API Reference Guide
Product Documentation:
Views Documentation Home
List of all members | Public Member Functions
IliAbstractTablePopupView Class Reference

Dialog class. More...

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

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

Public Member Functions

 IliAbstractTablePopupView (IlvDisplay *display, IlvSystemView transient=0)
 This constructor initializes a dialog to replace the pull-down menu of the combo box. More...
 
virtual void closeDone ()
 Called immediately after the dialog is closed.
 
IliTableComboBoxgetComboBox () const
 Returns the combo box associated with the dialog. More...
 
virtual IlvCursorgetWindowCursor ()
 Returns the cursor of the dialog. 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 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...
 
virtual void makeTable ()
 Builds dialog gadgets.
 
virtual void makeWindowResize (IlvDim w, IlvDim h)
 Called when the dialog must be resized. More...
 
virtual void prepareOpen (IlInt *dispcol, IlInt count, IlInt rowno)
 Called just before the dialog is opened. More...
 
virtual void processEvent (IlvEvent &event, const IlvRect &bbox)
 Called to handle events such as button, key up, and key down. More...
 
virtual IlBoolean processInputEvent (IlvEvent &event)
 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 rowno)
 Called to select the data corresponding to the current row. More...
 
void setComboBox (IliTableComboBox *combo)
 Associates the dialog with a combo box. More...
 

Detailed Description

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.

See also
IliTableComboBox, IliTablePopupView.

Constructor & Destructor Documentation

◆ IliAbstractTablePopupView()

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

This constructor initializes a dialog to replace the pull-down menu of the combo box.

Parameters
displayThe display.
transientA system view for which the gadget container is transient. For more details, see the IlvView constructors.

Member Function Documentation

◆ getComboBox()

IliTableComboBox* IliAbstractTablePopupView::getComboBox ( ) const

Returns the combo box associated with the dialog.

Returns
The combo box.

◆ getWindowCursor()

virtual IlvCursor* IliAbstractTablePopupView::getWindowCursor ( )
virtual

Returns the cursor of the dialog.

Returns
The cursor.

◆ getWindowHeight()

virtual IlvDim IliAbstractTablePopupView::getWindowHeight ( ) const
virtual

Returns the height of the dialog.

Dialog and combo box heights can differ.

Returns
The height.

Reimplemented in IliTablePopupView.

◆ getWindowWidth()

virtual IlvDim IliAbstractTablePopupView::getWindowWidth ( ) const
virtual

Returns the width of the dialog.

Dialog and combo box widths can differ.

Returns
The width.

Reimplemented in IliTablePopupView.

◆ handleInput()

virtual void IliAbstractTablePopupView::handleInput ( IlvEvent event)
virtual

Called to handle the input events.

Parameters
eventThe event.

Reimplemented from IlvContainer.

◆ isGrabbed()

IlBoolean IliAbstractTablePopupView::isGrabbed ( ) const

Returns IlTrue if a grab operation is defined. Otherwise, returns IlFalse.

Returns
The grab flag.

◆ isOpen()

IlBoolean IliAbstractTablePopupView::isOpen ( ) const

Returns IlTrue if the dialog is opened. Otherwise, returns IlFalse.

Returns
The opening state.

◆ isOpenOn()

IlBoolean IliAbstractTablePopupView::isOpenOn ( const IliTableComboBox combo) const

Returns IlTrue if the open combo box dialog is associated with the combo box. Otherwise, returns IlFalse.

Parameters
comboThe combo box.
Returns
The association state.

◆ isWindowsLook()

IlBoolean IliAbstractTablePopupView::isWindowsLook ( ) const

Returns IlTrue if the current look is Windows 95 or Windows NT. Otherwise, returns IlFalse.

Returns
The Windows look flag.

◆ makeWindowResize()

virtual void IliAbstractTablePopupView::makeWindowResize ( IlvDim  w,
IlvDim  h 
)
virtual

Called when the dialog must be resized.

Parameters
wThe new dialog width.
hThe new dialog height.

Reimplemented in IliTablePopupView.

◆ prepareOpen()

virtual void IliAbstractTablePopupView::prepareOpen ( IlInt dispcol,
IlInt  count,
IlInt  rowno 
)
virtual

Called just before the dialog is opened.

Parameters
dispcolThe list of columns that must be displayed.
countThe number of columns to be displayed.
rownoThe current row position.

Reimplemented in IliTablePopupView.

◆ processEvent()

virtual void IliAbstractTablePopupView::processEvent ( IlvEvent event,
const IlvRect bbox 
)
virtual

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

Parameters
eventThe event.
bboxThe event location.

Reimplemented in IliTablePopupView.

◆ processInputEvent()

virtual IlBoolean IliAbstractTablePopupView::processInputEvent ( IlvEvent event)
virtual

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

Parameters
eventThe event. return IlTrue if the event is processed.

Reimplemented in IliTablePopupView.

◆ selectInitialRow()

virtual void IliAbstractTablePopupView::selectInitialRow ( IlInt  rowno)
virtual

Called to select the data corresponding to the current row.

Parameters
rownoThe row position.

Reimplemented in IliTablePopupView.

◆ setComboBox()

void IliAbstractTablePopupView::setComboBox ( IliTableComboBox combo)

Associates the dialog with a combo box.

Parameters
comboThe combo box.