Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

Next items

JavaObjectMBS.BooleanField(TheField as JavaFieldMBS) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Java MBS Java Plugin 4.3 Yes Yes Yes Yes No
Function: Get or set the value for a boolean field in this class.
Notes:
Do not use for static fields!
(Read and Write computed property)

Feedback, Comments & Corrections

JavaObjectMBS.ByteField(TheField as JavaFieldMBS) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Java MBS Java Plugin 4.3 Yes Yes Yes Yes No
Function: Get or set the value for a byte field in this class.
Notes:
Do not use for static fields!
(Read and Write computed property)

Feedback, Comments & Corrections

JavaObjectMBS.CallBooleanMethod(MethodID as JavaMethodMBS, args as memoryblock) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Java MBS Java Plugin 4.3 Yes Yes Yes Yes No
Function: Calls a virtual method with a boolean value.
Notes:
This family of operations invokes an instance (non-static) method on a Java object, according to the specified method ID. The methodID argument must be obtained by calling GetMethodID.

When this function is used to call private methods and constructors, the method ID must be derived from the real class of obj, not from one of its super classes.

Programmers place all arguments to the method in an args memoryblock that immediately follows the methodID argument.
In the memoryblock you need to use 8 bytes per argument and align them correctly. (alignment depends on platform)

Feedback, Comments & Corrections

JavaObjectMBS.CallByteMethod(MethodID as JavaMethodMBS, args as memoryblock) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Java MBS Java Plugin 4.3 Yes Yes Yes Yes No
Function: Calls a virtual method with a byte value.
Notes:
This family of operations invokes an instance (non-static) method on a Java object, according to the specified method ID. The methodID argument must be obtained by calling GetMethodID.

When this function is used to call private methods and constructors, the method ID must be derived from the real class of obj, not from one of its super classes.

Programmers place all arguments to the method in an args memoryblock that immediately follows the methodID argument.
In the memoryblock you need to use 8 bytes per argument and align them correctly. (alignment depends on platform)

Feedback, Comments & Corrections

JavaObjectMBS.CallCharMethod(MethodID as JavaMethodMBS, args as memoryblock) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Java MBS Java Plugin 4.3 Yes Yes Yes Yes No
Function: Calls a virtual method with a char value.
Notes:
This family of operations invokes an instance (non-static) method on a Java object, according to the specified method ID. The methodID argument must be obtained by calling GetMethodID.

When this function is used to call private methods and constructors, the method ID must be derived from the real class of obj, not from one of its super classes.

Programmers place all arguments to the method in an args memoryblock that immediately follows the methodID argument.
In the memoryblock you need to use 8 bytes per argument and align them correctly. (alignment depends on platform)

Feedback, Comments & Corrections

JavaObjectMBS.CallDoubleMethod(MethodID as JavaMethodMBS, args as memoryblock) as Double
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Java MBS Java Plugin 4.3 Yes Yes Yes Yes No
Function: Calls a virtual method with a double value.
Notes:
This family of operations invokes an instance (non-static) method on a Java object, according to the specified method ID. The methodID argument must be obtained by calling GetMethodID.

When this function is used to call private methods and constructors, the method ID must be derived from the real class of obj, not from one of its super classes.

Programmers place all arguments to the method in an args memoryblock that immediately follows the methodID argument.
In the memoryblock you need to use 8 bytes per argument and align them correctly. (alignment depends on platform)

Feedback, Comments & Corrections

JavaObjectMBS.CallFloatMethod(MethodID as JavaMethodMBS, args as memoryblock) as single
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Java MBS Java Plugin 4.3 Yes Yes Yes Yes No
Function: Calls a virtual method with a float value.
Notes:
This family of operations invokes an instance (non-static) method on a Java object, according to the specified method ID. The methodID argument must be obtained by calling GetMethodID.

When this function is used to call private methods and constructors, the method ID must be derived from the real class of obj, not from one of its super classes.

