Slider Class Reference

A widget for adjusting numerical values, etc. More...

Inheritance diagram for Slider:
Widget

List of all members.

Public Member Functions

 Slider ()
 Constructor.

Protected Member Functions

internal override void OnTouchEvent (Sce.PlayStation.HighLevel.UI.TouchEventCollection touchEvents)
 Touch event handler.
internal override void OnPreviewKeyEvent (KeyEvent keyEvent)
 Advance key event handler.
override void DisposeSelf ()
 Frees used resources.
internal override void OnFocusChanged (FocusChangedEventArgs args)
 Called when this widget obtains or loses focus.

Properties

SliderOrientation Orientation [get, set]
 Obtains and sets the slider direction.
bool FillValue [get, set]
 Obtains and sets whether to display the green bar.
float Value [get, set]
 Obtains and sets the current position.
float MinValue [get, set]
 Obtains and sets the minimum value.
float MaxValue [get, set]
 Obtains and sets the maximum value.
bool ValueChangeEventEnabled [get, set]
 Obtains and sets whether to enable an event when the current position has changed.
override bool Enabled [get, set]
 Obtains and sets whether to enable the feature.
override float Width [get, set]
 Obtains and sets the width.
override float Height [get, set]
 Obtains and sets the height.
override bool PriorityHit [get, set]
 Obtains and sets whether to prioritize and respond to a touch.
float Step [get, set]
 Discrete value of Value.

Events

EventHandler
< SliderValueChangeEventArgs
ValueChanging
 Handler called when the current position is being changed.
EventHandler
< SliderValueChangeEventArgs
ValueChanged
 Handler called when the current position has changed.

Detailed Description

A widget for adjusting numerical values, etc.


Member Function Documentation

internal override void OnPreviewKeyEvent ( KeyEvent  keyEvent) [protected, virtual]

Advance key event handler.

Parameters:
keyEventKey event

Reimplemented from Widget.

internal override void OnTouchEvent ( Sce.PlayStation.HighLevel.UI.TouchEventCollection  touchEvents) [protected]

Touch event handler.

Parameters:
touchEventsTouch event

Property Documentation

override float Height [get, set]

Obtains and sets the height.

The set value is ignored if Orientation is Horizontal.

Reimplemented from Widget.

float Step [get, set]

Discrete value of Value.

When 0 is specified, Value becomes a continuous value. When a positive value is specified, the possible value of Value is MinValue+Step*n (where n is an integer) and MaxValue.

override float Width [get, set]

Obtains and sets the width.

The set value is ignored if Orientation is Vertical.

Reimplemented from Widget.