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

<!--
 * @(#)CircularScale.xml
 *
 * Copyright: Yokogawa, All rights reserved.
 * YOKOGAWA PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 *
 * Author:    C. Horevoorts
 *
 * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 *  Changes ....
 * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 *  Who When    Change  What
 * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 *  BNL Aug-10  e10330  Add localization for component type tooltips
 *  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
 *  HVS Jun-20  e12272  Port to JViews 2017.2
 *
-->

<componentType name="circularScale"
  icon="stock_draw-circular-scale-16.png"
  description="CircularScale"
  class="fasttools.jwui.ilv.graphic.ExtendedZoomingCircularScale"
  makeInteractor="fasttools.jwui.ilv.interactor.MakeZoomingCircularScaleInteractor"
  paletteOrder="60">

  <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" html="no"/>
  </category>

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

  <category name="Values">
    <property name="maximum" type="float"/>
    <property name="minimum" type="float"/>
    <property name="majorTickSpacing" type="float" triggers="minorTickSpacing"/>
    <property name="minorTickSpacing" type="float"/>
    <property name="format" type="java.lang.String" setter="setFormatString" getter="getFormatString"/>
    <property name="label" type="java.lang.String" localized="yes"/>
  </category>

  <category name="Arc">
    <property name="startAngle" type="float"/>
    <property name="extentAngle" type="float"/>
  </category>

  <category name="Style">
    <property name="antialiasing" type="boolean" advanced="yes" html="no"/>
    <property name="paintLabels" type="boolean" advanced="yes"/>
    <property name="paintTicks" type="boolean" advanced="yes"/>
    <property name="inverted" type="boolean"/>
    <property name="labelsInside" type="boolean" setter="setLabelsInside" getter="getLabelsInside" advanced="yes"/>
    <property name="font" type="fasttools.jtools.common.property.font.FontSet" null="default" setter="setFontSet" getter="getFontSet"/>
    <property name="color" type="fasttools.jtools.common.property.color.ColorSet" null="default" setter="setForegroundColor" getter="getForegroundColor"/>
  </category>

  <category name="Transformation">
    <property name="x" type="double" defaultAllowed="no" advanced="yes" html="noConnect"/>
    <property name="y" type="double" defaultAllowed="no" 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"/>
  </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"/>
    <property name="blinkingColor" type="fasttools.jtools.common.property.color.ColorSet" null="none" advanced="yes" html="no"/>
  </category>
</componentType>