#include <IMultiStateObjectBehaviorData.h>
|
| enum | Position { kExplicitPosition, kNextPosition, kPreviousPosition } |
| |
| enum | { kDefaultIID = IID_IBEHAVIORDATA } |
| |
Data interface for Switch Multi-state Object (MSO) Behavior.
- See Also
- INamedPageItemList (for a way of getting candidates for SetTarget())
| virtual bool IMultiStateObjectBehaviorData::GetLoopAtBeginningOrEnd | ( | | ) | const |
| pure virtual |
Get whether target MSO should loop to the beginning or end when position is either next or previous respectively
Note: This has no meaning if position is explicit
- Returns
- true if target should loop on next or previous
| virtual Position IMultiStateObjectBehaviorData::GetPosition | ( | | ) | const |
| pure virtual |
Get Position for this MSO state behavior
Note: This is an intrinsic property of the behavior and cannot be changed.
- Returns
- One of Position enum
| virtual Form::AppearanceState IMultiStateObjectBehaviorData::GetState | ( | | ) | const |
| pure virtual |
Get the MSO state to switch to
- Returns
- The MSO state to switch to
| virtual bool IMultiStateObjectBehaviorData::GetSwitchToPriorStateOnRollOff | ( | | ) | const |
| pure virtual |
Get whether target MSO should switch back to its prior state on roll off
Note: This only has meaning if this behavior is assigned to the roll over state
- Returns
- true if target should switch back to its prior state on roll off
| virtual UID IMultiStateObjectBehaviorData::GetTarget | ( | | ) | const |
| pure virtual |
Get UID of MSO page item to target
- Returns
- UID of MSO page item to target
| virtual void IMultiStateObjectBehaviorData::SetLoopAtBeginningOrEnd | ( | bool | loopsAtBeginningOrEnd | ) | |
| pure virtual |
Set whether target MSO should loop to the beginning or end when position is either next or previous respectively
Note: This has no meaning if position is explicit
- Parameters
| loopsAtBeginningOrEnd | Boolean. If true, target should loop on next or previous |
| virtual void IMultiStateObjectBehaviorData::SetState | ( | Form::AppearanceState | state | ) | |
| pure virtual |
Set the MSO state to switch to
- Parameters
| state | The MSO state to switch to |
| virtual void IMultiStateObjectBehaviorData::SetSwitchToPriorStateOnRollOff | ( | bool | revertOnRollOff | ) | |
| pure virtual |
Set whether target MSO should switch back to its prior state on roll off
Note: This only has meaning if this behavior is assigned to the roll over state
- Parameters
| revertOnRollOff | Boolean. If true, target should switch back to its prior state on roll off |
| virtual void IMultiStateObjectBehaviorData::SetTarget | ( | UID const & | target | ) | |
| pure virtual |
Set UID of MSO page item to target
- Parameters
| target | UID of MSO page item to target |