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 QResizableGen

Generated QResizableGen class.

This is the QResizableGen 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 QResizableBase 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 QResizableGen

Direct known subclasses

QResizableBase

Indirect known subclasses

QResizable
Abstract
Package: Controls\Base
See: QResizableBase
Located at includes/base_controls/QResizableGen.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

QControlBase::GetEndScript()
public
# Destroy( )

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

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

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

Disables the resizable.

Disables the resizable.

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

Enables the resizable.

Enables the resizable.

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

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

Retrieves the resizables 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 resizable 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 resizable options hash.

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

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

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

Sets the value of the resizable 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 resizable.

Sets one or more options for the resizable.

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

Parameters

$options
public mixed
# __get( string $strName )

PHP __get magic method implementation

PHP __get magic method implementation

Parameters

$strName
Property Name

Returns

mixed

Throws

Exception|QCallerException

Overrides

QControlBase::__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

QCallerException
Exception|QCallerException
Exception|QInvalidCastException

Overrides

QControlBase::__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 QControlBase
AddAction(), AddActionArray(), AddAttributeScript(), AddChildControl(), AddCssFile(), AddJavascriptFile(), AddPluginCssFile(), AddPluginJavascriptFile(), AddWrapperCssClass(), Blink(), EvaluateTemplate(), Focus(), ForgetState(), GetAllActions(), GetAttributes(), GetChildControl(), GetChildControls(), GetControlFromHierarchyByMethodName(), GetControlHtml(), GetCustomAttribute(), GetCustomAttributes(), GetCustomStyle(), GetEndHtml(), GetForm(), GetJavaScriptForEvent(), GetJqControlId(), GetNonWrappedHtml(), GetState(), GetStyleAttributes(), GetTemplatePath(), GetWrapperAttributes(), GetWrapperStyleAttributes(), GetWrapperStyler(), IsDescendantOf(), IsModified(), MakeCurrent(), MarkAsModified(), MarkAsRendered(), MarkAsWrapperModified(), ParsePostData(), 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(), Validate(), 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 $mixAlsoResize
# null
protected boolean $blnAnimate
# null
protected mixed $mixAnimateDuration
# null
protected string $strAnimateEasing
# null
protected mixed $mixAspectRatio
# null
protected boolean $blnAutoHide
# null
protected mixed $mixCancel
# null
protected mixed $mixContainment
# null
protected integer $intDelay
#
protected boolean $blnDisabled
# null
protected integer $intDistance
# null
protected boolean $blnGhost
# null
protected array $arrGrid
# null
protected mixed $mixHandles
# null
protected string $strHelper
# null
protected integer $intMaxHeight
# null
protected integer $intMaxWidth
# null
protected integer $intMinHeight
# null
protected integer $intMinWidth
# null
Properties inherited from QControlBase
$blnActionsMustTerminate, $blnAutoRender, $blnDisplay, $blnIsBlockElement, $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 $AlsoResize

One or more elements to resize synchronously with the resizable element.

public boolean $Animate

Animates to the final size after resizing.

public mixed $AnimateDuration

How long to animate when using the animate option.Multiple types supported: * Number: Duration in milliseconds. * String: A named duration, such as "slow" or "fast".

public string $AnimateEasing

Which easing to apply when using the animate option.

public mixed $AspectRatio

Whether the element should be constrained to a specific aspect ratio.Multiple types supported: * Boolean: When set to true, the element will maintain its original aspect ratio. * Number: Force the element to maintain a specific aspect ratio during resizing.

public boolean $AutoHide

Whether the handles should hide when the user is not hovering over the element.

public mixed $Cancel

Prevents resizing from starting on specified elements.

public mixed $Containment

Constrains resizing to within the bounds of the specified element or region.Multiple types supported: * Selector: The resizable element will be contained to the bounding box of the first element found by the selector. If no element is found, no containment will be set. * Element: The resizable element will be contained to the bounding box of this element. * String: Possible values: "parent" and "document".

public integer $Delay

Tolerance, in milliseconds, for when resizing should start. If specified, resizing will not start until after mouse is moved beyond duration. This can help prevent unintended resizing when clicking on an element.

public boolean $Disabled

Disables the resizable if set to true.

public integer $Distance

Tolerance, in pixels, for when resizing should start. If specified, resizing will not start until after mouse is moved beyond distance. This can help prevent unintended resizing when clicking on an element.

public boolean $Ghost

If set to true, a semi-transparent helper element is shown for resizing.

public array $Grid

Snaps the resizing element to a grid, every x and y pixels. Array values: [ x, y ].

public mixed $Handles

Which handles can be used for resizing.Multiple types supported: * String: A comma delimited list of any of the following: n, e, s, w, ne, se, sw, nw, all. The necessary handles will be auto-generated by the plugin. * Object: The following keys are supported: { n, e, s, w, ne, se, sw, nw }. The value of any specified should be a jQuery selector matching the child element of the resizable to use as that handle. If the handle is not a child of the resizable, you can pass in the DOMElement or a valid jQuery object directly. Note: When generating your own handles, each handle must have the ui-resizable-handle class, as well as the appropriate ui-resizable-{direction} class, .e.g., ui-resizable-s.

public string $Helper

A class name that will be added to a proxy element to outline the resize during the drag of the resize handle. Once the resize is complete, the original element is sized.

public integer $MaxHeight

The maximum height the resizable should be allowed to resize to.

public integer $MaxWidth

The maximum width the resizable should be allowed to resize to.

public integer $MinHeight

The minimum height the resizable should be allowed to resize to.

public integer $MinWidth

The minimum width the resizable should be allowed to resize to.

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, $HorizontalAlign, $Left, $Margin, $NoWrap, $Opacity, $OrderedListType, $Overflow, $Padding, $Position, $ReadOnly, $TabIndex, $ToolTip, $Top, $UnorderedListStyle, $VerticalAlign, $Width
API documentation generated by ApiGen