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

<!--
 * @(#)Generator.xml
 *
 * Copyright: Yokogawa, All rights reserved.
 * YOKOGAWA PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 *
 * Author:    M.B. Middelveld
 *
 * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 *  Changes ....
 * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 *  Who When    Change  What
 * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 *  MMD Oct-13  e10944  First version documented
 *  HVS Nov-15  e11298  EPMS - Merge e10944 display generator component
 *  HVS Nov-16  i11672  EPMS - Improve display generator component 3
 *  HVS Apr-17  e11335  Add display generator component "usedTemplateName" property
 *  HVS Jan-18  e11897  Add enterprise support (tokuchu 17-0410)
 *  BNL Jul-18  e11986  Edit Module HTML Mode
 *  BNL Feb-19  e11986  Disallow connection to positional properties in HTML mode
 *  VNU Sep-19  e12157  Enable generator Component HTML5
 *  HVS Jan-20  e12214  Speedup generation (tokuchu 19-0403)
 *  HVS Jun-20  e12272  Port to JViews 2017.2
 *
-->

<componentType name="Generator"
               containedBy="JComponent"
               icon="generator_16.png"
               description="Generator"
               class="fasttools.jwui.components.generator.Generator"
               paletteOrder="405"
               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"/>
  </category>

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

  <category name="Visibility">
    <property name="transparency" type="float"/>
    <property name="opaque" type="boolean"/>
    <property name="visible" type="boolean" setter="setVisibleAsBoolean" getter="isVisibleAsBoolean"/>
    <property name="layoutForResultVisible" type="boolean"/>
  </category>

  <category name="Colors">
    <property name="foregroundColor" type="fasttools.jtools.common.property.color.ColorSet" null="default"/>
    <property name="backgroundColor" type="fasttools.jtools.common.property.color.ColorSet" null="default"/>
  </category>

  <category name="Style">
    <property name="font" type="fasttools.jtools.common.property.font.FontSet" null="default" setter="setFontSet" getter="getFontSet"/>
    <property name="borderType" type="fasttools.jwui.common.property.JBorderType"/>
  </category>

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

  <category name="Misc">
    <property name="linkPins" type="fasttools.jwui.common.property.linkpins.LinkPinsSet" defaultAllowed="no" connectAllowed="no"/>
    <property name="blinking" type="boolean"/>
    <property name="blinkingForegroundColor" type="fasttools.jtools.common.property.color.ColorSet" null="none"/>
    <property name="blinkingBackgroundColor" type="fasttools.jtools.common.property.color.ColorSet" null="none"/>
  </category>

  <category name="SearchBarOptions">
    <property name="filterField" array="0..4" type="fasttools.jwui.components.generator.property.ObjectField"/>
    <property name="filterValue" array="0..4" bound="yes" type="java.lang.String"/>
    <property name="filterVisible" array="0..4" type="boolean"/>
    <property name="filterLabel" array="0..4" type="java.lang.String"/>
    <property name="searchButtonLabel" type="java.lang.String" setter="setGenerateButtonLabel" getter="getGenerateButtonLabel"/>
    <property name="userEntrySearchBar" type="boolean" setter="setGenerateBarVisible" getter="isGenerateBarVisible"/>
    <property name="cacheRefreshInterval" type="int"/>
  </category>

  <category name="GeneratorParameters">
    <property name="columnCount" type="int"/>
    <property name="rowCount" type="int"/>
    <property name="sortField" type="fasttools.jwui.components.generator.property.ObjectField"/>
    <property name="sortField2" type="fasttools.jwui.components.generator.property.ObjectField"/>
    <property name="sortDirection" type="fasttools.jwui.components.generator.property.SortDirection"/>
    <property name="resultDirection" type="fasttools.jwui.components.generator.property.ResultDirection"/>
    <property name="className" array="0..39" type="java.lang.String"/>
    <property name="symbolName" array="0..39" type="java.lang.String"/>
    <property name="keepGeneratedDisplays" type="boolean"/>
    <property name="keepPageTime" type="int"/>
    <property name="headerHeight" type="int"/>
    <property name="search" type="boolean" setter="setGenerate" getter="isGenerate" save="no" defaultAllowed="no" advanced="yes"/>
    <property name="generateOnEntry" type="boolean"/>
    <property name="generateOnEntryAlways" type="boolean"/>
    <property name="activateGeneratedDisplay" type="boolean"/>
    <property name="activateImmediately" type="boolean"/>
    <property name="prefixForGeneratedDisplays" type="java.lang.String"/>
    <property name="removeAll" type="boolean" save="no" defaultAllowed="no" advanced="yes"/>
    <property name="generateRemote" type="boolean" advanced="yes" enterprise="yes"/>
    <property name="ignoreNonExistingSignals" type="boolean" advanced="yes"/>
  </category>

  <category name="GeneratorResult">
    <property name="pageNumber" type="int" bound="yes"/>
    <property name="recordsFound" type="int" bound="yes" writeAllowed="no" defaultAllowed="no"/>
    <property name="pagesGenerated" type="int" bound="yes" writeAllowed="no" defaultAllowed="no"/>
    <property name="isGenerated" type="boolean" bound="yes" writeAllowed="no"/>/>
    <property name="pageName" type="java.lang.String" bound="yes" writeAllowed="no"/>
    <property name="nextPageName" type="java.lang.String" bound="yes" writeAllowed="no"/>
    <property name="previousPageName" type="java.lang.String" bound="yes" writeAllowed="no"/>
    <property name="templateName" type="java.lang.String" bound="yes" writeAllowed="no"/>
    <property name="usedTemplateName" type="java.lang.String" bound="yes" writeAllowed="no" setter="setTemplateName" getter="getTemplateName" deprecated="yes"/>
    <property name="generateLocation" type="java.lang.String" bound="yes" writeAllowed="no" enterprise="yes" />
  </category>

  <category name="NavigationBtnOptions">
    <property name="previousButtonLabel" type="java.lang.String"/>
    <property name="nextButtonLabel" type="java.lang.String"/>
    <property name="previousButtonVisible" type="boolean"/>
    <property name="nextButtonVisible" type="boolean"/>
    <property name="previousButton" type="boolean" save="no" defaultAllowed="no"/>
    <property name="nextButton" type="boolean" save="no" defaultAllowed="no"/>
    <property name="navigationTopPanelVisible" type="boolean"/>
    <property name="navigationBottomPanelVisible" type="boolean"/>
  </category>

  <category name="EnterpriseObjectLocations">
    <property name="objectSourceLocation" array="0..39" type="fasttools.jwui.enterprise.EnterpriseNode" null="none" enterprise="yes" advanced="yes"/>
  </category>

  <category name="Activation">
    <property name="layoutName" type="java.lang.String"/>
    <property name="frameName" type="java.lang.String"/>
  </category>

</componentType>