Overview

Packages

  • Actions
  • Codegen
  • Controls
    • Base
  • DatabaseAdapters
  • Events
  • None
  • Sessions
  • Tests

Classes

  • QAccordionBase
  • QAccordionGen
  • QAutocompleteBase
  • QAutocompleteGen
  • QDatepickerBase
  • QDatepickerBoxBase
  • QDatepickerBoxGen
  • QDatepickerGen
  • QDialogBase
  • QDialogGen
  • QDraggableBase
  • QDraggableGen
  • QDroppableBase
  • QDroppableGen
  • QFieldset
  • QJqButtonBase
  • QJqButtonGen
  • QJqCheckBoxBase
  • QJqCheckBoxGen
  • QJqRadioButtonBase
  • QJqRadioButtonGen
  • QMenuBase
  • QMenuGen
  • QProgressbarBase
  • QProgressbarGen
  • QResizableBase
  • QResizableGen
  • QSelectableBase
  • QSelectableGen
  • QSelectMenu
  • QSelectMenuBase
  • QSelectMenuGen
  • QSliderBase
  • QSliderGen
  • QSortableBase
  • QSortableGen
  • QSpinnerBase
  • QSpinnerGen
  • QTabsBase
  • QTabsGen
  • QTextBoxBase
  • Overview
  • Package
  • Class

Class QSliderGen

Generated QSliderGen class.

This is the QSliderGen class which is automatically generated by scraping the JQuery UI documentation website. As such, it includes all the options as listed by the JQuery UI website, which may or may not be appropriate for QCubed. See the QSliderBase class for any glue code to make this class more usable in QCubed.

QBaseClass
Extended by QHtmlAttributeManagerBase
Extended by QHtmlAttributeManager
Extended by QControlBase
Extended by QControl
Extended by QBlockControl
Extended by QPanel
Extended by QSliderGen

Direct known subclasses

QSliderBase

Indirect known subclasses

QSlider
Package: Controls\Base
See: QSliderBase
Located at includes/base_controls/QSliderGen.class.php
Methods summary
protected array
# MakeJqOptions( )

Builds the option array to be sent to the widget constructor.

Builds the option array to be sent to the widget constructor.

Returns

array
key=>value array of options
public string
# GetJqSetupFunction( )

Return the JavaScript function to call to associate the widget with the control.

Return the JavaScript function to call to associate the widget with the control.

Returns

string
public string
# GetEndScript( )

Returns the script that attaches the JQueryUI widget to the html object.

Returns the script that attaches the JQueryUI widget to the html object.

Returns

string

Overrides

QBlockControl::GetEndScript()
public
# Destroy( )

Removes the slider functionality completely. This will return the element back to its pre-init state.

Removes the slider functionality completely. This will return the element back to its pre-init state.

  • This method does not accept any arguments.
public
# Disable( )

Disables the slider.

Disables the slider.

  • This method does not accept any arguments.
public
# Enable( )

Enables the slider.

Enables the slider.

  • This method does not accept any arguments.
public
# Instance( )

Retrieves the sliders instance object. If the element does not have an associated instance, undefined is returned.

Retrieves the sliders instance object. If the element does not have an associated instance, undefined is returned.

Unlike other widget methods, instance() is safe to call on any element after the slider plugin has loaded. * This method does not accept any arguments.

public
# Option( $optionName )

Gets the value currently associated with the specified optionName.

Gets the value currently associated with the specified optionName.

Note: For options that have objects as their value, you can get the value of a specific key by using dot notation. For example, "foo.bar" would get the value of the bar property on the foo option. * optionName Type: String The name of the option to get.

Parameters

$optionName
public
# Option1( )

Gets an object containing key/value pairs representing the current slider options hash.

Gets an object containing key/value pairs representing the current slider options hash.

  • This signature does not accept any arguments.
public
# Option2( $optionName, $value )

Sets the value of the slider option associated with the specified optionName.

Sets the value of the slider option associated with the specified optionName.

Note: For options that have objects as their value, you can set the value of just one property by using dot notation for optionName. For example, "foo.bar" would update only the bar property of the foo option. * optionName Type: String The name of the option to set. * value Type: Object A value to set for the option.

Parameters

$optionName
$value
public
# Option3( $options )

Sets one or more options for the slider.

Sets one or more options for the slider.

  • options Type: Object A map of option-value pairs to set.

Parameters

$options
public
# Value( )

Get the value of the slider.

Get the value of the slider.

  • This signature does not accept any arguments.
public
# Value1( $value )

Set the value of the slider.

Set the value of the slider.

  • value Type: Number The value to set.

Parameters

$value
public
# Values( )

Get the value for all handles.

