class Alf::IAlfHostAPI : public Alf::IAlfInterfaceBase |
The interface for host appis used by widget controls.
Public Member Functions | |
---|---|
~IAlfHostAPI () | |
IAlfLayoutManager * | getBaseLayout () |
CAlfWidgetControl * | getConnection (int) |
int | getConnectionCount () |
int | getConnectionIndex ( CAlfWidgetControl &) |
void | removeConnection ( CAlfWidgetControl &) |
void | setBaseLayout ( IAlfLayoutManager &) |
void | setConnection ( CAlfWidgetControl &, AlfRole ) |
const IfId & | type () |
Inherited Functions | |
---|---|
Alf::IAlfInterfaceBase::makeInterface(IAlfInterfaceBase *) | |
Alf::IAlfInterfaceBase::makeInterface(const IfId &) | |
Alf::IAlfInterfaceBase::~IAlfInterfaceBase() |
IAlfLayoutManager * | getBaseLayout | ( | ) | const [pure virtual] |
Returns the base layout of control.
CAlfWidgetControl * | getConnection | ( | int | aIndex | ) | const [pure virtual] |
Get the connected control at given index.
int aIndex | Index of connected control. |
int | getConnectionCount | ( | ) | const [pure virtual] |
gets the number of connections
int | getConnectionIndex | ( | CAlfWidgetControl & | aControl | ) | const [pure virtual] |
gets the connection index of aControl
CAlfWidgetControl & aControl | control, which index to return. |
void | removeConnection | ( | CAlfWidgetControl & | aControl | ) | [pure virtual] |
Removes connection with the given control.
If the connected control is in the same control group with host control, it will be removed from the host control's control group.
If the connected control is in a separate control group or if the host control is not in a control group, the connected control's control group relation will not be affected.
CAlfWidgetControl & aControl | Control with which connection is to be removed. |
void | setBaseLayout | ( | IAlfLayoutManager & | aLayout | ) | [pure virtual] |
Sets the base layout of control.
IAlfLayoutManager & aLayout | Base layout. |
void | setConnection | ( | CAlfWidgetControl & | aControl, |
AlfRole | aRole | |||
) | [pure virtual] |
Sets a connection from this host to a given control.
A control can never have more than one host control. If the connected control has a host control the connection from old host control to connected control will be removed.
CAlfWidgetControl & aControl | Control to be connected. |
AlfRole aRole | Relationship with connected control. |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.