THuiValueCommand Class Reference
class THuiValueCommand : public THuiObjectCommand
|
Constructor & Destructor Documentation
THuiValueCommand(TAny *, THuiTimedValue &, TReal32, TInt)
IMPORT_C
|
THuiValueCommand
|
(
|
TAny
*
|
aOwner,
|
|
THuiTimedValue
&
|
aValue,
|
|
TReal32
|
aTarget,
|
|
TInt
|
aTransitionTime = 0
|
|
)
|
|
Constructs a new value command.
Parameters
TAny
* aOwner
|
Owner of the timed value. Allowed to be NULL.
|
THuiTimedValue
& aValue
|
Timed value to modify (owned by aOwner).
|
TReal32
aTarget
|
Target value
|
TInt
aTransitionTime = 0
|
Time (in milliseconds) for the transition to occur.
|
THuiValueCommand(TAny *, THuiTimedValue &, THuiOp, TReal32, TReal32)
IMPORT_C
|
THuiValueCommand
|
(
|
TAny
*
|
aOwner,
|
|
THuiTimedValue
&
|
aValue,
|
|
THuiOp
|
aOperation = EHuiOpSet,
|
|
TReal32
|
aTarget = 0.0,
|
|
TReal32
|
aTiming = 0.0
|
|
)
|
|
Constructs a new value command. This constructor takes an operation parameter in addition to the target and timing values.
Parameters
TAny
* aOwner
|
Owner of the timed value. Allowed to be NULL.
|
THuiTimedValue
& aValue
|
Timed value to modify (owned by aOwner).
|
THuiOp
aOperation = EHuiOpSet
|
Operation to perform.
|
TReal32
aTarget = 0.0
|
Target value
|
TReal32
aTiming = 0.0
|
Time (in milliseconds) for the transition to occur.
|
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]
|
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.
Speed()
Returns the transition speed. Zero, if not set.
Target()
Returns the target value.
TimedValue()
IMPORT_C
THuiTimedValue
&
|
TimedValue
|
(
|
)
|
const
|
Returns the visual that the command operates on.
TransitionTime()
IMPORT_C
TInt
|
TransitionTime
|
(
|
)
|
const
|
Returns the transition time.
Member Data Documentation
TReal32
iSpeed
Optionally, transition speed in units/second.
THuiTimedValue & iTimedValue
THuiTimedValue
&
|
iTimedValue
|
[private]
|
Timed value being operated on.
TInt
iTransitionTime
TInt
|
iTransitionTime
|
[private]
|
Transition time in milliseconds.
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.