Piccolo.NET

PDefaultScrollDirector Members

PDefaultScrollDirector overview

Public Instance Constructors

PDefaultScrollDirector Constructor Constructs a new PDefaultScrollDirector.

Public Instance Methods

Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
GetViewPosition Gets the view position given the specified camera bounds.
GetViewSize Gets the size of the view based on the specified camera bounds.
Install Installs the scroll director and adds the appropriate handlers.
SetViewPosition Sets the view position in a manner consistent with standardized scrolling.
ToString (inherited from Object)Returns a String that represents the current Object.
UnInstall Uninstalls the scroll director from the scrollable control.

Protected Instance Fields

camera The canvas' camera.
root The canvas' root.
scrollableControl The scrollablecontrol that signals the scrolldirector.
scrollInProgress Flag to indicate when scrolling is currently in progress.
view The canvas that this class directs.

Protected Instance Properties

UnionOfLayerFullBounds Gets the the total bounds of all the layers.

Protected Instance Methods

camera_BoundsChanged Invoked when the bounds of the camera changes.
camera_FullBoundsChanged Invoked when the full bounds of the camera changes.
camera_ViewTransformChanged Invoked when the camera's view changes.
Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.
root_BoundsChanged Invoked when the bounds of the root changes.
root_FullBoundsChanged Invoked when the full bounds of the root changes.

See Also

PDefaultScrollDirector Class | UMD.HCIL.PiccoloX.Components Namespace