Get the value for all handles.

  • This signature does not accept any arguments.
public
# Values1( $index )

Get the value for the specified handle.

Get the value for the specified handle.

  • index Type: Integer The zero-based index of the handle.

Parameters

$index
public
# Values2( $index, $value )

Set the value for the specified handle.

Set the value for the specified handle.

  • index Type: Integer The zero-based index of the handle. * value Type: Number The value to set.

Parameters

$index
$value
public
# Values3( $values )

Set the value for all handles.

Set the value for all handles.

  • values Type: Array The values to set.

Parameters

$values
public mixed
# __get( string $strName )

PHP __get magic method implementation

PHP __get magic method implementation

Parameters

$strName
Name of the property

Returns

mixed

Throws

Exception|QCallerException

Overrides

QBlockControl::__get()
public mixed
# __set( string $strName, string $mixValue )

PHP __set magic method implementation

PHP __set magic method implementation

Parameters

$strName
Property Name
$mixValue
Property Value

Returns

mixed

Throws

Exception|QCallerException|QInvalidCastException

Overrides

QBlockControl::__set()
public static QModelConnectorParam[]
# GetModelConnectorParams( )

If this control is attachable to a codegenerated control in a ModelConnector, this function will be used by the ModelConnector designer dialog to display a list of options for the control.

If this control is attachable to a codegenerated control in a ModelConnector, this function will be used by the ModelConnector designer dialog to display a list of options for the control.

Returns

QModelConnectorParam[]

Overrides

QControlBase::GetModelConnectorParams()
Methods inherited from QBlockControl
AddControlToMove(), AddDropZone(), GetControlHtml(), GetInnerHtml(), ParsePostData(), RemoveAllControlsToMove(), RemoveAllDropZones(), RemoveControlToMove(), RemoveDropZone(), Validate()
Methods inherited from QControlBase
AddAction(), AddActionArray(), AddAttributeScript(), AddChildControl(), AddCssFile(), AddJavascriptFile(), AddPluginCssFile(), AddPluginJavascriptFile(), AddWrapperCssClass(), Blink(), EvaluateTemplate(), Focus(), ForgetState(), GetAllActions(), GetAttributes(), GetChildControl(), GetChildControls(), GetControlFromHierarchyByMethodName(), GetCustomAttribute(), GetCustomAttributes(), GetCustomStyle(), GetEndHtml(), GetForm(), GetJavaScriptForEvent(), GetJqControlId(), GetNonWrappedHtml(), GetState(), GetStyleAttributes(), GetTemplatePath(), GetWrapperAttributes(), GetWrapperStyleAttributes(), GetWrapperStyler(), IsDescendantOf(), IsModified(), MakeCurrent(), MarkAsModified(), MarkAsRendered(), MarkAsWrapperModified(), ProcessActionParameters(), PutState(), Refresh(), RemoveAllActions(), RemoveChildControl(), RemoveChildControls(), RemoveCustomAttribute(), RemoveCustomStyle(), RemoveWrapperCssClass(), Render(), RenderActionScripts(), RenderAjax(), RenderAttributeScripts(), RenderChildren(), RenderComment(), RenderCssStyles(), RenderExtensionRenderer(), RenderHelper(), RenderHtmlAttributes(), RenderOutput(), RenderWithError(), RenderWithName(), RenderWrappedOutput(), ResetFlags(), ResetOnPageStatus(), SetCustomAttribute(), SetCustomStyle(), SetFocus(), SetForm(), SetParentControl(), Sleep(), SleepHelper(), ValidateControlAndChildren(), ValidationReset(), VarExport(), Wakeup(), WakeupHelper(), Watch(), _CallActionMethod(), _ProcessActionParams(), _ReadState(), _WriteState(), __construct()
Methods inherited from QHtmlAttributeManagerBase
AddCssClass(), GetCssStyle(), GetDataAttribute(), GetHtmlAttribute(), GetHtmlAttributes(), HasCssClass(), HasCssStyle(), HasHtmlAttribute(), Override(), RemoveCssClass(), RemoveCssClassesByPrefix(), RemoveCssStyle(), RemoveDataAttribute(), RemoveHtmlAttribute(), RenderTag(), SetCssBoxValue(), SetCssClass(), SetCssStyle(), SetDataAttribute(), SetHtmlAttribute()
Methods inherited from QBaseClass
OverrideAttributes(), __call()
Constants inherited from QControlBase
CommentEnd, CommentStart
Properties summary
protected string $strJavaScripts

List of JavaScript files to be attached with the control when rendering

List of JavaScript files to be attached with the control when rendering

# __JQUERY_EFFECTS__
protected string $strStyleSheets

