public class MTJSSlider extends AjaxDynamicElement
Name | Description |
---|---|
id | - the identifer for the slider's JS var. |
element | the identifier to be used for the slider's container |
knob | the identifier to be used for the knob's container. |
elementClass | the CSS class to be used on the slider's container. |
element | - (element) The container element for the slider. |
knob | - (element) The handle element for the slider. OPTIONS |
snap | - (boolean: defaults to false) True if you want the knob to snap to the nearest value. |
offset | - (number: defaults to 0) Relative offset for knob position at start. |
range | - (mixed: defaults to false) Array of numbers or false. The minimum and maximum limits values the slider will use. |
wheel | - (boolean: defaults to false) True if you want the ability to move the knob by mousewheeling. |
steps | - (number: defaults to 100) The number of steps the Slider should move/tick. |
mode | - (string: defaults to horizontal) The type of Slider can be either 'horizontal' or 'vertical' in movement. |
initialStep | - (number: defaults to 0) The step the slider will start at. OBSERVER |
the | id of the element who will update the slider's value with it's value. |
the | event to observer on defaults to "change" This is the layout of the HTML that the |
ERXDynamicElement.ContextData<T>
log
_children
_ConstructorParameters
Constructor and Description |
---|
MTJSSlider(String name,
NSDictionary<String,WOAssociation> associations,
WOElement children) |
Modifier and Type | Method and Description |
---|---|
protected void |
addRequiredWebResources(WOResponse response,
WOContext context)
Override this method to append the needed scripts for this component.
|
void |
appendToResponse(WOResponse response,
WOContext context)
Overridden to call
AjaxDynamicElement.addRequiredWebResources(WOResponse, WOContext) . |
protected NSMutableDictionary |
createOptions(WOComponent component) |
WOActionResults |
handleRequest(WORequest request,
WOContext context)
Override this method to return the response for an Ajax request.
|
_containerID, addScriptResourceInHead, addScriptResourceInHead, addStylesheetResourceInHead, addStylesheetResourceInHead, invokeAction, shouldHandleRequest
afterProcessing, appendTagAttributeToResponse, arrayValueForBinding, arrayValueForBinding, associations, beforeProcessing, bindingIsSettable, bindingNamed, booleanValueForBinding, booleanValueForBinding, hasBinding, id, integerValueForBinding, nameInContext, secureInContext, setValueForBinding, stringValueForBinding, stringValueForBinding, valueForBinding, valueForBinding
addChildElement, appendChildrenToResponse, childrenElements, EmptyGroup, hasChildrenElements, invokeChildrenAction, takeChildrenValuesFromRequest, takeValuesFromRequest, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
valueForBinding, valueForBinding
public MTJSSlider(String name, NSDictionary<String,WOAssociation> associations, WOElement children)
public void appendToResponse(WOResponse response, WOContext context)
AjaxDynamicElement
AjaxDynamicElement.addRequiredWebResources(WOResponse, WOContext)
.appendToResponse
in class AjaxDynamicElement
response
- the current responsecontext
- context of the transactionprotected NSMutableDictionary createOptions(WOComponent component)
protected void addRequiredWebResources(WOResponse response, WOContext context)
AjaxDynamicElement
addRequiredWebResources
in class AjaxDynamicElement
response
- the current responsecontext
- context of the transactionpublic WOActionResults handleRequest(WORequest request, WOContext context)
AjaxDynamicElement
handleRequest
in interface IAjaxElement
handleRequest
in class AjaxDynamicElement
request
- the current requestcontext
- context of the transactionCopyright © 2002 – 2024 Project Wonder.