Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Scout/Concepts/CheckboxField"

m (Screenshot)
(Replaced content with "The Scout documentation has been moved to https://eclipsescout.github.io/.")
 
Line 1: Line 1:
{{ScoutPage|cat=Component Model}}
+
The Scout documentation has been moved to https://eclipsescout.github.io/.
 
+
'''Checkbox field''' (or '''Boolean Field''')  is specific type of {{ScoutLink|Concepts|ValueField|value field}} to represent Boolean.
+
 
+
* implements: {{ScoutJavadoc|IBooleanField|I}} (or convenience {{ScoutJavadoc|ICheckBox|I}})
+
* extends: {{ScoutJavadoc|AbstractBooleanField|C}} (or convenience {{ScoutJavadoc|AbstractCheckBox|C}})
+
 
+
== Description ==
+
Among the different {{ScoutLink|Concepts|Type of Data|types of data supported by scout}}, the BooleanField is made to represent Boolean. For example the functions <code>setValue(value)</code> and <code>getValue()</code> use directly Boolean.
+
 
+
For the user, the field is a checkbox that can be clicked.
+
 
+
== Screenshot ==
+
{|{{BMTableStyle}}
+
|-{{BMTHStyle}}
+
! Type
+
! RAP
+
! SWT
+
! Swing
+
! Swing Rayo
+
|-
+
| Checked || [[Image:Scout_3.8_BooleanField_checked_RAP.png]] || [[Image:Scout_3.8_BooleanField_checked_SWT.png]] || [[Image:Scout_3.8_BooleanField_checked_Swing.png]] || [[Image:Scout_3.8_BooleanField_checked_Swing_Rayo.png]]
+
|-
+
| Unchecked || [[Image:Scout_3.8_BooleanField_unchecked_RAP.png]] || [[Image:Scout_3.8_BooleanField_unchecked_SWT.png]] || [[Image:Scout_3.8_BooleanField_unchecked_Swing.png]] || [[Image:Scout_3.8_BooleanField_unchecked_Swing_Rayo.png]]
+
|-
+
|}
+
 
+
== Properties ==
+
''Defined with {{ScoutLink|Concepts|GetConfigured Methods|getConfiguredXxxxxx()}} methods''.
+
 
+
See also the {{ScoutLink|Concepts|Field|Field}} and the {{ScoutLink|Concepts|ValueField|Value field}} pages for the properties that all fields have in common.
+
 
+
 
+
== Events ==
+
''Defined with {{ScoutLink|Concepts|Exec_Methods|execXxxxxx()}} methods''.
+
 
+
See also the {{ScoutLink|Concepts|Field|Field}} and the {{ScoutLink|Concepts|ValueField|value field}} pages for the events that all fields have in common.
+
 
+
 
+
== See Also ==
+
* {{ScoutLink|Concepts|ValueField|Value field}}
+
* {{ScoutLink|Concepts|Field|Field}}
+
* {{ScoutLink|Concepts|Form|Form}}
+
* The corresponding column: {{ScoutLink|Concepts|BooleanColumn|BooleanColumn}}
+
* {{ScoutLink|Concepts|Type of Data|Type of data supported by Scout in the fields}}
+

Latest revision as of 04:43, 14 March 2024

The Scout documentation has been moved to https://eclipsescout.github.io/.

Back to the top