rwlogo
Rogue Wave Views 5.5.1

Rogue Wave Views
Data Access Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IliSimpleToggle Class Reference

Field gadget class. More...

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

Inheritance diagram for IliSimpleToggle:
IliDbToggle IlvToggle IliFieldItf IlvGadget IlvSimpleGraphic IlvGraphic

List of all members.

Public Member Functions

 IliSimpleToggle (IlvDisplay *display, const IlvPoint &at)
 Initializes a toggle.
virtual IlBoolean f_isConsistent () const
 Returns IlTrue if the internal value of the field corresponds to its current external representation.

Detailed Description

Field gadget class.

Library: dbgadget

The IliSimpleToggle class defines toggle gadgets that can be used to display and to edit a Boolean value into an IliTableGadget object. To use this gadget, you should use the setColumnEditor function of the IliTableGadget class.

See also:
IliDbToggle, IliTableGadget.

Constructor & Destructor Documentation

IliSimpleToggle::IliSimpleToggle ( IlvDisplay display,
const IlvPoint at 
)

Initializes a toggle.

Parameters:
display The display.
at The position.

Member Function Documentation

virtual IlBoolean IliSimpleToggle::f_isConsistent (  )  const [virtual]

Returns IlTrue if the internal value of the field corresponds to its current external representation.

A return value of IlFalse means that the external representation of the field has been edited by the end-user since the last time one of the member functions, f_setValue, f_externalToInternal, f_internalToExternal or f_complete was successfully called.

Returns:
IlTrue if the internal value of the field corresponds to its current external representation.

Reimplemented from IliDbToggle.


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