Programmers place all arguments to the method in an args memoryblock that immediately follows the methodID argument.
In the memoryblock you need to use 8 bytes per argument and align them correctly. (alignment depends on platform)

Feedback, Comments & Corrections

JavaObjectMBS.CallIntMethod(MethodID as JavaMethodMBS, args as memoryblock) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Java MBS Java Plugin 4.3 Yes Yes Yes Yes No
Function: Calls a virtual method with an integer value.
Notes:
This family of operations invokes an instance (non-static) method on a Java object, according to the specified method ID. The methodID argument must be obtained by calling GetMethodID.

When this function is used to call private methods and constructors, the method ID must be derived from the real class of obj, not from one of its super classes.

Programmers place all arguments to the method in an args memoryblock that immediately follows the methodID argument.
In the memoryblock you need to use 8 bytes per argument and align them correctly. (alignment depends on platform)

Feedback, Comments & Corrections

JavaObjectMBS.CallLongMethod(MethodID as JavaMethodMBS, args as memoryblock) as Int64
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Java MBS Java Plugin 11.3 Yes Yes Yes Yes No
Function: Calls a virtual method with a long value.
Notes:
This family of operations invokes an instance (non-static) method on a Java object, according to the specified method ID. The methodID argument must be obtained by calling GetMethodID.

When this function is used to call private methods and constructors, the method ID must be derived from the real class of obj, not from one of its super classes.

Programmers place all arguments to the method in an args memoryblock that immediately follows the methodID argument.
In the memoryblock you need to use 8 bytes per argument and align them correctly. (alignment depends on platform)

Feedback, Comments & Corrections

JavaObjectMBS.CallNonvirtualBooleanMethod(TheClass as JavaClassMBS, MethodID as JavaMethodMBS, args as memoryblock) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Java MBS Java Plugin 4.3 Yes Yes Yes Yes No
Function: Calls a non virtual method with a boolean value.
Notes:
This call invokes an instance (non-static) method on a Java object, according to the specified class and method ID. The methodID argument must be obtained by calling GetMethodID on the class TheClass.

The CallNonvirtualMethod family of routines and the CallMethod family of routines are different. CallMethod routines invoke the method based on the class of the object, while CallNonvirtualMethod routines invoke the method based on the class, designated by the TheClass parameter, from which the method ID is obtained. The method ID must be obtained from the real class of the object or from one of its superclasses.

Programmers place all arguments to the method in an args memoryblock that immediately follows the methodID argument.
In the memoryblock you need to use 8 bytes per argument and align them correctly. (alignment depends on platform)

Feedback, Comments & Corrections

JavaObjectMBS.CallNonvirtualByteMethod(TheClass as JavaClassMBS, MethodID as JavaMethodMBS, args as memoryblock) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Java MBS Java Plugin 4.3 Yes Yes Yes Yes No
Function: Calls a non virtual method with a byte value.
Notes:
This call invokes an instance (non-static) method on a Java object, according to the specified class and method ID. The methodID argument must be obtained by calling GetMethodID on the class TheClass.

The CallNonvirtualMethod family of routines and the CallMethod family of routines are different. CallMethod routines invoke the method based on the class of the object, while CallNonvirtualMethod routines invoke the method based on the class, designated by the TheClass parameter, from which the method ID is obtained. The method ID must be obtained from the real class of the object or from one of its superclasses.

Programmers place all arguments to the method in an args memoryblock that immediately follows the methodID argument.
In the memoryblock you need to use 8 bytes per argument and align them correctly. (alignment depends on platform)

Feedback, Comments & Corrections

JavaObjectMBS.CallNonvirtualCharMethod(TheClass as JavaClassMBS, MethodID as JavaMethodMBS, args as memoryblock) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Java MBS Java Plugin 4.3 Yes Yes Yes Yes No
Function: Calls a non virtual method with a char value.
Notes:
This call invokes an instance (non-static) method on a Java object, according to the specified class and method ID. The methodID argument must be obtained by calling GetMethodID on the class TheClass.

