skip to main content

Controls Reference : JAVA-BEAN : Properties : Init-Signature

Init-Signature
This property defines the signature of the constructor to be used when the Java-Bean control is being created.
It’s useful when the Java-Bean has more than one constructor and you wish to use one of them in particular. Consider the following JavaDoc for example:
The equivalent COBOL definition to be used in Screen Section in case you wish to use the first constructor is:
03 Java-Bean
   Init-Signature ("int, int")
   Object crtl
Note: Since the property is parsed as a standard property by the Compiler, it can contain only object types that can be cast to COBOL items. It’s permissible to use int, long, or java.lang.String, for example, but not java.io.File, javax.swing.table.TableModel, java.util.Vector, etcetera.

Copyright (c) 2017 Veryant
Contact us
Please share your comments on this manual or on any
Veryant product documentation with the email button at the top left