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

<!--
 * @(#)DatasetTable.xml
 *
 * Copyright: Yokogawa, All rights reserved.
 * YOKOGAWA PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 *
 * Author:    C. Horevoorts
 *
 * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 *  Changes ....
 * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 *  Who When    Change  What
 * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 *  HVS Aug-15  e11350  ABB Uelsag extensions
 *  HVS Feb-16  e11465  Merge into R10.03
 *  HVS Jan-18  e11898  Add enterprise support (tokuchu 17-0411)
 *  BNL Jul-18  e11986  Edit Module HTML Mode
 *  VNU Sep-18  e11987  Enabled HTML component
 *  VNU Jan-19  e11986  Set HTML properties
 *  BNL Feb-19  e11986  Disallow connection to positional properties in HTML mode
 *  HVS Aug-19  e12116  Merge EPMS table functionality
 *  VNU Feb-20  e12116  Merge EPMS table functionality-disable not supported HTML properties
 *  HVS Jun-20  e12272  Port to JViews 2017.2
 *
-->

<componentType name="datasetTable"
               containedBy="JComponent"
               icon="stock_data-table-16.png"
               description="DatasetTable"
               class="fasttools.jwui.components.tables.dataset.DatasetTable"
               paletteOrder="208"
               html="yes">

  <category name="General">
    <property name="name" type="java.lang.String" defaultAllowed="no" connectAllowed="no"/>
    <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"/>
  </category>

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

  <category name="Dataset">
    <property name="datasetLocation" type="fasttools.jwui.enterprise.EnterpriseNode" enterprise="yes" null="readOnly" connectAllowed="no" deprecated="yes" html="no"/>
    <property name="datasetName" type="java.lang.String"/>
    <property name="datasetFilter" type="java.lang.String"/>
    <property name="dynamicUpdate" type="boolean"/>
    <property name="keyField" type="java.lang.String" advanced="yes"/>
    <property name="maxRows" type="int" advanced="yes"/>
  </category>

  <category name="EnterpriseDatasetLocations">
    <property name="datasetSourceLocation" array="0..39" type="fasttools.jwui.enterprise.EnterpriseNode" null="none" enterprise="yes" connectAllowed="no" advanced="yes" html="no"/>
  </category>

  <category name="Columns">
    <property name="columnCount" type="int"/>
    <property name="columnLabel" type="java.lang.String" array="0..getColumnCountMinusOne" localized="yes"/>
    <property name="columnField" type="java.lang.String" array="0..getColumnCountMinusOne"/>
    <property name="columnFormat" type="java.lang.String" array="0..getColumnCountMinusOne"/>
    <property name="columnWidth" type="int" array="0..getColumnCountMinusOne"/>
    <property name="columnValue" type="java.lang.String" array="0..getColumnCountMinusOne" bound="yes" save="no" defaultAllowed="no" advanced="yes"/>
    <property name="columnWarningIcon" type="fasttools.jtools.common.property.icon.IconSet" null="none" array="0..getColumnCountMinusOne" html="no"/>
    <property name="columnWarningFilter" type="java.lang.String" array="0..getColumnCountMinusOne" localized="yes" html="no"/>
    <property name="columnWarningTooltip" type="java.lang.String" array="0..getColumnCountMinusOne" localized="yes" html="no"/>
  </category>

  <category name="Sorting">
    <property name="columnReverseSort" type="boolean"/>
    <property name="columnSort" type="int"/>
    <property name="columnSort2" type="int" html="no"/>
    <property name="sortingAllowed" type="boolean" html="no"/>
    <property name="duplicateNotAllowed" type="boolean" advanced="yes" html="no"/>
    <property name="duplicateColumn" type="int" advanced="yes" html="no"/>
  </category>

  <category name="Style">
    <property name="margin" type="int" advanced="yes"/>
    <property name="headingVisible" type="boolean" advanced="yes"/>
    <property name="rowFont" type="fasttools.jtools.common.property.font.FontSet" advanced="yes"/>
    <property name="headingFont" type="fasttools.jtools.common.property.font.FontSet" advanced="yes" html="no"/>
    <property name="buttonFont" type="fasttools.jtools.common.property.font.FontSet" advanced="yes"/>
    <property name="buttonWidth" type="int" advanced="yes"/>
    <property name="autoFit" type="boolean" advanced="yes"/>
    <property name="autoTop" type="boolean" advanced="yes"/>
    <property name="controlHeight" type="int" advanced="yes"/>
    <property name="backgroundColor" type="fasttools.jtools.common.property.color.ColorSet" advanced="yes"/>
    <property name="evenRowBackgroundColor" type="fasttools.jtools.common.property.color.ColorSet" advanced="yes"/>
    <property name="oddRowBackgroundColor" type="fasttools.jtools.common.property.color.ColorSet" advanced="yes"/>
    <property name="colorGroup" type="boolean" advanced="yes" html="no"/>
    <property name="colorGroupColumn" type="int" advanced="yes" html="no"/>
    <property name="showTimeAsGMT" type="boolean" advanced="yes" html="no"/>
  </category>

  <category name="HeaderAndFooter">
    <property name="headerText" localized="yes" type="java.lang.String" advanced="yes"/>
    <property name="headerFont" type="fasttools.jtools.common.property.font.FontSet" advanced="yes"/>
    <property name="headerColor" type="fasttools.jtools.common.property.color.ColorSet" advanced="yes"/>
    <property name="headerJustification" type="fasttools.jwui.common.property.JTextJustificationType" advanced="yes"/>

    <property name="footerText" localized="yes" type="java.lang.String" advanced="yes"/>
    <property name="footerFont" type="fasttools.jtools.common.property.font.FontSet" advanced="yes"/>
    <property name="footerColor" type="fasttools.jtools.common.property.color.ColorSet" advanced="yes"/>
    <property name="footerJustification" type="fasttools.jwui.common.property.JTextJustificationType" advanced="yes"/>
  </category>

  <category name="Interaction">
    <property name="updateEnabled" type="boolean" advanced="yes"/>
    <property name="insertEnabled" type="boolean" advanced="yes"/>
    <property name="deleteEnabled" type="boolean" advanced="yes"/>
    <property name="reorderingAllowed" type="boolean" advanced="yes" html="no"/>
    <property name="rowSelectionAllowed" type="boolean"/>
    <property name="rowMultipleSelectionAllowed" type="boolean" html="no"/>
    <property name="columnFilterEnabled" type="boolean" advanced="yes" html="no"/>
    <property name="autoStart" type="boolean" advanced="yes"/>
    <property name="start" type="boolean" save="no" defaultAllowed="no" advanced="yes"/>
<!--
    <property name="importAllowed" type="boolean" advanced="yes" html="no"/>
    <property name="importAll" type="boolean" advanced="yes" html="no"/>
    <property name="importAllRequired" type="boolean" advanced="yes" html="no"/>
-->
    <property name="exportAllowed" type="boolean" advanced="yes" html="no"/>
  </category>

  <category name="Status">
    <property name="rowCount" type="int" bound="yes" save="no" writeAllowed="no" defaultAllowed="no" advanced="yes"/>
    <property name="selectedRow" type="java.lang.String" bound="yes" save="no" defaultAllowed="no" advanced="yes"/>
    <property name="selectedLocation" type="java.lang.String" bound="yes" save="no" defaultAllowed="no" advanced="yes" enterprise="yes" html="no"/>
    <property name="selectedLocationWithRow" type="java.lang.String" bound="yes" save="no" defaultAllowed="no" advanced="yes" enterprise="yes" html="no"/>
    <property name="singleRowSelected" type="boolean" bound="yes" save="no" defaultAllowed="no" writeAllowed="no" advanced="yes" html="no"/>
    <property name="multipleRowsSelected" type="boolean" bound="yes" save="no" defaultAllowed="no" writeAllowed="no" advanced="yes" html="no"/>
    <property name="rowLeftClickEvent" type="boolean" bound="yes" save="no" writeAllowed="no" defaultAllowed="no" advanced="yes" html="no"/>
    <property name="rowRightClickEvent" type="boolean" bound="yes" save="no" writeAllowed="no" defaultAllowed="no" advanced="yes" html="no"/>
    <property name="rowDoubleClickEvent" type="boolean" bound="yes" save="no" writeAllowed="no" defaultAllowed="no" advanced="yes" html="no"/>
    <property name="lastUpdate" type="long" bound="yes" save="no" writeAllowed="no" defaultAllowed="no" html="no"/>
    <property name="doubleClickedRow" type="java.lang.String" bound="yes" save="no" writeAllowed="no" defaultAllowed="no" advanced="yes" html="no"/>
  </category>

  <category name="PopupMenu">
    <property name="exportTableIcon" type="fasttools.jtools.common.property.icon.IconSet" null="none" html="no"/>
<!--
    <property name="importTableIcon" type="fasttools.jtools.common.property.icon.IconSet" null="none" html="no"/>
    <property name="importTableLabel" localized="yes" type="java.lang.String" defaultAllowed="no" advanced="yes" html="no"/>
-->
    <property name="exportTableLabel" localized="yes" type="java.lang.String" defaultAllowed="no" advanced="yes"  html="no"/>
    <property name="exportSelectedTableLabel" localized="yes" type="java.lang.String" defaultAllowed="no" advanced="yes"  html="no"/>
    <property name="userPopupMenuIcon" array="0..19" type="fasttools.jtools.common.property.icon.IconSet" null="none"  html="no"/>
    <property name="userPopupMenu" array="0..19" localized="yes" type="java.lang.String" advanced="yes"  html="no"/>
    <property name="userPopupMenuSelected" array="0..19" type="boolean" bound="yes" save="no" writeAllowed="no"
              defaultAllowed="no" advanced="yes" html="no"/>
    <property name="userPopupMenuVisible" array="0..19" type="boolean" advanced="yes" html="no"/>
    <property name="userPopupMenuEnabled" array="0..19" type="boolean" advanced="yes" html="no"/>
    <property name="userPopupMenuSeparated" array="0..19" type="boolean" advanced="yes" html="no"/>
    <property name="userPopupMenuConfirmText" array="0..19" localized="yes" type="java.lang.String" advanced="yes" html="no"/>
    <property name="insertRowIcon" type="fasttools.jtools.common.property.icon.IconSet" null="none" html="no"/>
    <property name="deleteRowsIcon" type="fasttools.jtools.common.property.icon.IconSet" null="none" html="no"/>
    <property name="insertRowLabel" localized="yes" type="java.lang.String" defaultAllowed="no" advanced="yes" html="no"/>
    <property name="deleteRowsLabel" localized="yes" type="java.lang.String" defaultAllowed="no" advanced="yes" html="no"/>
  </category>

  <category name="Buttons">
    <property name="buttonEvent" array="0..3" type="boolean" writeAllowed="no" bound="yes" save="no" defaultAllowed="no" advanced="yes" html="no"/>
    <property name="exportButtonVisible" type="boolean" advanced="yes" html="no"/>
    <property name="buttonVisible" array="0..3" type="boolean" advanced="yes" html="no"/>
    <property name="buttonEnabled" array="0..3" type="boolean" advanced="yes" html="no"/>
    <property name="buttonLabel" array="0..3" type="java.lang.String" defaultAllowed="no" advanced="yes" html="no"/>
  </category>

  <category name="Grid">
    <property name="gridVisible" type="boolean" advanced="yes" html="no"/>
    <property name="gridColor" type="fasttools.jtools.common.property.color.ColorSet" advanced="yes" html="no"/>
  </category>

  <category name="Misc">
    <property name="linkPins" type="fasttools.jwui.common.property.linkpins.LinkPinsSet" defaultAllowed="no" connectAllowed="no" advanced="yes" html="no"/>
    <property name="enabledLocalization" type="boolean" advanced="yes"/>
  </category>


</componentType>