Scilab 6.0.0
- Aide de Scilab
- Java depuis Scilab
- Getting started - Beginning
- Getting started - Second step
- jallowClassReloading
- jarray
- jautoTranspose
- jautoUnwrap
- jcast
- jcompile
- jconvMatrixMethod
- jcreatejar
- jdeff
- jdisableTrace
- jenableTrace
- jexists
- jgetclassname
- jgetfield
- jgetfields
- jgetinfo
- jgetmethods
- jimport
- jinvoke
- jinvoke_db
- jnewInstance
- jnull
- jremove
- jsetfield
- junwrap
- junwraprem
- jvoid
- jwrap
- jwrapinchar
- jwrapinfloat
- new
Aide de Scilab >> Java depuis Scilab > jgetfield
jgetfield
Get the field value of a Java object
Syntax
jgetfield(object, fieldName [, unwrap])
Parameters
- object
A mlist typed _JObj or _JClass or a Scilab variable
- fieldName
A string giving the field name
- unwrap
A single boolean
Description
Get the value of the field named fieldName. If the optional third argument is true, then the value is automatically unwrapped.
This function also works with beans properties which may not be mapped to a public java field.
Examples
See Also
- jsetfield — Set the field of a Java object
History
Version | Description |
5.5.0 | Function introduced. Based on the 'JIMS' module. The main difference in the behavior compared to the JIMS module is that jautoUnwrap is enabled by default. |
Comments
Add a comment:
Please login to comment this page.