Represents an interactor with mutable behaviors. More...
Public Member Functions | |
void | AddBehavior (IBehavior behavior) |
Adds a behavior to the interactor. More... | |
void | RemoveBehavior (Framework.BehaviorType behaviorType) |
Removes the behavior of the provided Framework.BehaviorType. More... | |
Public Member Functions inherited from IInteractor | |
Rectangle | GetBounds () |
Gets the bounds of the interactor. More... | |
bool | TryGetBehavior (Framework.BehaviorType behaviorType, out IBehavior behavior) |
Tries to resolve a behavior associated with this interactor by the behavior's type. More... | |
void | HandleEvent (InteractionEvent interactionEvent) |
Handles an Model.InteractionEvent. More... | |
Public Member Functions inherited from IChecksummable | |
int | GetChecksum () |
Returns a checksum of the object. More... | |
Additional Inherited Members | |
Properties inherited from IInteractor | |
string | Id [get] |
Gets the interactor identifier. More... | |
string | ParentId [get] |
Gets the interactor's parent identifier. More... | |
string | WindowId [get] |
Gets the window identifier that this interactor belong to. More... | |
double | Z [get] |
Gets the Z order of the interactor. More... | |
bool | IsDeleted [get] |
Gets the IsDeleted flag of the interactor. More... | |
bool | IsEnabled [get] |
Gets the IsEnabled flag of the interactor. More... | |
IEnumerable< IBehavior > | Behaviors [get] |
Gets the behaviors associated with this interactor. More... | |
IMask | Mask [get] |
Gets the IMask used to describe the geometry of the interactor in detail (if needed). Will be null when the interactor has no mask (the normal case). More... | |
Rectangle? | MaskBounds [get] |
Gets a rectangle describing the mask bounds. The mask bounds describe the geometry over which the mask applies. The X and Y coordinates are relative to the X and Y coordinates of the interactor bounds. If null, the same bounds as for the interactor will be assumed. More... | |
Represents an interactor with mutable behaviors.
void AddBehavior | ( | IBehavior | behavior | ) |
Adds a behavior to the interactor.
behavior | The behavior to add. |
Implemented in Interactor.
void RemoveBehavior | ( | Framework.BehaviorType | behaviorType | ) |
Removes the behavior of the provided Framework.BehaviorType.
behaviorType | The behavior type. |
Implemented in Interactor.