home
 
 index of namespace ui
 
 index of project tkui
 
 index of module MSlider

Class MSlider.ui::Slider


Synopsis

  Base classes:
  Functions:
  Methods:
  Constants:
Function New
Signature
New(floatmin,
  floatmax,
  floatvalue,
  floatstep 
  )  
 :ui::Slider
Arguments
floatmin
floatmax
floatvalue
floatstep
Returns

 
 top of page
Function NewVertical
Signature
NewVertical(floatmin,
  floatmax,
  floatvalue,
  floatstep 
  )  
 :ui::Slider
Arguments
floatmin
floatmax
floatvalue
floatstep
Returns

 
 top of page
Method beginXFMTag
Signature
beginXFMTag(ui::AbstractXMLFormform,
  HashTableattributes 
  )  
 :int
Arguments
ui::AbstractXMLFormform
HashTableattributes
Returns
int

 
 top of page
Method calcMinimumSizeX
Signature
calcMinimumSizeX()

 
 top of page
Method calcMinimumSizeY
Signature
calcMinimumSizeY()

 
 top of page
Method calcPreferredSizeX
Signature
calcPreferredSizeX()

 
 top of page
Method calcPreferredSizeY
Signature
calcPreferredSizeY()

 
 top of page
Method cancelSliderTimer
Signature
cancelSliderTimer()

 
 top of page
Method consumeAction
Signature
consumeAction(ui::Actionac)
 :int
Arguments
ui::Actionac
Returns
int

 
 top of page
Method decrementPosition
Subtract stepSizeDec from current slider value
Signature
decrementPosition():int
Returns
int

 
 top of page
Method getBorderSize
Signature
getBorderSize()

 
 top of page
Method getKnobSize
Query the size of the slider knob
Signature
getKnobSize():float
Returns
float

 
 top of page
Method getMaximumPosition
Query the maximum slider position
Signature
getMaximumPosition():float
Returns
float

 
 top of page
Method getMinimumPosition
Query the minimum slider position
Signature
getMinimumPosition():float
Returns
float

 
 top of page
Method getMoveDirection
Return direction of last slider movement, -1=up/left, 0=none, 1=right/down
Signature
getMoveDirection():int
Returns
int

 
 top of page
Method getProvidedActionNames
Signature
getProvidedActionNames():StringArray
Returns

 
 top of page
Method getStepSizeDec
Query the default position change dec size.
Signature
getStepSizeDec():float
Returns
float

 
 top of page
Method getStepSizeInc
Query the default position change inc size.
Signature
getStepSizeInc():float
Returns
float

 
 top of page
Method getValue
Signature
getValue():float
Returns
float

 
 top of page
Method handleMouseClick
Signature
handleMouseClick()

 
 top of page
Method handleValueChanged
Signature
handleValueChanged()

 
 top of page
Method handleValueChanging
Signature
handleValueChanging()

 
 top of page
Method incrementPosition
Add stepSizeInc to current slider value
Signature
incrementPosition():int
Returns
int

 
 top of page
Method initSlider
Signature
initSlider(floatmin,
  floatmax,
  floatvalue,
  floatstep 
  )  
Arguments
floatmin
floatmax
floatvalue
floatstep

 
 top of page
Method isFlipped
Signature
isFlipped():int
Returns
int

 
 top of page
Method isKnobSizeAdaptive
Signature
isKnobSizeAdaptive():int
Returns
int

 
 top of page
Method isMouseFocusLocked
Signature
isMouseFocusLocked():int
Returns
int

 
 top of page
Method isTabCycleMember
Signature
isTabCycleMember():int
Returns
int

 
 top of page
Method isVertical
Query orientation of the slider; true=vertical, false=horizontal
Signature
isVertical():int
Returns
int

 
 top of page
Method onDraw
Signature
onDraw()

 
 top of page
Method onKey
Signature
onKey(Keyk)
 :int
Arguments
Keyk
Returns
int

 
 top of page
Method onKeyboardFocusLost
Signature
onKeyboardFocusLost(intbQuiet)
Arguments
intbQuiet

 
 top of page
Method onMouse
Signature
onMouse(ui::MouseEventev)
 :int
Arguments
Returns
int

 
 top of page
Method onMouseBeginDrag
Signature
onMouseBeginDrag(ui::MouseEventdragStart,
  ui::MouseEventev 
  )  
 :int
Arguments
ui::MouseEventdragStart
ui::MouseEventev
Returns
int

 
 top of page
Method onMouseClick
Signature
onMouseClick(ui::MouseEventev)
 :int
Arguments
Returns
int

 
 top of page
Method onMouseEnter
Signature
onMouseEnter(ui::MouseEventev)
 :int
Arguments
Returns
int

 
 top of page
