36 lines
3.7 KiB
Plaintext
36 lines
3.7 KiB
Plaintext
<type name="table-component" extends="collection-component" inherit-styles="true">
|
|
<builder jar="table-component.jar">
|
|
<!-- Abstract -->
|
|
<thin-swt class="com.foundation.tcv.swt.builder.TableComponentBuilder"/>
|
|
<thick-swt class="com.foundation.view.swt.builder.TableComponentBuilder"/>
|
|
</builder>
|
|
|
|
<!-- The foreground and background colors to be used for all rows, or if the alternate colors are also specified then these will be used for odd numbered rows (in a 1 based sequencing). -->
|
|
<property name="row-background-color" type="color" required="false" allow-resource="true"/>
|
|
<property name="row-foreground-color" type="color" required="false" allow-resource="true"/>
|
|
<!-- The alternate foreground and background colors are used for even rows only (in a 1 based sequencing). -->
|
|
<property name="row-background-color-alt" type="color" required="false" allow-resource="true"/>
|
|
<property name="row-foreground-color-alt" type="color" required="false" allow-resource="true"/>
|
|
<!-- The gradient or color used as the selection color. -->
|
|
<property name="row-selection-gradient" type="gradient" required="false" allow-resource="true"/>
|
|
<property name="row-font" type="font" required="false" allow-resource="true"/>
|
|
<!-- A <= 0 value will use the default row height which is based on the font. -->
|
|
<property name="row-height" type="positive-integer" required="false" default-value="0"/>
|
|
<!-- Whether the items or 'rows' in the collection component are decorated visually when the object the row represents is marked up. -->
|
|
<property name="decorate-items" type="boolean" required="false" default="false"/>
|
|
|
|
<!-- The custom colors override the standard and alternate colors. Custom colors allow each row to be individually colored. -->
|
|
<association function="row-background-color-custom" association-type="multi" unique-row-type="true" getter="required" setter="none" data-type="com.foundation.view.JefColor"/>
|
|
<association function="row-foreground-color-custom" association-type="multi" unique-row-type="true" getter="required" setter="none" data-type="com.foundation.view.JefColor"/>
|
|
<!-- The foreground and background colors to be used for all rows, or if the alternate colors are also specified then these will be used for odd numbered rows (in a 1 based sequencing). -->
|
|
<association function="row-background-color" association-type="single" unique-row-type="true" getter="required" setter="none" data-type="com.foundation.view.JefColor"/>
|
|
<association function="row-foreground-color" association-type="single" unique-row-type="true" getter="required" setter="none" data-type="com.foundation.view.JefColor"/>
|
|
<!-- The alternate foreground and background colors are used for even rows only (in a 1 based sequencing). -->
|
|
<association function="row-background-color-alt" association-type="single" unique-row-type="true" getter="required" setter="none" data-type="com.foundation.view.JefColor"/>
|
|
<association function="row-foreground-color-alt" association-type="single" unique-row-type="true" getter="required" setter="none" data-type="com.foundation.view.JefColor"/>
|
|
<!-- The gradient or color used as the selection color. -->
|
|
<association function="row-selection-gradient" association-type="variable" unique-row-type="true" getter="required" setter="none" data-type="com.foundation.view.JefGradient"/>
|
|
<association function="row-font" association-type="multi" unique-row-type="true" getter="required" setter="none" data-type="com.foundation.view.JefFont"/>
|
|
<!-- A <= 0 value will use the default row height which is based on the font. It is not possible to have different row heights for different rows at this time. -->
|
|
<association function="row-height" association-type="single" unique-row-type="false" getter="required" setter="none" data-type="java.lang.Integer"/>
|
|
</type> |