java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.script.QScriptClass
- All Implemented Interfaces:
QtObjectInterface
Interface for defining custom behavior of (a class of) Qt Script objects
Java wrapper for Qt's class QScriptClass
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enum QScriptClass::Extensionstatic enum
Java wrapper for Qt enum QScriptClass::QueryFlagstatic final class
QFlags type for enumQScriptClass.QueryFlag
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor for internal use only.QScriptClass
(QScriptEngine engine) -
Method Summary
Modifier and TypeMethodDescriptionfinal QScriptEngine
engine()
final Object
extension
(QScriptClass.Extension extension) Overloaded function forextension(io.qt.script.QScriptClass.Extension, java.lang.Object)
withargument = null
.extension
(QScriptClass.Extension extension, Object argument) name()
newIterator
(QScriptValue object) property
(QScriptValue object, QScriptString name, int id) propertyFlags
(QScriptValue object, QScriptString name, int id) queryProperty
(QScriptValue object, QScriptString name, QScriptClass.QueryFlags flags, Integer id) void
setProperty
(QScriptValue object, QScriptString name, int id, QScriptValue value) boolean
supportsExtension
(QScriptClass.Extension extension) Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QScriptClass
-
QScriptClass
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
engine
-
extension
Overloaded function for
extension(io.qt.script.QScriptClass.Extension, java.lang.Object)
withargument = null
. -
extension
-
name
-
newIterator
-
property
-
propertyFlags
@QtUninvokable public QScriptValue.PropertyFlags propertyFlags(QScriptValue object, QScriptString name, int id) -
prototype
-
queryProperty
@QtUninvokable public QScriptClass.QueryFlags queryProperty(QScriptValue object, QScriptString name, QScriptClass.QueryFlags flags, Integer id) -
setProperty
@QtUninvokable public void setProperty(QScriptValue object, QScriptString name, int id, QScriptValue value) -
supportsExtension
-