Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be 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/Column"

(Properties)
(Replaced content with "The Scout documentation has been moved to https://eclipsescout.github.io/.")
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{ScoutPage|cat=Component Model}}
+
The Scout documentation has been moved to https://eclipsescout.github.io/.
 
+
Columns describe the structure of a {{ScoutLink|Concepts|Table|Table}}
+
 
+
* implements: {{ScoutJavadoc|IColumn<T>|I}}
+
* extends: {{ScoutJavadoc|AbstractColumn<T>|C}}
+
 
+
== Description ==
+
{{note|TODO|Add a description}}
+
A column is the entity of a table describing the structure of the data displayed in the table. Depending on the {{ScoutLink|Concepts|Type of Data|type of values}} contained in the column, one of the child implementation specialized for the given type should be considered.
+
 
+
ColumnSet
+
 
+
=== Type of column ===
+
* {{ScoutLink|Concepts|StringColumn|String Column}}
+
* {{ScoutLink|Concepts|IntegerColumn|Integer Column}}
+
* {{ScoutLink|Concepts|LongColumn|Long Column}}
+
* {{ScoutLink|Concepts|DoubleColumn|Double Column}}
+
* {{ScoutLink|Concepts|DateColumn|Date Column}}
+
* {{ScoutLink|Concepts|TimeColumn|Time Column}}
+
* {{ScoutLink|Concepts|BooleanColumn|Boolean Column}}
+
* {{ScoutLink|Concepts|SmartColumn|Smart Column <T>}}
+
 
+
== Properties ==
+
''Defined with {{ScoutLink|Concepts|GetConfigured Methods|getConfiguredXxxxxx()}} methods''.
+
 
+
{{ScoutProp|Displayable}}
+
Only displayable columns can be displayed in the table. Not displayable columns are suitable for values that you need to have for each row (typically an unique id that you need to pass to a form that is opened when you edit the entity represented in the row).
+
 
+
{{ScoutProp|Visible}}
+
A column can be visible or not. The default behavior of a table lets the user configure the columns he want to display in a table.
+
 
+
{{ScoutProp|Summary}}
+
Defines that the column will contribute its text to the {{ScoutLink|Concepts|TablePage#Summary_Cell|summary cell}}.
+
 
+
{{ScoutProp|Primary}}
+
TODO
+
 
+
 
+
Sorting properties
+
* ... TODO
+
* ...
+
* ...
+
{{note|TODO|Link to the article How to sort Tables}}
+
 
+
== Events ==
+
''Defined with {{ScoutLink|Concepts|Exec_Methods|execXxxxxx()}} methods''.
+
 
+
{{note|TODO|Add a description of important events. The idea is not to recreate the JavaDoc of the execXxxxxx() methods but to provide explanations, best practice, example... Group the events by domain.}}
+
 
+
 
+
== See Also ==
+
* {{ScoutLink|Concepts|Table|Table}}
+

Latest revision as of 07:17, 18 March 2024

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

Back to the top