TwoStateButton  |
Main |
Name | Description | Values accepted | Default |
Variable | The value displayed by the element. | A string constant or variable. A boolean variable or one of the constants true or false. | |
Enabled | Whether the element is responsive to user action. | A boolean variable or one of the constants true or false. | |
Alignment | The horizontal alignement of the text. | Type LEFT, CENTER or RIGHT or use the menu to make a choice. | |
Graphical Aspect |
Name | Description | Values accepted | Default |
Size | The double[] array with the size of the frame in each direction. | Type the two size values or use the editor provided. | |
Font | The font used to display text in the element. | Use the editor provided to select name, style and size of the font. | |
Tooltip | Text displayed when the mouse is over the element. | A string constant or variable. | |
On Properties |
Name | Description | Values accepted | Default |
Text On | The text to display when the element is on. | A string constant or variable. | |
Image On | A gif file to display when the element is on. | A file name or a string constant or variable. | |
Mnemonic On | The key which (with ALT) activates this element when the element is on. | A string value. | |
Action On | The action triggered when the (on) button is clicked. | The Java code to invoke for the action. | |
Foreground On | The color to use for the text when the element is on. | Use the editor provided or read about colors. | |
Background On | The background color when the element is on. | Use the editor provided or read about colors. | |
Off Properties |
Name | Description | Values accepted | Default |
Text Off | The text to display when the element is off. | A string constant or variable. | |
Image Off | A gif file to display when the element is off. | A file name or a string constant or variable. | |
Mnemonic Off | The key which (with ALT) activates this element when the element is off. | A string value. | |
Action Off | The action triggered when the (off) button is clicked. | The Java code to invoke for the action. | |
Foreground Off | The color to use for the text when the element is off. | Use the editor provided or read about colors. | |
Background Off | The background color when the element is off. | Use the editor provided or read about colors. | |