Package wt.clients.dndMicroApplet

This package implements an applet whose intent is to supply targeted drag-and-drop functionality for use within HTML pages whose content is primarily HTML (in terms of screen real-estate and user focus), not Java.  The applet class is wt.clients.dndMicroApplet.DnDMicroApplet and is deployed as a signed JAR, <Windchill codebase>/wt/clients/dndMicroApplet/DnDApplet.jar.

See:
          Description

Interface Summary
DnDMicroAppletConstants Defines all applet parameter name used by DnDMicroApplet.
HTTPParameterConstants Defines of all HTTP parameters generated by DnDMicroApplet.
 

Class Summary
CallJSFunctionOnDblClick Simple mouse listener which calls a given JavaScript function with a given set of args upon a double-click.
ContentDownloader Runnable which downloads from a specified URL to a specified file and uses a specified applet to update the user as to progress of the operation.
DelegateJComponent Simple JComponent who's only purpose is to provide Swing tool tips to DnDApplet, which is a simple Applet with no components unless a tool tip is specified.
DnDMicroApplet Simple applet capable of drawing icons and serving as a drag source of file and string data and as a drop target of file and string data.
DragListener Handles most all aspects of drag initiation and management for DnDMicroApplet.
DropListener Drop target listener for DnDMicroApplet capable of handling file and string/text drops.
FileOperation Privileged file operation class for use by this package (only)
ShowDocOnDblClick Simple mouse listener which translates any double click on the source component into a showDocument() against a given applet and URL.
SimpleDragGestureRecognizer Extends MouseDragGestureRecognizer to make it more responsive to mouse drags.
 

Package wt.clients.dndMicroApplet Description

This package implements an applet whose intent is to supply targeted drag-and-drop functionality for use within HTML pages whose content is primarily HTML (in terms of screen real-estate and user focus), not Java.  The applet class is wt.clients.dndMicroApplet.DnDMicroApplet and is deployed as a signed JAR, <Windchill codebase>/wt/clients/dndMicroApplet/DnDApplet.jar.

The applet is implemented as a "micro" applet, which is to say that the applet is an extremely small, self-contained download.  The small size and targeted behavior of the applet allow it to download and launch extremely quickly.  Unfortunately, the download of the Java Runtime Environment is still quite noticeable if (and only if) the user in question does not yet have it installed.  Also, the first usage of the Java Plug In within a given browser session is accompanied by some delay.  Finally, the first usage of a PTC-signed JAR will force a grant/deny privilege dialog.  Overall, however, every reasonable effort has been taken to ensure that the applet download and launch will inconvenience the user as little as possible.

The capabilities and behaviors of the applet are described at length in DnDMicroAppletConstants and HTTPParameterConstants.  The former describes the applet inputs, i.e. the supported applet parameters, while the latter describes the HTTP-request parameters that are used to communicate output data.  In a nutshell, however, the applet provides the following:

Additional technical considerations: