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

<!--
 * @(#)DataBar.xml
 *
 * Copyright: Yokogawa, All rights reserved.
 * YOKOGAWA PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 *
 * Author:    Shashikala
 *
 * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 *  Changes ....
 * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 *  Who When    Change  What
 * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 *  KLI Aug-16  e11581  Initial version
 *  HVS Mar-17  e11335  Update palette order
 *  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 Jun-20  e12272  Port to JViews 2017.2
 *
-->

<componentType name="dataBar"
               containedBy="JComponent"
               icon="ged_databar.png"
               description="dataBar"
               class="fasttools.jwui.ilv.graphic.DataBar"
               paletteOrder="85"
               html="yes">

  <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" description="This is the tooltip text"/>
  </category>

  <category name="Transformation">
    <property name="x" type="double" defaultAllowed="no" advanced="yes" getter="getXAsFloat" setter="setXAsFloat" html="noConnect"/>
    <property name="y" type="double" defaultAllowed="no" advanced="yes" getter="getYAsFloat" setter="setYAsFloat" 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"/>
  </category>

  <category name="Stroke">
    <property name="borderStyle" type="fasttools.jtools.common.property.stroke.StrokeSet" null="default"
              setter="setLineStroke" getter="getLineStroke"/>
    <property name="foregroundBorderStyle" type="fasttools.jtools.common.property.stroke.StrokeSet" null="default"/>
    <property name="borderColor" type="fasttools.jwui.common.property.paint.PaintSet" null="default"/>
    <property name="foregroundBorderColor" type="fasttools.jwui.common.property.paint.PaintSet" null="default"/>
  </category>

  <category name="Fill">
    <property name="fillOn" type="boolean"/>
    <property name="background" type="fasttools.jwui.common.property.paint.PaintSet" null="default" setter="setBackgroundColor" getter="getBackgroundColor"/>
    <property name="foregroundFillOn" type="boolean"/>
    <property name="foreground" type="fasttools.jwui.common.property.paint.PaintSet" null="default" setter="setForegroundColor" getter="getForegroundColor"/>
  </category>

  <category name="Value">
    <property name="value" type="double" defaultAllowed="no" setter="setValueAsDouble" getter="getValueAsDouble"/>
    <property name="highLimit" type="double" defaultAllowed="no"/>
    <property name="lowLimit" type="double" defaultAllowed="no"/>
  </category>

  <category name="DataBar">
    <property name="barType" type="fasttools.jwui.ilv.graphic.property.DataBarType" advanced="yes"/>
    <property name="growthDirection" type="fasttools.jwui.ilv.graphic.property.GrowthDirectionType" advanced="yes"/>
    <property name="referencePoint" type="fasttools.jwui.ilv.graphic.property.ReferencePointType" advanced="yes"/>
  </category>

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

</componentType>