A class to connect an IValueControl to a slider of a joystick.
| C# | Visual Basic | Visual C++ |
public class JoystickSliderController : JoystickController
Public Class JoystickSliderController _ Inherits JoystickController
public ref class JoystickSliderController : public JoystickController
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| JoystickSliderController(Joystick, IValueControl) |
Constructor.
| |
| JoystickSliderController(Joystick, IValueControl, Int32, Boolean) |
Constructor.
| |
| AfterJoystickChange()()() |
Respond to a completed change to the Joystick property.
(Overrides JoystickController.AfterJoystickChange()()().) | |
| BeforeJoystickChange()()() |
Respond to a pending change to the Joystick property.
(Overrides JoystickController.BeforeJoystickChange()()().) | |
| Control |
Get the object being controlled.
(Inherited from JoystickController.) | |
| ControllerType |
Get the type of this controller.
(Inherited from JoystickController.) | |
| Dispose()()() |
Make sure all events are disconnected.
(Inherited from JoystickController.) | |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| Flip |
Get or set the option to flip the range direction.
| |
| GetHashCode()()() | Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
| GetType()()() | Gets the Type of the current instance. (Inherited from Object.) | |
| Joystick |
Get or set the joystick doing the controlling.
(Inherited from JoystickController.) | |
| Load(XmlNode) |
Load the JoystickController from an XmlNode.
(Inherited from JoystickController.) | |
| Loaded()()() |
Allow final configuration after all properties are loaded.
(Overrides JoystickController.Loaded()()().) | |
| MemberwiseClone()()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Name |
Get the Name representing this controller.
(Inherited from JoystickController.) | |
| Rate |
Get or set the default rate for IValueControl movement.
(Inherited from JoystickController.) | |
| Save(XmlNode) |
Save the JoystickController to an XmlNode.
(Inherited from JoystickController.) | |
| SetSliderRange()()() |
Set the range for the slider, from stored parameters.
| |
| Slider |
Get or set the Slider index for the controller.
| |
| ToString()()() |
Return the string representation of the object.
(Inherited from JoystickController.) |
The position of the slider directly determines the Value of the IValueControl.
The IValueControl ValueRate is set with a separate property.
| Object | ||
| JoystickController | ||
| JoystickSliderController | ||