@JsType(isNative=true, name="Object", namespace="<global>") public abstract class NativeExtendedObject extends Object
Modifier | Constructor and Description |
---|---|
protected |
NativeExtendedObject()
To avoid any instantiation
|
Modifier and Type | Method and Description |
---|---|
protected NativeObject |
getNativeOptions()
Returns the
options property by native object. |
<T extends NativeObjectContainer> |
getOptions(NativeObjectContainerFactory<T> factory)
Returns the options, if exist.
|
boolean |
hasOptions()
Checks if there is any options.
|
protected void |
setNativeOptions(NativeObject options)
Sets the
options property into native object. |
<T extends NativeObjectContainer> |
setOptions(T options)
Sets the additional options.
|
@JsProperty(name="options") protected NativeObject getNativeOptions()
options
property by native object.options
property by native object.@JsProperty(name="options") protected void setNativeOptions(NativeObject options)
options
property into native object.options
- the options
property into native object.@JsOverlay public final <T extends NativeObjectContainer> void setOptions(T options)
T
- type of native object container to storeoptions
- additional options instance.@JsOverlay public final boolean hasOptions()
true
if there is an options, otherwise false
.@JsOverlay public final <T extends NativeObjectContainer> T getOptions(NativeObjectContainerFactory<T> factory)
T
- type of native object container to returnfactory
- factory instance to create a native object container.