List of CSS files to be attaches with the control when rendering

List of CSS files to be attaches with the control when rendering

# __JQUERY_CSS__
protected mixed $mixAnimate
# null
protected boolean $blnDisabled
# null
protected integer $intMax
# null
protected integer $intMin
#
protected string $strOrientation
# null
protected mixed $mixRange
# null
protected integer $intStep
# null
protected integer $intValue
#
protected array $arrValues
# null
Properties inherited from QPanel
$blnHtmlEntities, $blnIsBlockElement, $strDefaultDisplayStyle, $strTagName
Properties inherited from QBlockControl
$blnAutoRenderChildren, $blnDropTarget, $objDropsControlsArray, $objDropsGroupingsArray, $objIsDropZoneFor, $objMovesControlsArray, $strFormat, $strTemplate, $strText
Properties inherited from QControlBase
$blnActionsMustTerminate, $blnAutoRender, $blnDisplay, $blnMinimize, $blnModified, $blnOnPage, $blnRendered, $blnRendering, $blnRequired, $blnSaveState, $blnScriptsOnly, $blnUseWrapper, $blnVisible, $blnWrapLabel, $blnWrapperModified, $mixActionParameter, $mixCausesValidation, $objActionArray, $objChildControlArray, $objDraggable, $objDroppable, $objForm, $objLinkedNode, $objParentControl, $objResizable, $objWatcher, $objWrapperStyler, $strAttributeScripts, $strControlId, $strCssClass, $strCustomAttributeArray, $strCustomStyleArray, $strFormAttributes, $strHtmlAfter, $strHtmlBefore, $strInstructions, $strName, $strPreferredRenderMethod, $strRenderMethod, $strValidationError, $strWarning
Properties inherited from QHtmlAttributeManagerBase
$attributes, $styles
Magic properties summary
public mixed $Animate

Whether to slide the handle smoothly when the user clicks on the slider track. Also accepts any valid animation duration.Multiple types supported: * Boolean: When set to true, the handle will animate with the default duration. * String: The name of a speed, such as "fast" or "slow". * Number: The duration of the animation, in milliseconds.

public boolean $Disabled

Disables the slider if set to true.

public integer $Max

The maximum value of the slider.

public integer $Min

The minimum value of the slider.

public string $Orientation

Determines whether the slider handles move horizontally (min on left, max on right) or vertically (min on bottom, max on top). Possible values: "horizontal", "vertical".

public mixed $Range

Whether the slider represents a range.Multiple types supported: * Boolean: If set to true, the slider will detect if you have two handles and create a styleable range element between these two. * String: Either "min" or "max". A min range goes from the slider min to one handle. A max range goes from one handle to the slider max.

public integer $Step

Determines the size or amount of each interval or step the slider takes between the min and max. The full specified value range of the slider (max - min) should be evenly divisible by the step.

public integer $Value

Determines the value of the slider, if theres only one handle. If there is more than one handle, determines the value of the first handle.

public array $Values

This option can be used to specify multiple handles. If the range option is set to true, the length of values should be 2.

Magic properties inherited from QBlockControl
$AutoRenderChildren, $DropTarget, $Format, $HorizontalAlign, $HtmlEntities, $ResizeHandleDirection, $ResizeHandleMaximum, $ResizeHandleMinimum, $TagName, $Template, $Text, $VerticalAlign
Magic properties inherited from QControlBase
$ActionParameter, $ActionsMustTerminate, $AutoRender, $CausesValidation, $ControlId, $Form, $FormAttributes, $HtmlAfter, $HtmlBefore, $Instructions, $JavaScripts, $LinkedNode, $Minimize, $Modified, $Moveable, $Name, $OnPage, $ParentControl, $PreferredRenderMethod, $RenderMethod, $Rendered, $Rendering, $Required, $Resizable, $SaveState, $ScriptsOnly, $StyleSheets, $UseWrapper, $ValidationError, $Visible, $Warning, $WrapLabel, $WrapperCssClass, $WrapperModified
Magic properties inherited from QHtmlAttributeManagerBase
$AccessKey, $AltText, $BackColor, $BorderCollapse, $BorderColor, $BorderStyle, $BorderWidth, $CssClass, $Cursor, $Data, $Display, $DisplayStyle, $Enabled, $FontBold, $FontItalic, $FontNames, $FontOverline, $FontSize, $FontStrikeout, $FontUnderline, $ForeColor, $Height, $Left, $Margin, $NoWrap, $Opacity, $OrderedListType, $Overflow, $Padding, $Position, $ReadOnly, $TabIndex, $ToolTip, $Top, $UnorderedListStyle, $Width
API documentation generated by ApiGen