<?xml version="1.0" encoding="utf-8" ?>

<!--
 * @(#)DatasetForm.xml
 *
 * Copyright: Yokogawa, All rights reserved.
 * YOKOGAWA PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 *
 * Author:    M. Brentnall
 *
 * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 *  Changes ....
 * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 *  Who When    Change  What
 * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 *  BNL Jun-10  e10334  First version documented
 *  BNL Jun-12  e10657  Basic/Advanced Properties
 *  BNL Jul-18  e11986  Edit Module HTML Mode
 *  BNL Feb-19  e11986  Disallow connection to positional properties in HTML mode
 *  BNL Aug-19  i12162  Prevent unnecessary form updates for performance optimisation
 *  HVS Jun-20  e12272  Port to JViews 2017.2
 *
-->

<componentType name="datasetForm"
               containedBy="JComponent"
               icon="stock_file-properties-16.png"
               description="DatasetForm"
               class="fasttools.jwui.components.datasetform.DatasetForm"
               paletteOrder="208"
               html="no">

  <category name="General">
    <property name="name" type="java.lang.String" defaultAllowed="no" connectAllowed="no" advanced="yes"/>
    <property name="toolTipText" type="java.lang.String" defaultAllowed="no" localized="yes" description="This is the tooltip text"/>
  </category>

  <category name="Transformation">
    <property name="x" type="double" defaultAllowed="no" setter="setXAsFloat" getter="getXAsFloat" advanced="yes" html="noConnect"/>
    <property name="y" type="double" defaultAllowed="no" setter="setYAsFloat" getter="getYAsFloat" advanced="yes" html="noConnect"/>
    <property name="top" type="double" defaultAllowed="no" advanced="yes" html="noConnect"/>
    <property name="bottom" type="double" defaultAllowed="no" advanced="yes" html="noConnect"/>
    <property name="left" type="double" defaultAllowed="no" advanced="yes" html="noConnect"/>
    <property name="right" type="double" defaultAllowed="no" advanced="yes" html="noConnect"/>
    <property name="rotation" type="double" defaultAllowed="no"/>
    <property name="shear" type="double" defaultAllowed="no" advanced="yes"/>
  </category>

  <category name="Visibility">
    <property name="transparency" type="float"/>
    <property name="visible" type="boolean" setter="setVisibleAsBoolean" getter="isVisibleAsBoolean"/>
    <property name="opaque" type="boolean" advanced="yes"/>
    <property name="backgroundColor" type="fasttools.jtools.common.property.color.ColorSet" advanced="yes"/>
  </category>

  <category name="Zooming">
    <property name="zoomEnabled" type="boolean"/>
    <property name="zoomFactor" type="float" advanced="yes"/>
  </category>

  <category name="DSS">
    <property name="key" bound="yes" type="java.lang.String"/>
    <property name="table" type="java.lang.String"/>
    <property name="formDescription" type="java.lang.String"/>
  </category>

  <category name="Form">
    <property name="recordControlVisible" type="boolean"/>
    <property name="deletePossible" type="boolean"/>
    <property name="updatePossible" type="boolean"/>
    <property name="insertPossible" type="boolean"/>
    <property name="readPossible" type="boolean"/>
    <property name="readOnly" type="boolean"/>
    <property name="nameEditable" type="boolean"/>
  </category>

  <category name="Commands">
    <property name="moveNext" type="boolean" save="no" defaultAllowed="no" advanced="yes"/>
    <property name="movePrevious" type="boolean" save="no" defaultAllowed="no" advanced="yes"/>
    <property name="moveFirst" type="boolean" save="no" defaultAllowed="no" advanced="yes"/>
    <property name="moveLast" type="boolean" save="no" defaultAllowed="no" advanced="yes"/>
    <property name="apply" type="boolean" save="no" defaultAllowed="no" advanced="yes"/>
    <property name="insert" type="boolean" save="no" defaultAllowed="no" advanced="yes"/>
    <property name="delete" type="boolean" save="no" defaultAllowed="no" advanced="yes"/>
    <property name="reset" type="boolean" save="no" defaultAllowed="no" advanced="yes"/>
    <property name="selectedIndex" type="int" bound="yes" save="no" defaultAllowed="no" advanced="yes"/>
    <property name="recordCount" type="int" bound="yes" writeAllowed="no" save="no" defaultAllowed="no" advanced="yes"/>
  </category>
</componentType>