password
Description
An edit field used for password entries. The entered text is not displayed on the screen.
Sub-Elements
EMPTY
Required Attributes
Optional Attributes
actionCommand
Method call
return type: void
Called when the enter key is pressed.

Allowed parameters in method call:
  • ?value(type: java.lang.String)
    The current content of the field.
alignment
Enumeration
The text alignment

Allowed values:
  • center
    Center alignment.
  • leading
    Left to right according to language.
  • left
    Left alignment.
  • right
    Right alignment.
  • trailing
    Right to left according to language.
editable
Method call
return type: boolean
event aware
Defines if the field is editable.
maxLength
integer constant
Maximum allowed length of input string. The edit field will simply not accept any more input if maxLength characters have already been entered.
setValue
Method call
return type: void
Called when the edit field loses the focus or when the enter key is pressed. Is used to set the current edit field value in the underlying controller/model.

Allowed parameters in method call:
  • ?value(type: java.lang.String)
    The current value of the field.
value
Method call
return type: java.lang.String
event aware
The value to be displayed in the field.
width
Method call
return type: int
Defines the preferred horizontal size specified in number of characters "m".