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

<!--
 * @(#)PDFViewer.xml
 *
 * Copyright: Yokogawa, All rights reserved.
 * YOKOGAWA PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 *
 * Author:    M. Brentnall
 *
 * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 *  Changes ....
 * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 *  Who When    Change  What
 * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 *  BNL Jan-12  e10555  First version documented
 *  BNL Feb-12  e10555  Add Icon and Palette Order
 *  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="PDFView"
               containedBy="JComponent"
               icon="stock_new-text-16.png"
               description="PDFViewer"
               class="fasttools.jwui.components.pdfviewer.PDFViewer"
               paletteOrder="403">

  <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" html="no"/>
    <property name="opaque" type="boolean" advanced="yes" html="no"/>
    <property name="visible" type="boolean" setter="setVisibleAsBoolean" getter="isVisibleAsBoolean"/>
  </category>

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

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

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

  <category name="Navigation">
    <property name="first" type="boolean" bound="no" advanced="yes" html="no"/>
    <property name="prev" type="boolean" bound="no" advanced="yes" html="no"/>
    <property name="next" type="boolean" bound="no" advanced="yes" html="no"/>
    <property name="last" type="boolean" bound="no" advanced="yes" html="no"/>
    <property name="page" type="int" bound="yes" advanced="yes" html="no"/>
    <property name="pages" type="int" bound="yes" writeAllowed="no" save="no" defaultAllowed="no" advanced="yes" html="no"/>
  </category>

  <category name="Printing">
    <property name="pagesetup" type="boolean" bound="no" advanced="yes" html="no"/>
    <property name="print" type="boolean" bound="no" advanced="yes" html="no"/>
  </category>

  <category name="Configuration">
    <property name="file" type="java.lang.String" bound="no"/>
    <property name="thumbs" type="boolean" bound="no" html="no"/>
    <property name="contents" type="boolean" bound="no" html="no"/>
    <property name="navigate" type="boolean" bound="no" html="no"/>
  </category>
</componentType>