Method onMouseHold
Signature
onMouseHold(ui::MouseEventev)
 :int
Arguments
Returns
int

 
 top of page
Method onMouseLeave
Signature
onMouseLeave(ui::MouseEventev)
 :int
Arguments
Returns
int

 
 top of page
Method onTabFocus
Signature
onTabFocus()

 
 top of page
Method recalcKnobSize
Signature
recalcKnobSize()

 
 top of page
Method setBorderSize
Signature
setBorderSize(intbs)
Arguments
intbs

 
 top of page
Method setEnableAdaptiveKnobSize
Signature
setEnableAdaptiveKnobSize(intb)
Arguments
intb

 
 top of page
Method setFlip
Signature
setFlip(intb)
Arguments
intb

 
 top of page
Method setKnobSize
Set the size of the slider knob (in pixels)
Signature
setKnobSize(floatsize)
Arguments
floatsize

 
 top of page
Method setMaximumPosition
Set the maximum slider position
Signature
setMaximumPosition(floatmax)
Arguments
floatmax

 
 top of page
Method setMinimumPosition
Set the minimum slider position
Signature
setMinimumPosition(floatmin)
Arguments
floatmin

 
 top of page
Method setRange
Signature
setRange(floatmin,
  floatmax 
  )  
Arguments
floatmin
floatmax

 
 top of page
Method setRelativeKnobSize
Set the size of the slider knob (visible range of values)
Signature
setRelativeKnobSize(floatvisible)
Arguments
floatvisible

 
 top of page
Method setStepSize
Set the default position change inc/dec size.
Signature
setStepSize(floatval)
Arguments
floatval

 
 top of page
Method setStepSizeDec
Set the default position change dec size.
Signature
setStepSizeDec(floats)
Arguments
floats

 
 top of page
Method setStepSizeInc
Set the default position change inc size.
Signature
setStepSizeInc(floats)
Arguments
floats

 
 top of page
Method setValue
Signature
setValue(floatvalue)
Arguments
floatvalue

 
 top of page
Method setValueGrabbed
Signature
setValueGrabbed(floatvalue)
Arguments
floatvalue

 
 top of page
Method setVertical
Enable vertical orientation instead of horizontal (default)
Signature
setVertical(intb)
Arguments
intb

 
 top of page
Method Slider
Signature
Slider()

 
 top of page
Method validateValue
Signature
validateValue()

 
 top of page
Constant ACTION_VALUECHANGED (String)
Constant ACTION_VALUECHANGING (String)
Constant DELEGATE_GETSTEPSIZEDEC (String)
Constant DELEGATE_GETSTEPSIZEINC (String)
Constant MAX_KNOB_SIZE (float)
Constant MIN_HEIGHT (float)
Constant MIN_WIDTH (float)

 

