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| Constructor and Description |
|---|
MTJSSlider(String name,
NSDictionary<String,com.webobjects.appserver.WOAssociation> associations,
com.webobjects.appserver.WOElement children) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addRequiredWebResources(com.webobjects.appserver.WOResponse response,
com.webobjects.appserver.WOContext context)
Override this method to append the needed scripts for this component.
|
void |
appendToResponse(com.webobjects.appserver.WOResponse response,
com.webobjects.appserver.WOContext context)
Overridden to call
AjaxDynamicElement.addRequiredWebResources(WOResponse, WOContext). |
protected NSMutableDictionary |
createOptions(com.webobjects.appserver.WOComponent component) |
com.webobjects.appserver.WOActionResults |
handleRequest(com.webobjects.appserver.WORequest request,
com.webobjects.appserver.WOContext context)
Override this method to return the response for an Ajax request.
|
_containerID, addScriptResourceInHead, addScriptResourceInHead, addStylesheetResourceInHead, addStylesheetResourceInHead, invokeAction, shouldHandleRequestafterProcessing, appendTagAttributeToResponse, arrayValueForBinding, arrayValueForBinding, associations, beforeProcessing, bindingIsSettable, bindingNamed, booleanValueForBinding, booleanValueForBinding, hasBinding, id, integerValueForBinding, nameInContext, secureInContext, setValueForBinding, stringValueForBinding, stringValueForBinding, valueForBinding, valueForBindingaddChildElement, appendChildrenToResponse, childrenElements, EmptyGroup, hasChildrenElements, invokeChildrenAction, takeChildrenValuesFromRequest, takeValuesFromRequest, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitvalueForBinding, valueForBindingpublic MTJSSlider(String name, NSDictionary<String,com.webobjects.appserver.WOAssociation> associations, com.webobjects.appserver.WOElement children)
public void appendToResponse(com.webobjects.appserver.WOResponse response,
com.webobjects.appserver.WOContext context)
AjaxDynamicElementAjaxDynamicElement.addRequiredWebResources(WOResponse, WOContext).appendToResponse in class AjaxDynamicElementresponse - the current responsecontext - context of the transactionprotected NSMutableDictionary createOptions(com.webobjects.appserver.WOComponent component)
protected void addRequiredWebResources(com.webobjects.appserver.WOResponse response,
com.webobjects.appserver.WOContext context)
AjaxDynamicElementaddRequiredWebResources in class AjaxDynamicElementresponse - the current responsecontext - context of the transactionpublic com.webobjects.appserver.WOActionResults handleRequest(com.webobjects.appserver.WORequest request,
com.webobjects.appserver.WOContext context)
AjaxDynamicElementhandleRequest in interface IAjaxElementhandleRequest in class AjaxDynamicElementrequest - the current requestcontext - context of the transactionCopyright © 2002 – 2020 Project Wonder.