Files
Brainstorm/Foundation Builder/controls/collection-component.cml
2014-05-30 10:31:51 -07:00

53 lines
3.2 KiB
Plaintext

<type name="collection-component" extends="scrollable-component" inherit-styles="true">
<builder jar="collection-component.jar">
<!-- Abstract -->
</builder>
<property name="auto-synchronize-selection" type="boolean" required="false"/>
<!-- Must be between [0..10,000] -->
<property name="auto-synchronize-selection-delay" type="long" required="false"/>
<!-- Whether the validation will run when the selection synchronizes. This should probably always be false if not auto synchronizing. -->
<property name="auto-validate" type="boolean" required="false" default="false"/>
<association function="collection" association-type="single" unique-row-type="true" getter="required" setter="none" data-type="java.lang.Object" allow-decorations="true"/>
<association function="selection" association-type="single" unique-row-type="true" getter="required" setter="optional" data-type="java.lang.Object" allow-decorations="true"/>
<method function="double-click" required="false" multiple="false" requires-value-holder="false"/>
<component type="hidden-data" required="false" mulitple="false"/>
<type name="hidden-data">
<!-- Abstract -->
<!-- Allows the user to combine the multiple selections to see if all the hidden values are the same. Same values would then activate links with the value, otherwise the link is always activated with a null or default value. -->
<property name="combine-on-multi-select" type="boolean" required="false" default-value="false"/>
</type>
<type name="hidden-boolean" extends="hidden-data">
<property name="data" type="boolean" required="false"/>
<association function="data" association-type="multi" unique-row-type="true" getter="required" setter="none" data-type="java.lang.Boolean"/>
<link-source function="selection" data-type="java.lang.Boolean"/>
</type>
<type name="hidden-integer" extends="hidden-data">
<property name="data" type="integer" required="false"/>
<association function="data" association-type="multi" unique-row-type="true" getter="required" setter="none" data-type="java.lang.Integer"/>
<link-source function="selection" data-type="java.lang.Integer"/>
</type>
<type name="hidden-string" extends="hidden-data">
<property name="data" type="string" required="false"/>
<association function="data" association-type="multi" unique-row-type="true" getter="required" setter="none" data-type="java.lang.String"/>
<link-source function="selection" data-type="java.lang.String"/>
</type>
<type name="hidden-color" extends="hidden-data">
<property name="data" type="color" required="false"/>
<association function="data" association-type="multi" unique-row-type="true" getter="required" setter="none" data-type="com.foundation.view.JefColor"/>
<link-source function="selection" data-type="com.foundation.view.JefColor"/>
</type>
<type name="hidden-font" extends="hidden-data">
<property name="data" type="font" required="false"/>
<association function="data" association-type="multi" unique-row-type="true" getter="required" setter="none" data-type="com.foundation.view.JefFont"/>
<link-source function="selection" data-type="com.foundation.view.JefFont"/>
</type>
<link-source function="selection" data-type="java.lang.Boolean"/>
</type>