THuiTextCommand Class Reference

class THuiTextCommand : public THuiObjectCommand

THuiTextCommand is a command that operaters on a text visual.

Inherits from

Constructor & Destructor Documentation

THuiTextCommand(CHuiTextVisual &, const TDesC &, THuiOp)

IMPORT_C THuiTextCommand ( CHuiTextVisual & aTextVisual,
const TDesC & aText,
THuiOp aOperation = EHuiOpSetText
)

Constructs a new text command.

Parameters

CHuiTextVisual & aTextVisual Text visual.
const TDesC & aText Text.
THuiOp aOperation = EHuiOpSetText Operation to perform.

Member Functions Documentation

CommandExtension(const TUid &, TAny **)

IMPORT_C void CommandExtension ( const TUid & aExtensionUid,
TAny ** aExtensionParams
) [protected, virtual]

Parameters

const TUid & aExtensionUid
TAny ** aExtensionParams

ExecuteL(CHuiEnv &)

IMPORT_C void ExecuteL ( CHuiEnv & aEnv ) const [virtual]

Executes the command.

Parameters

CHuiEnv & aEnv The environment in which the command is being executed.

Size()

IMPORT_C TInt Size ( ) const [virtual]

Returns the size of the command.

Text()

IMPORT_C const TDesC & Text ( ) const

Returns a reference to the image of the visual.

TextVisual()

IMPORT_C CHuiTextVisual & TextVisual ( ) const

Returns the visual that the command operates on.

Member Data Documentation

TInt iSpare1

TInt iSpare1 [private]

TInt iSpare2

TInt iSpare2 [private]

const TDesC & iText

const TDesC & iText [private]

Text of the command.