Reference for the Mosaic class XFlat::VertBarSlider

XFlat::VertBarSlider
CurrentValue
MaxIcon
MaxIconIndex
MaxValue
MinIcon
MinIconIndex
MinValue
OnApply
OnChange
Outlet
startValue
onDragSlot
onPressSlot
onReleaseSlot
outletSlot
Core::Group
AlphaBlended
Buffered
Embedded
Enabled
Focus
Opacity
Visible
Add()
AddBehind()
BroadcastEvent()
BroadcastEventAtPosition()
CountViews()
DispatchEvent()
FindNextView()
FindPrevView()
FindSiblingView()
FindViewAtPosition()
FindViewInDirection()
FindViewWithinArea()
GetContentArea()
GetIndexOfView()
GetViewAtIndex()
GlobalPosition()
HasViewState()
Init()
InvalidateArea()
InvalidateViewState()
LocalPosition()
ObtainFocus()
Remove()
Restack()
RestackBack()
RestackBehind()
RestackTop()
UpdateLayout()
UpdateViewState()
Core::RectView
Bounds
Core::View
Layout
Owner
ArrangeView()
ChangeViewState()
CursorHitTest()
Draw()
GetExtent()
GetRoot()
HandleEvent()
MoveView()

Vertical slider widget that appears as a filled bar. The widget allows the user to change a value by moving the filled area in vertical direction.

property int32 CurrentValue = 50;

The property 'CurrentValue' stores the momentary value of the widget. The value is limited automatically to the range from MinValue to MaxValue.

property Resources::Bitmap MaxIcon = XFlat::SymbolFan;

The property 'MaxIcon' stores a symbol to indicate the high-level position of the slider.

property int32 MaxIconIndex = 1;

The property 'MaxIconIndex' stores the frame number of the MaxIcon.

property int32 MaxValue = 100;

The property 'MaxValue' defines the upper boundary of the widgets value range.

property Resources::Bitmap MinIcon = XFlat::SymbolFan;

The property 'MinIcon' stores a symbol to indicate the low-level position of the slider.

property int32 MinIconIndex = 0;

The property 'IconIndex' stores the frame number of the Icon.

property int32 MinValue = 0;

The property 'MinValue' defines the lower boundary of the widgets value range.

property slot OnApply = null;

The property 'OnApply' can refer to a slot method, which will receive a signal when the user has released the slider. Thereupon the method's logic will be executed.

property slot OnChange = null;

The property 'OnChange' can refer to a slot method, which will receive a signal each time the user has changed the value of the slider. Thereupon the method's logic will be executed.

property ^int32 Outlet = null;

The property 'Outlet' provides an interface for the Model-View-Controller (MVC). In the MVC, the widgets (views, controllers) and the application logic (model) are always kept apart. An automatism behind this model ensures, that widgets are notified automatically as soon as the affected model has changed its state. On the other hand, user interactions on a widget cause the affected model to execute the application logic. Usually, a model is a simple Chora object containing several properties and the implementation of onget/onset method.

By assigning a property reference, Outlet establishes a connection between the widget and the model object, the affected property belongs to. After this, the widget is able to read and modify the referred property in response to the user interactions. It is also able to adapt the widget appearance, if the value of the referred property has been modified by another widget or by the application logic itself.

slot onDragSlot;

This internal slot method is used to receive the corresponding signals form the touch handler.

slot onPressSlot;

This internal slot method is used to receive the corresponding signals form the touch handler.

slot onReleaseSlot;

This internal slot method is used to receive the corresponding signals form the touch handler.

slot outletSlot;

This slot method will receive a signal, if the value of the property assigned to Outlet has been changed by another widget or by the application logic. In response to this notification, the widget will update itself.

var int32 startValue = 0;

This variable stores the Value at the beginning of the user interaction.