Site Manager Developer Manual / Version 2204
Table Of ContentsThe following property editors are available for string fields:
Class | Description |
---|---|
JTextFieldStringEditor |
Simple text field. This is the default editor. The JTextFieldStringEditor can be configured with the following attributes:
|
ComboBoxStringEditor |
A selection list. You can enable own entries in the combo box using the attribute
Example:
If you are using the
You can disable spell checking using the attribute The selection options can be added with three different multiple child elements:
Examples:
Will show 60 in the combo box and will write 60 into the property when you select it.
Will show "Select Me" in the combo box and will write the result of the class
Will show "One minute" in the combo box and will write 60 into the property when you select the entry. |
JCheckBoxStringEditor | A check box. If the box is chosen, "true" will be saved, otherwise "false". |
JPasswordFieldStringEditor | Text field which allows you to enter a password. Thus, the input characters will be displayed hidden. |
JTextPaneStringEditor |
Text field with more than one line. That is, if the length of your string exceeds the width of your
string text field a new line will be started. Internally, this will not be stored as a line break.
You can insert line breaks hitting the <Return> key. The length of the text is limited to the
length defined in the
The
|
Table 5.2. Property editors for strings