Skip to main content

Object Options

ObjectOptions

This class is used to set options with the addObject method.

Full qualification: com.florentis.signature.WizCtl.ObjectOptions

Summary

Method
setProperty
close
Property
none

Methods

setProperty

Sets a named property on the object.

public native void setProperty(String key, String value)
public native void setProperty(String key, int value)
public native void setProperty(String key, boolean value)
Parameters
keyThe name of the property to set
valueThe value to assign to the named property
Return Value
none
NB

The supported properties depend on the type of wizard object being added:

WizCtl.objectButton

PropertyValue
WidthButton width in pixels
HeightButton height in pixels
Align

Alignment of text within button. A combination of the values:
0 - Vertically / horizontally centred
1 - Left
2 - Right
4 - Top
8 - Bottom

Inverttrue to display button as white text on a black rectangle
Greyedtrue to display button greyed-out and disabled

WizCtl.objectInputEcho

PropertyValue
CharSetSingle character string specifying character to display as echo (eg, "*" for password entry)
Spacing

Specifies spacing between echoed characters as follows:
0 - No spacing
1 - Half character width spacing
2 - Single character width spacing
4 - Double character width spacing

Underlinetrue to display lines under the position of each character

WizCtl.objectRadioButton

PropertyValue
GroupString: Name of group to which a radio button belongs. Required
CheckedBoolean: True if the radio button is initially selected.
If multiple radio buttons in a group are created with Checked=true, the last one added will be the one selected.

close

"Closes" the object, releasing the underlying COM object (and thus freeing resources).

public native void close()
Parameters
none
Return Value
none