The CallNonvirtualMethod family of routines and the CallMethod family of routines are different. CallMethod routines invoke the method based on the class of the object, while CallNonvirtualMethod routines invoke the method based on the class, designated by the TheClass parameter, from which the method ID is obtained. The method ID must be obtained from the real class of the object or from one of its superclasses.

Programmers place all arguments to the method in an args memoryblock that immediately follows the methodID argument.
In the memoryblock you need to use 8 bytes per argument and align them correctly. (alignment depends on platform)

Feedback, Comments & Corrections

JavaObjectMBS.CallNonvirtualDoubleMethod(TheClass as JavaClassMBS, MethodID as JavaMethodMBS, args as memoryblock) as Double
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Java MBS Java Plugin 4.3 Yes Yes Yes Yes No
Function: Calls a non virtual method with a double value.
Notes:
This call invokes an instance (non-static) method on a Java object, according to the specified class and method ID. The methodID argument must be obtained by calling GetMethodID on the class TheClass.

The CallNonvirtualMethod family of routines and the CallMethod family of routines are different. CallMethod routines invoke the method based on the class of the object, while CallNonvirtualMethod routines invoke the method based on the class, designated by the TheClass parameter, from which the method ID is obtained. The method ID must be obtained from the real class of the object or from one of its superclasses.

Programmers place all arguments to the method in an args memoryblock that immediately follows the methodID argument.
In the memoryblock you need to use 8 bytes per argument and align them correctly. (alignment depends on platform)

Feedback, Comments & Corrections

JavaObjectMBS.CallNonvirtualFloatMethod(TheClass as JavaClassMBS, MethodID as JavaMethodMBS, args as memoryblock) as single
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Java MBS Java Plugin 4.3 Yes Yes Yes Yes No
Function: Calls a non virtual method with a float value.
Notes:
This call invokes an instance (non-static) method on a Java object, according to the specified class and method ID. The methodID argument must be obtained by calling GetMethodID on the class TheClass.

The CallNonvirtualMethod family of routines and the CallMethod family of routines are different. CallMethod routines invoke the method based on the class of the object, while CallNonvirtualMethod routines invoke the method based on the class, designated by the TheClass parameter, from which the method ID is obtained. The method ID must be obtained from the real class of the object or from one of its superclasses.

Programmers place all arguments to the method in an args memoryblock that immediately follows the methodID argument.
In the memoryblock you need to use 8 bytes per argument and align them correctly. (alignment depends on platform)

Feedback, Comments & Corrections

JavaObjectMBS.CallNonvirtualIntMethod(TheClass as JavaClassMBS, MethodID as JavaMethodMBS, args as memoryblock) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Java MBS Java Plugin 4.3 Yes Yes Yes Yes No
Function: Calls a non virtual method with an integer value.
Notes:
This call invokes an instance (non-static) method on a Java object, according to the specified class and method ID. The methodID argument must be obtained by calling GetMethodID on the class TheClass.

The CallNonvirtualMethod family of routines and the CallMethod family of routines are different. CallMethod routines invoke the method based on the class of the object, while CallNonvirtualMethod routines invoke the method based on the class, designated by the TheClass parameter, from which the method ID is obtained. The method ID must be obtained from the real class of the object or from one of its superclasses.

Programmers place all arguments to the method in an args memoryblock that immediately follows the methodID argument.
In the memoryblock you need to use 8 bytes per argument and align them correctly. (alignment depends on platform)

Feedback, Comments & Corrections

JavaObjectMBS.CallNonvirtualLongMethod(TheClass as JavaClassMBS, MethodID as JavaMethodMBS, args as memoryblock) as Int64
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Java MBS Java Plugin 11.3 Yes Yes Yes Yes No
Function: Calls a non virtual method with a long value.
Notes:
This call invokes an instance (non-static) method on a Java object, according to the specified class and method ID. The methodID argument must be obtained by calling GetMethodID on the class TheClass.

