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_CTHuiTextCommand(CHuiTextVisual &aTextVisual,
const TDesC &aText,
THuiOpaOperation = EHuiOpSetText
)

Constructs a new text command.

Parameters

CHuiTextVisual & aTextVisualText visual.
const TDesC & aTextText.
THuiOp aOperation = EHuiOpSetTextOperation to perform.

Member Functions Documentation

CommandExtension(const TUid &, TAny **)

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

Parameters

const TUid & aExtensionUid
TAny ** aExtensionParams

ExecuteL(CHuiEnv &)

IMPORT_C voidExecuteL(CHuiEnv &aEnv)const [virtual]

Executes the command.

Parameters

CHuiEnv & aEnvThe environment in which the command is being executed.

Size()

IMPORT_C TIntSize()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.