Project Modules:MAbstractXMLForm , MAcceleratorKey , MAcceleratorList , MAction , MActionConsumer , MActionProvider , MBezierEdit , MButton , MCharFilter , MCharFilterFloat , MCharFilterFloatExpr , MCharFilterHex , MCharFilterHexExpr , MCheckBox , MChoiceDialog , MColorBox , MColorButton , MComboBox , MComboBoxTM , MComposite , MControl , MCursorShapes , MDial , MDialog , MDynamicPopupMenuAction , MFBO , MFloatAction , MFloatField , MFloatingLayer , MFloatParam , MFloatParamEditor , MFont , MFontResource , MForm , MFT2Face , MFT2FontCache , MFT2Glyph , MGeometry4f , MHiddenPanel , MHSVColorPicker , MIcon , MIconCache , MInfoDialog , MIntAction , MKeyAction , MLabel , MLayer , MLayerSwitch , MLayout , MLookAndFeel , MLookAndFeel_DarkFawn , MLookAndFeel_Gray , MLookAndFeel_LightFawn , MLookAndFeel_LightGray , MMouseEvent , MOpaquePanel , MPanel , MPNGIcon , MPoint2f , MPopupMenu , MPopupMenuBar , MPopupMenuBarButton , MPopupMenuButton , MPopupMenuCheckButton , MPopupMenuFolderButton , MPopupMenuSeparator , MPopupMenuWindowDock , MRadioButton , MRadioButtonGroup , MRectangle2f , MRepeatButton , MScroller , MScrollPane , MSize2f , MSizeGroup , MSizeGroupX , MSizeGroupXY , MSizeGroupY , MSlider , MSpacer , MSplitPane , MStatusBar , MStringAction , MStringDialog , MSuperBorderLayout , MTabbedView , MTableCellEditor , MTableCellEditorCheckBox , MTableCellEditorComboBox , MTableCellEditorFloatParam , MTableModel , MTableView , MTableViewData , MTableViewHeader , MTabSwitch , MTextEdit , MTextEditDialog , MTextField , MTextFieldIncDec , MTextInputDialog , MTextView , MTimerAction , MTitledPanel , MToolTip , MTransparentPanel , MTreeTableModel , MTreeTableNode , MUI , MUIConstants , MUIPluginLoader , MUIRenderer , MValueAction , MVector2f , MView , MViewPane , MWindow , MWindowDock , MWindowTitleBar , MXFMObject , MXMLForm 
Project Classes:ColorBox , HSVColorPicker , ui::AbstractXMLForm , ui::AcceleratorKey , ui::AcceleratorList , ui::Action , ui::ActionConsumer , ui::ActionProvider , ui::BezierEdit , ui::BezierEditState , ui::BezierHistory , ui::BorderLayout , ui::Button , ui::CharFilter , ui::CharFilterFloat , ui::CharFilterFloatExpr , ui::CharFilterHex , ui::CharFilterHexExpr , ui::CheckBox , ui::ChoiceDialog , ui::ColorButton , ui::ComboBox , ui::ComboBoxPopup , ui::ComboBoxTM , ui::Composite , ui::Control , ui::CursorShapes , ui::Dial , ui::Dialog , ui::DynamicPopupMenuAction , ui::FBO , ui::FloatAction , ui::FloatField , ui::FloatingLayer , ui::FloatParam , ui::FloatParamEditor , ui::Font , ui::FontResource , ui::Form , ui::FT2Face , ui::FT2FontCache , ui::FT2FontResource , ui::FT2Glyph , ui::FT2LocalFileFontResource , ui::FT2PakFileFontResource , ui::Geometry4f , ui::HiddenPanel , ui::Icon , ui::IconCache , ui::InfoDialog , ui::IntAction , ui::KeyAction , ui::KeyRepeatAction , ui::KeyRepeatConsumer , ui::Label , ui::Layer , ui::LayerSwitch , ui::Layout , ui::LookAndFeel , ui::LookAndFeel_DarkFawn , ui::LookAndFeel_Gray , ui::LookAndFeel_LightFawn , ui::LookAndFeel_LightGray , ui::MouseEvent , ui::MouseHoldAction , ui::MouseHoldConsumer , ui::OpaquePanel , ui::Panel , ui::PNGIcon , ui::Point2f , ui::PopupMenu , ui::PopupMenuBar , ui::PopupMenuBarButton , ui::PopupMenuButton , ui::PopupMenuCheckButton , ui::PopupMenuFolderButton , ui::PopupMenuRadioButton , ui::PopupMenuSeparator , ui::PopupMenuWindowDock , ui::RadioButton , ui::RadioButtonGroup , ui::Rectangle2f , ui::RepeatButton , ui::Scroller , ui::ScrollPane , ui::Size2f , ui::SizeGroup , ui::SizeGroupX , ui::SizeGroupXY , ui::SizeGroupY , ui::Slider , ui::Spacer , ui::SplitPane , ui::StatusBar , ui::StatusBarListener , ui::StatusBarMessage , ui::StringAction , ui::StringDialog , ui::StringDialogTextField , ui::SuperBorderLayout , ui::TabbedView , ui::TableCellEditor , ui::TableCellEditorCheckBox , ui::TableCellEditorComboBox , ui::TableCellEditorFloatParam , ui::TableModel , ui::TableView , ui::TableViewData , ui::TableViewHeader , ui::TabSwitch , ui::TabSwitchLabelPanel , ui::TextEdit , ui::TextEditDialog , ui::TextField , ui::TextFieldIncDec , ui::TextInputDialog , ui::TextView , ui::TimerAction , ui::TitledPanel , ui::ToolTip , ui::TransparentPanel , ui::TreeTableModel , ui::TreeTableNode , ui::TriadKeyConsumer , ui::UI , ui::UIConstants , ui::UIRenderer , ui::ValueAction , ui::Vector2f , ui::View , ui::ViewPane , ui::Window , ui::WindowDock , ui::WindowTitleBar , ui::XFMObject , ui::XMLForm 
Project Functions:getTableViewStepSizeDec , getTableViewStepSizeInc , Screen_onApplicationActive , Screen_onClose , Screen_onDraw , Screen_onDropFiles , Screen_onExpose , Screen_onInputFocusActive , Screen_onKeyboard , Screen_onMouse , Screen_onMouseFocusActive , Screen_onOpen , Screen_onResize , Screen_onTimer 
All Namespaces:default , ui 
All Projects:core , debugtext , tkfreetype2 , tkmath , tkmidi , tkopengl , tkportaudio , tksdl , tkui , tkunit 


auto-generated by "DOG", the TkScript document generator. Mon, 28/Dec/2015 14:27:06