The CallNonvirtualMethod family of routines and the CallMethod family of routines are different. CallMethod routines invoke the method based on the class of the object, while CallNonvirtualMethod routines invoke the method based on the class, designated by the TheClass parameter, from which the method ID is obtained. The method ID must be obtained from the real class of the object or from one of its superclasses.

Programmers place all arguments to the method in an args memoryblock that immediately follows the methodID argument.
In the memoryblock you need to use 8 bytes per argument and align them correctly. (alignment depends on platform)

Feedback, Comments & Corrections

JavaObjectMBS.CallNonvirtualObjectMethod(TheClass as JavaClassMBS, MethodID as JavaMethodMBS, args as memoryblock) as JavaObjectMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Java MBS Java Plugin 4.3 Yes Yes Yes Yes No
Function: Calls a non virtual method with an object value.
Notes:
This call invokes an instance (non-static) method on a Java object, according to the specified class and method ID. The methodID argument must be obtained by calling GetMethodID on the class TheClass.

The CallNonvirtualMethod family of routines and the CallMethod family of routines are different. CallMethod routines invoke the method based on the class of the object, while CallNonvirtualMethod routines invoke the method based on the class, designated by the TheClass parameter, from which the method ID is obtained. The method ID must be obtained from the real class of the object or from one of its superclasses.

Programmers place all arguments to the method in an args memoryblock that immediately follows the methodID argument.
In the memoryblock you need to use 8 bytes per argument and align them correctly. (alignment depends on platform)

Feedback, Comments & Corrections

JavaObjectMBS.CallNonvirtualShortMethod(TheClass as JavaClassMBS, MethodID as JavaMethodMBS, args as memoryblock) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Java MBS Java Plugin 4.3 Yes Yes Yes Yes No
Function: Calls a non virtual method with a short value.
Notes:
This call invokes an instance (non-static) method on a Java object, according to the specified class and method ID. The methodID argument must be obtained by calling GetMethodID on the class TheClass.

The CallNonvirtualMethod family of routines and the CallMethod family of routines are different. CallMethod routines invoke the method based on the class of the object, while CallNonvirtualMethod routines invoke the method based on the class, designated by the TheClass parameter, from which the method ID is obtained. The method ID must be obtained from the real class of the object or from one of its superclasses.

Programmers place all arguments to the method in an args memoryblock that immediately follows the methodID argument.
In the memoryblock you need to use 8 bytes per argument and align them correctly. (alignment depends on platform)

Feedback, Comments & Corrections

JavaObjectMBS.CallNonvirtualVoidMethod(TheClass as JavaClassMBS, MethodID as JavaMethodMBS, args as memoryblock)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Java MBS Java Plugin 4.3 Yes Yes Yes Yes No
Function: Calls a non virtual method with no return value.
Notes:
This call invokes an instance (non-static) method on a Java object, according to the specified class and method ID. The methodID argument must be obtained by calling GetMethodID on the class TheClass.

The CallNonvirtualMethod family of routines and the CallMethod family of routines are different. CallMethod routines invoke the method based on the class of the object, while CallNonvirtualMethod routines invoke the method based on the class, designated by the TheClass parameter, from which the method ID is obtained. The method ID must be obtained from the real class of the object or from one of its superclasses.

Programmers place all arguments to the method in an args memoryblock that immediately follows the methodID argument.
In the memoryblock you need to use 8 bytes per argument and align them correctly. (alignment depends on platform)

Feedback, Comments & Corrections

JavaObjectMBS.CallObjectMethod(MethodID as JavaMethodMBS, args as memoryblock) as JavaObjectMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Java MBS Java Plugin 4.3 Yes Yes Yes Yes No
Function: Calls a virtual method with an object value.
Notes:
This family of operations invokes an instance (non-static) method on a Java object, according to the specified method ID. The methodID argument must be obtained by calling GetMethodID.

