wt.clients.util.http
Class DownloadPrimaryContentApplet

java.lang.Object
  extended byjava.awt.Component
      extended byjava.awt.Container
          extended byjava.awt.Panel
              extended byjava.applet.Applet
                  extended bywt.clients.util.http.DownloadPrimaryContentApplet
All Implemented Interfaces:
Accessible, ImageObserver, MenuContainer, Runnable, Serializable

public class DownloadPrimaryContentApplet
extends Applet
implements Runnable

Applet for downloading primary content from HTML user interface accessing the local file handling functionality from Java. This applet accepts several initialization parameters. All params are optional.

 <param	name="oid"             value="VR:wt.doc.WTDocument:70315">
<param name="url" value="http:\\xxx">
<param name="bgcolor" value=decimal integer value of the desired background color, default is 14934992 This is a decimal integer giving the red, green, and blue components where the red component is in bits 16-23 of the argument, the green component is in bits 8-15 of the argument, and the blue component is in bits 0-7. The value zero indicates no contribution from the primary color component. Example: for the hex RGB color #E3E3CF, the bgcolor value would be "14934992". For #0000FF, bgcolor="255".


Supported API:false

Extendable:false

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class java.applet.Applet
Applet.AccessibleApplet
 
Nested classes inherited from class java.awt.Panel
Panel.AccessibleAWTPanel
 
Nested classes inherited from class java.awt.Container
Container.AccessibleAWTContainer
 
Nested classes inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy
 
Field Summary
private  ThreadGroup contextGroup
          Deprecated.  
private static boolean DEBUG
          Deprecated.  
private  String downloadOpType
          Deprecated.  
private  FileAccess fileAccess
          Deprecated.  
private static Object initSync
          Deprecated.  
(package private)  FormatContentHolder myObject
          Deprecated.  
private  String openInApp
          Deprecated.  
private  boolean remember
          Deprecated.  
private static ResourceBundle resources
          Deprecated.  
private static String RESOURCES
          Deprecated.  
private  String skipDownload
          Deprecated.  
private  Thread workerThread
          Deprecated.  
private  String workspacePath
          Deprecated.  
 
Fields inherited from class java.applet.Applet
 
Fields inherited from class java.awt.Panel
 
Fields inherited from class java.awt.Container
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
DownloadPrimaryContentApplet()
          Deprecated.  
 
Method Summary
 String createValidDefaultPath(String path)
          Deprecated.  
 void destroy()
          Deprecated.  
private  WTContext getContext()
          Deprecated.  
private  FileAccess getFileAccess()
          Deprecated.  
private  String getParameter(String paramName, String defaultParamValue)
          Deprecated.  
 Applet getParentApplet()
          Deprecated.  
 Frame getParentFrame()
          Deprecated.  
private  void getTargetObject()
          Deprecated.  
private  URL getUrl()
          Deprecated.  
 void init()
          Deprecated.  
 void initiateDownload()
          Deprecated.  
private  void initResources()
          Deprecated.  
 boolean isDirectory(String path)
          Deprecated.  
 void run()
          Deprecated.  
private  void showMessageDialog(String message)
          Deprecated.  
 void start()
          Deprecated.  
 void stop()
          Deprecated.  
 
Methods inherited from class java.applet.Applet
getAccessibleContext, getAppletContext, getAppletInfo, getAudioClip, getAudioClip, getCodeBase, getDocumentBase, getImage, getImage, getLocale, getParameter, getParameterInfo, isActive, newAudioClip, play, play, resize, resize, setStub, showStatus
 
Methods inherited from class java.awt.Panel
addNotify
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, paramString, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFont, setLayout, transferFocusBackward, transferFocusDownCycle, update, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

myObject

FormatContentHolder myObject
Deprecated. 

initSync

private static Object initSync
Deprecated. 

RESOURCES

private static String RESOURCES
Deprecated. 

resources

private static ResourceBundle resources
Deprecated. 

contextGroup

private ThreadGroup contextGroup
Deprecated. 

remember

private boolean remember
Deprecated. 

openInApp

private String openInApp
Deprecated. 

skipDownload

private String skipDownload
Deprecated. 

workspacePath

private String workspacePath
Deprecated. 

downloadOpType

private String downloadOpType
Deprecated. 

DEBUG

private static boolean DEBUG
Deprecated. 

workerThread

private Thread workerThread
Deprecated. 

fileAccess

private FileAccess fileAccess
Deprecated. 
Constructor Detail

DownloadPrimaryContentApplet

public DownloadPrimaryContentApplet()
Deprecated. 
Method Detail

getParentApplet

public Applet getParentApplet()
Deprecated. 

getParentFrame

public Frame getParentFrame()
Deprecated. 

getTargetObject

private void getTargetObject()
Deprecated. 

getUrl

private URL getUrl()
Deprecated. 

init

public void init()
Deprecated. 

run

public void run()
Deprecated. 
Specified by:
run in interface Runnable

initiateDownload

public void initiateDownload()
Deprecated. 

showMessageDialog

private void showMessageDialog(String message)
Deprecated. 

initResources

private void initResources()
Deprecated. 

getParameter

private String getParameter(String paramName,
                            String defaultParamValue)
Deprecated. 

getContext

private WTContext getContext()
Deprecated. 

start

public void start()
Deprecated. 

stop

public void stop()
Deprecated. 

destroy

public void destroy()
Deprecated. 

getFileAccess

private FileAccess getFileAccess()
Deprecated. 

createValidDefaultPath

public String createValidDefaultPath(String path)
Deprecated. 

isDirectory

public boolean isDirectory(String path)
Deprecated.