Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: eikbgfty.h
Link against: eikcoct.lib

Class EikButtonGroupFactory

EikButtonGroupFactory

Support

Supported from 6.1

Description

Provides an interface to the button group factory.

Defined in EikButtonGroupFactory:
TCreationData


Classes


Class TCreationData

TCreationData

Description

Defines information required to create a button group.

Defined in EikButtonGroupFactory::TCreationData:
TCreationData(), iCommandObserver, iFlags, iOrientation, iResourceId, iUse

Construction

TCreationData()


TCreationData(CEikButtonGroupContainer::TUse aUse, MEikCommandObserver* aCommandObserver, TInt aResourceId, TUint aFlags, CEikButtonGroupContainer::TOrientation aOrientation);

Description

Constructor taking arguments required to create a button group.

Parameters

CEikButtonGroupContainer::TUse aUse

The type of button group container.

MEikCommandObserver* aCommandObserver

A command observer to be notified of commands on the container.

TInt aResourceId

A resource containing descriptions of buttons in the group. This can be NULL if buttons are to be added dynamically.

TUint aFlags

The button group’s flags.

CEikButtonGroupContainer::TOrientation aOrientation

The button group's containers orientation. You need specify this only for devices that can layout their buttons either horizontally or vertically.

Member data

iUse


CEikButtonGroupContainer::TUse iUse;

Description

Container use type.

This member is used to specify to the system the general type of the button group that is required. The system then creates the appropriate button group for the specified type. From 6.1 only two use types can be specified: EView or EDialog.

iCommandObserver


MEikCommandObserver* iCommandObserver;

Description

The command observer to be notified of commands on the container.

iResourceId


TInt iResourceId;

Description

A resource containing descriptions of buttons in the group.

iFlags


TUint iFlags;

Description

Flags for the button group.

iOrientation


CEikButtonGroupContainer::TOrientation iOrientation;

Description

Orientation of the new button group.