Action slide.
More...
◆ createContent()
| void Dragengine.Gui.Slider.ActionSlide.createContent |
( |
| ) |
|
|
protected |
◆ dispose()
| void Dragengine.Gui.Slider.ActionSlide.dispose |
( |
| ) |
|
◆ doLayout()
| void Dragengine.Gui.Slider.ActionSlide.doLayout |
( |
| ) |
|
◆ focusDirectional()
| void Dragengine.Gui.Slider.ActionSlide.focusDirectional |
( |
int |
direction | ) |
|
◆ getDesignerFromTheme()
| WidgetDesigner Dragengine.Gui.Slider.ActionSlide.getDesignerFromTheme |
( |
| ) |
|
|
protected |
Get designer from gui theme.
Modified to ensure a DefaultSliderDesigner is used if super.getDesignerFromTheme() returns null.
◆ getFocusMouseLocation()
| Point Dragengine.Gui.Slider.ActionSlide.getFocusMouseLocation |
( |
| ) |
|
◆ getKnobOffset()
| int Dragengine.Gui.Slider.ActionSlide.getKnobOffset |
( |
| ) |
|
Knob offset along orientation axis.
Stored value from designer.
◆ getKnobPosition()
| Point Dragengine.Gui.Slider.ActionSlide.getKnobPosition |
( |
int |
value | ) |
|
Knob position matching model value.
◆ getKnobValue()
| int Dragengine.Gui.Slider.ActionSlide.getKnobValue |
( |
Point |
position | ) |
|
Closest model value matching knob position.
◆ getModel()
| RangeModel Dragengine.Gui.Slider.ActionSlide.getModel |
( |
| ) |
|
◆ getOrientation()
| Orientation Dragengine.Gui.Slider.ActionSlide.getOrientation |
( |
| ) |
|
◆ getReverseWheel()
| bool Dragengine.Gui.Slider.ActionSlide.getReverseWheel |
( |
| ) |
|
Reverse wheel direction.
If false wheeling up decreases the range model. If true increases the range model.
◆ getShowTicks()
| bool Dragengine.Gui.Slider.ActionSlide.getShowTicks |
( |
| ) |
|
Show ticks.
If page size in model is 1 shows only large ticks. Otherwise shows large ticks every page size step with small ticks for each value step. If the density is too large tick count is reduced.
◆ getSlideArea()
| RectArea Dragengine.Gui.Slider.ActionSlide.getSlideArea |
( |
| ) |
|
Slide area in pixels.
For horizontal slider returns X coordinate of left and right slide end point and Y coordinate center of slider. For vertical slider returns Y coordinate of top and bottom slide end point and X coordinate center of slider.
◆ getSliderSize()
| int Dragengine.Gui.Slider.ActionSlide.getSliderSize |
( |
| ) |
|
Slider size along non-orientation axis.
Stored value from designer.
◆ getSmallTickCountRatio()
| float Dragengine.Gui.Slider.ActionSlide.getSmallTickCountRatio |
( |
| ) |
|
Percentage of small ticks to show per large tick.
Value is in the range from 0 to 1. Model page size is multiplied by this value to get the count of small ticks to show.
◆ getTickSize()
| int Dragengine.Gui.Slider.ActionSlide.getTickSize |
( |
| ) |
|
Tick size along orientation axis.
Stored value from designer.
◆ getWidgetBar()
| Widget Dragengine.Gui.Slider.ActionSlide.getWidgetBar |
( |
| ) |
|
◆ getWidgetKnob()
| Widget Dragengine.Gui.Slider.ActionSlide.getWidgetKnob |
( |
| ) |
|
◆ increaseValue()
| bool Dragengine.Gui.Slider.ActionSlide.increaseValue |
( |
| ) |
|
|
protected |
◆ new() [1/3]
| ActionSlide Dragengine.Gui.Slider.ActionSlide.new |
( |
Orientation |
orientation | ) |
|
◆ new() [2/3]
◆ new() [3/3]
| ActionSlide Dragengine.Gui.Slider.ActionSlide.new |
( |
Slider |
slider, |
|
|
bool |
isWheelAction |
|
) |
| |
◆ onAction()
| void Dragengine.Gui.Slider.ActionSlide.onAction |
( |
ActionEvent |
event | ) |
|
◆ onButtonPress()
| void Dragengine.Gui.Slider.ActionSlide.onButtonPress |
( |
MouseEvent |
event | ) |
|
Mouse button has been pressed.
◆ onButtonRelease()
| void Dragengine.Gui.Slider.ActionSlide.onButtonRelease |
( |
MouseEvent |
event | ) |
|
Mouse button has been released.
◆ onDesignerChanged()
| void Dragengine.Gui.Slider.ActionSlide.onDesignerChanged |
( |
| ) |
|
◆ onGuiThemeChanged()
| void Dragengine.Gui.Slider.ActionSlide.onGuiThemeChanged |
( |
| ) |
|
Notification that the gui theme changed.
◆ onResize()
| void Dragengine.Gui.Slider.ActionSlide.onResize |
( |
WidgetEvent |
event | ) |
|
◆ rangeChanged()
| void Dragengine.Gui.Slider.ActionSlide.rangeChanged |
( |
RangeModel |
rangeModel | ) |
|
Send if the outer range properties like minimum value, maximum value or page size has changed.
◆ repositionKnob()
| void Dragengine.Gui.Slider.ActionSlide.repositionKnob |
( |
| ) |
|
Reposition knob to match current model value.
◆ setEnabled()
| void Dragengine.Gui.Slider.ActionSlide.setEnabled |
( |
bool |
enabled | ) |
|
Set if widget is enabled.
◆ setModel()
| void Dragengine.Gui.Slider.ActionSlide.setModel |
( |
RangeModel |
model | ) |
|
◆ setOrientation()
| void Dragengine.Gui.Slider.ActionSlide.setOrientation |
( |
Orientation |
orientation | ) |
|
◆ setReverseWheel()
| void Dragengine.Gui.Slider.ActionSlide.setReverseWheel |
( |
bool |
reverseWheel | ) |
|
Set reverse wheel direction.
If false wheeling up decreases the range model. If true increases the range model.
◆ setShowTicks()
| void Dragengine.Gui.Slider.ActionSlide.setShowTicks |
( |
bool |
showTicks | ) |
|
Set show ticks.
If page size in model is 1 shows only large ticks. Otherwise shows large ticks every page size step with small ticks for each value step. If the density is too large tick count is reduced.
◆ setSmallTickCountRatio()
| void Dragengine.Gui.Slider.ActionSlide.setSmallTickCountRatio |
( |
float |
ratio | ) |
|
Set percentage of small ticks to show per large tick.
Value is in the range from 0 to 1. Model page size is multiplied by this value to get the count of small ticks to show.
◆ valueChanged()
| void Dragengine.Gui.Slider.ActionSlide.valueChanged |
( |
RangeModel |
rangeModel | ) |
|
Send if the value has changed.
◆ pIsWheelAction
| bool Dragengine.Gui.Slider.ActionSlide.pIsWheelAction |
|
protected |
◆ pKnobOffset
| int Dragengine.Gui.Slider.ActionSlide.pKnobOffset |
◆ pModel
| RangeModel Dragengine.Gui.Slider.ActionSlide.pModel |
◆ pOrientation
| Orientation Dragengine.Gui.Slider.ActionSlide.pOrientation |
◆ pRepeatSlideTimer
◆ pReverseWheel
| bool Dragengine.Gui.Slider.ActionSlide.pReverseWheel |
◆ pShowTicks
| bool Dragengine.Gui.Slider.ActionSlide.pShowTicks |
◆ pSlideArea
| RectArea Dragengine.Gui.Slider.ActionSlide.pSlideArea |
◆ pSlider
| Slider Dragengine.Gui.Slider.ActionSlide.pSlider |
|
protected |
◆ pSliderSize
| int Dragengine.Gui.Slider.ActionSlide.pSliderSize |
◆ pSmallTickCountRatio
| float Dragengine.Gui.Slider.ActionSlide.pSmallTickCountRatio |
◆ pTickSize
| int Dragengine.Gui.Slider.ActionSlide.pTickSize |
◆ pWidgetBar
| Widget Dragengine.Gui.Slider.ActionSlide.pWidgetBar |
◆ pWidgetKnob
| Widget Dragengine.Gui.Slider.ActionSlide.pWidgetKnob |
The documentation for this class was generated from the following file: