Drag[en]gine Script Module DragonScript 1.35
Loading...
Searching...
No Matches
Dragengine.Gui.Slider.ActionSlide.ActionSlideUp Class Reference

Action slide up action. More...

Inheritance diagram for Dragengine.Gui.Slider.ActionSlide.ActionSlideUp:
Dragengine.Gui.Slider.ActionSlide Dragengine.Gui.Events.DefaultActionListener Dragengine.Gui.Events.ActionListener

Public Member Functions

ActionSlideUp new (Slider slider)
ActionSlideUp new (Slider slider, bool isWheelAction)
Public Member Functions inherited from Dragengine.Gui.Slider.ActionSlide
void dispose ()
 Dispose of widget.
void doLayout ()
 Layout widget.
void focusDirectional (int direction)
Point getFocusMouseLocation ()
int getKnobOffset ()
 Knob offset along orientation axis.
Point getKnobPosition (int value)
 Knob position matching model value.
int getKnobValue (Point position)
 Closest model value matching knob position.
RangeModel getModel ()
 Range model.
Orientation getOrientation ()
 Orientation.
bool getReverseWheel ()
 Reverse wheel direction.
bool getShowTicks ()
 Show ticks.
RectArea getSlideArea ()
 Slide area in pixels.
int getSliderSize ()
 Slider size along non-orientation axis.
float getSmallTickCountRatio ()
 Percentage of small ticks to show per large tick.
int getTickSize ()
 Tick size along orientation axis.
Widget getWidgetBar ()
 Bar widget.
Widget getWidgetKnob ()
 Knob widget.
ActionSlide new (Orientation orientation)
 Create slide widget.
void onAction (ActionEvent event)
 Run action.
void onButtonPress (MouseEvent event)
void onButtonRelease (MouseEvent event)
void onDesignerChanged ()
 Designer changed.
void onGuiThemeChanged ()
void onResize (WidgetEvent event)
 Size changed.
void rangeChanged (RangeModel rangeModel)
void repositionKnob ()
 Reposition knob to match current model value.
void setEnabled (bool enabled)
 Set if widget is enabled.
void setModel (RangeModel model)
 Set range model.
void setOrientation (Orientation orientation)
 Set orientation.
void setReverseWheel (bool reverseWheel)
 Set reverse wheel direction.
void setShowTicks (bool showTicks)
 Set show ticks.
void setSmallTickCountRatio (float ratio)
 Set percentage of small ticks to show per large tick.
void valueChanged (RangeModel rangeModel)
Public Member Functions inherited from Dragengine.Gui.Events.DefaultActionListener
DefaultActionListener new ()
 Create default action listener.

Protected Member Functions

bool increaseValue ()
Protected Member Functions inherited from Dragengine.Gui.Slider.ActionSlide
void createContent ()
WidgetDesigner getDesignerFromTheme ()
 Get designer from gui theme.

Additional Inherited Members

Public Attributes inherited from Dragengine.Gui.Slider.ActionSlide
int pKnobOffset
RangeModel pModel
Orientation pOrientation
RepeatActionTimer pRepeatSlideTimer
bool pReverseWheel
bool pShowTicks
RectArea pSlideArea
int pSliderSize
float pSmallTickCountRatio
int pTickSize
Widget pWidgetBar
Widget pWidgetKnob
Protected Attributes inherited from Dragengine.Gui.Slider.ActionSlide
bool pIsWheelAction
Slider pSlider

Detailed Description

Action slide up action.

Member Function Documentation

◆ increaseValue()

bool Dragengine.Gui.Slider.ActionSlide.ActionSlideUp.increaseValue ( )
protected

Reimplemented from Dragengine.Gui.Slider.ActionSlide.

Referenced by new().

◆ new() [1/2]

ActionSlideUp Dragengine.Gui.Slider.ActionSlide.ActionSlideUp.new ( Slider slider)

◆ new() [2/2]

ActionSlideUp Dragengine.Gui.Slider.ActionSlide.ActionSlideUp.new ( Slider slider,
bool isWheelAction )

Reimplemented from Dragengine.Gui.Slider.ActionSlide.

References increaseValue().


The documentation for this class was generated from the following file: