C# Class WaveEngine.Components.UI.SliderBehavior

The SliderBehavior class.
Inheritance: FocusBehavior
Show file Open project: WaveEngine/Components

Public Methods

Method Description
SliderBehavior ( ) : System

Initializes a new instance of the SliderBehavior class.

UpdateWidthVerticalOffset ( float offsetY ) : void

Updates the width vertical offset.

Protected Methods

Method Description
Initialize ( ) : void

Performs further custom initialization for this instance.

By default this method does nothing.

ResolveDependencies ( ) : void

Resolves the dependencies needed for this instance to work.

Update ( System.TimeSpan gameTime ) : void

Allows this instance to execute custom logic during its Update.

This method will not be executed if the Component, or the Entity owning it are not Active.

Private Methods

Method Description
Gestures_TouchMoved ( object sender, GestureEventArgs e ) : void

Handles the TouchMoved event of the Gestures control.

Gestures_TouchPressed ( object sender, GestureEventArgs e ) : void

Handles the TouchPressed event of the Gestures control.

Gestures_TouchReleased ( object sender, GestureEventArgs e ) : void

Handles the TouchReleased event of the Gestures control.

UpdateDifference ( ) : void

Updates the difference.

UpdateOrientation ( ) : void

Updates the orientation.

UpdateValue ( ) : void

Updates the value.

UpdateWidthHorizontalOffset ( float offsetX ) : void

Updates the width horizontal offset.

Method Details

Initialize() protected method

Performs further custom initialization for this instance.
By default this method does nothing.
protected Initialize ( ) : void
return void

ResolveDependencies() protected method

Resolves the dependencies needed for this instance to work.
protected ResolveDependencies ( ) : void
return void

SliderBehavior() public method

Initializes a new instance of the SliderBehavior class.
public SliderBehavior ( ) : System
return System

Update() protected method

Allows this instance to execute custom logic during its Update.
This method will not be executed if the Component, or the Entity owning it are not Active.
protected Update ( System.TimeSpan gameTime ) : void
gameTime System.TimeSpan The game time.
return void

UpdateWidthVerticalOffset() public method

Updates the width vertical offset.
public UpdateWidthVerticalOffset ( float offsetY ) : void
offsetY float The offset Y.
return void