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

<!--
 * @(#)JDateTimeField.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
 *  HVS Nov-10  e10362  Add set(milli)SecondsVisible() and is(milli)SecondsVisible()
 *  HVS Mar-11  e10468  Switchable visibility of time and/or date
 *  HVS Apr-12  e10657  Custom date/time format strings
 *  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
 *  VNU Jul-20  e12145  BK 134921:Remove background color
 *
-->

<componentType name="dateTimeField"
  containedBy="JComponent"
  icon="stock_form-date-field-16.png"
  description="DateTime"
  class="fasttools.jwui.ilv.graphic.ExtendedJDateTimePanel"
  paletteOrder="137">

  <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"/>
  </category>

  <category name="Colors">
    <property name="foregroundColor" 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"/>
  </category>

  <category name="Value">
    <property name="value" type="double" bound="yes" setter="setValueAsDouble" getter="getValueAsDouble"/>
    <property name="enabled" type="boolean"/>
    <property name="editable" type="boolean"/>
    <property name="specialTimeVisible" type="boolean" advanced="yes"/>
    <property name="secondsVisible" type="boolean" advanced="yes"/>
    <property name="milliSecondsVisible" type="boolean" advanced="yes"/>
    <property name="timeVisible" type="boolean"/>
    <property name="dateVisible" type="boolean"/>
    <property name="customTimeFormat" type="java.lang.String" html="no"/>
    <property name="customDateFormat" type="java.lang.String" 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="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="blinkingForegroundColor" type="fasttools.jtools.common.property.color.ColorSet" null="none" advanced="yes"/>
    <property name="blinkingBackgroundColor" type="fasttools.jtools.common.property.color.ColorSet" null="none" advanced="yes"/>
  </category>
</componentType>