Construct a new widget instance
The container element for the widget
Protected Readonly_ReadonlyAcceptReadonlyAllowReadonlyBackgroundReadonlyBorderReadonlyBorderReadonlyBorderReadonlyContainerThe context API handle functions handling the context in the current component.
ReadonlyDefaultDefault property value storage - used by the default property getters and setters.
ReadonlyDesignReadonlyDirtyReadonlyDisableReadonlyDisposeDispose Event signaled when the object is being disposed. NOTE: Inheriting classes should use AddDisposeHandler instead.
ReadonlyDOMReadonlyDragReadonlyDropReadonlyEventscClassBase event API
The getter for Context Menu, should be overridden in any widget supporting context menus.
ReadonlyGuideReadonlyIsReadonlyListenReadonlyListenReadonlyMergeReadonlyNameReadonlyNoReadonlyOverflowReadonlyOverflowReadonlyParentReadonlyPrintableReadonlyRefreshReadonlyRelayReadonlySendReadonlyShowReadonlyShowReadonlyShowReadonlyShowReadonlyShowReadonlyShowReadonlyShowReadonlyShowReadonlyTabReadonlyTooltipReadonlyTooltipReadonlyUReadonlyValueReadonlyVisibleReadonlyWindowThe object can be disposed
The component class specific NLS request
The component property API
Protected__Create function that can abort asynchronous code in case the function is called again or the owner instance have been disposed. This is useful with problematic cases where for example server request is sent and the return is handled asynchronously (with a callback). Meanwhile the configuration may have changed making the code in the callback unnecessary or even harmful. *
A function with first parameter as function to check the abort state: Can be used in the function: if(abort()) return; //abort
Check only the dispose state - don't check subsequent calls to the function.
ProtectedAddAdd a dispose handler called when this object is being disposed. The dispose handlers are called in reverse order (the latest first).
The dispose handler - should make any manual clean up necessary when the object is being disposed.
ProtectedApplyset font style comment
Optionalprefix: stringAutomatically dispose the given objects when this object is disposed.
The objects to dispose along with this object.
Binds a property value to an HTML element.
The property to bind.
The element of which will be updated
Optionaltag: stringIf specified - any identical string found in the text contents of the element will be replaced by the property value.
Optionalcomp: cComponentBaseThe component containing the property (Needed if property is given as string value).
Create an animation in the widget
The function performing the animation.
Return a floating window which can be filled with anything
Window title.
Button configuration i.e {OK: true, Cancel: true, Apply: false}
Optionalwidth: numberWidth of the window
Optionalheight: numberHeight of the window
Disposes the class object.
Get the value of a named property.
The name of the property
ProtectedGetGet string (containing HTML) to be displayed in the tooltip
Optional_e: IPointerMoveEventGets the dispose state of the current class object.
True, if the component is disposed.
Refreshes the widget.
Optionalrefreshtype: cRefreshTypeThe type of refresh requested
ProtectedResolveProtectedResolveOptionalprefix: stringOptionalcanvascontext: CanvasRenderingContext2DSet a value for the named property.
The name of the property
The new value for the property
Optionalbgelem: HTMLElementOptionalimagesizeneeded: booleanOptionaldefaultcolor: stringSets the canvas size according the used canvas context and the parent element size.
The canvas to be resized.
Optionalcontext: CanvasRenderingContext2DThe canvas context to be used. (If null, "2d" is used.)
Optionalelement: HTMLElementThe element that presumably contains the canvas. (If null, the value of property "ParentElement" is used.)
String representation of the component instance. Can be overridden by inheriting classes.
StaticEnableEnable events for detecting when an event listener is added or removed
the class object to monitor
The base class to be used by widgets.