When this function is used to call private methods and constructors, the method ID must be derived from the real class of obj, not from one of its super classes.

Programmers place all arguments to the method in an args memoryblock that immediately follows the methodID argument.
In the memoryblock you need to use 8 bytes per argument and align them correctly. (alignment depends on platform)

Feedback, Comments & Corrections

JavaObjectMBS.CallShortMethod(MethodID as JavaMethodMBS, args as memoryblock) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Java MBS Java Plugin 4.3 Yes Yes Yes Yes No
Function: Calls a virtual method with a short value.
Notes:
This family of operations invokes an instance (non-static) method on a Java object, according to the specified method ID. The methodID argument must be obtained by calling GetMethodID.

When this function is used to call private methods and constructors, the method ID must be derived from the real class of obj, not from one of its super classes.

Programmers place all arguments to the method in an args memoryblock that immediately follows the methodID argument.
In the memoryblock you need to use 8 bytes per argument and align them correctly. (alignment depends on platform)

Feedback, Comments & Corrections

JavaObjectMBS.CallVoidMethod(MethodID as JavaMethodMBS, args as memoryblock)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Java MBS Java Plugin 4.3 Yes Yes Yes Yes No
Function: Calls a virtual method with no return value.
Notes:
This family of operations invokes an instance (non-static) method on a Java object, according to the specified method ID. The methodID argument must be obtained by calling GetMethodID.

When this function is used to call private methods and constructors, the method ID must be derived from the real class of obj, not from one of its super classes.

Programmers place all arguments to the method in an args memoryblock that immediately follows the methodID argument.
In the memoryblock you need to use 8 bytes per argument and align them correctly. (alignment depends on platform)

Feedback, Comments & Corrections

JavaObjectMBS.CharField(TheField as JavaFieldMBS) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Java MBS Java Plugin 4.3 Yes Yes Yes Yes No
Function: Get or set the value for a char field in this class.
Notes:
Do not use for static fields!
(Read and Write computed property)

Feedback, Comments & Corrections

JavaObjectMBS.Constructor
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Java MBS Java Plugin 15.1 Yes Yes Yes Yes No
Function: The private constructor.

Feedback, Comments & Corrections

JavaObjectMBS.DoubleField(TheField as JavaFieldMBS) as Double
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Java MBS Java Plugin 4.3 Yes Yes Yes Yes No
Function: Get or set the value for a double field in this class.
Notes:
Do not use for static fields!
(Read and Write computed property)

Feedback, Comments & Corrections

JavaObjectMBS.FloatField(TheField as JavaFieldMBS) as single
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Java MBS Java Plugin 4.3 Yes Yes Yes Yes No
Function: Get or set the value for a single field in this class.
Notes:
Do not use for static fields!
(Read and Write computed property)

Feedback, Comments & Corrections

JavaObjectMBS.GetDirectBufferAddress(directbuffer as JavaObjectMBS) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Java MBS Java Plugin 4.3 Yes Yes Yes Yes No
Function: Returns the address of the memory from a directbuffer object.
Notes: Returns 0 on any error.

Feedback, Comments & Corrections

JavaObjectMBS.GetDirectBufferCapacity(directbuffer as JavaObjectMBS) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Java MBS Java Plugin 4.3 Yes Yes Yes Yes No
Function: Returns the size of the memory from a directbuffer object.
Notes: Returns 0 on any error.

Feedback, Comments & Corrections

JavaObjectMBS.IntField(TheField as JavaFieldMBS) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Java MBS Java Plugin 4.3 Yes Yes Yes Yes No
Function: Get or set the value for an integer field in this class.
Notes:
Do not use for static fields!
(Read and Write computed property)

Feedback, Comments & Corrections

Next items

The items on this page are in the following plugins: MBS Java Plugin.




Links
MBS Xojo tutorial videos