sdlip.examples.demo
Class DemoClient

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--java.awt.Panel
                    |
                    +--java.applet.Applet
                          |
                          +--sdlip.examples.demo.DemoClient

public class DemoClient
extends java.applet.Applet

A sample applet-based SDLIP client.

See Also:
Serialized Form

Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Constructor Summary
DemoClient()
           
 
Method Summary
 java.lang.String addServer(sdlip.examples.demo.JSObject win, java.lang.String label, java.lang.String host)
           
 void addSource()
           
 void alert(java.lang.String msg)
           
 java.lang.String attributeChoice(java.lang.String hash)
           
 java.lang.String cancelRequest(sdlip.examples.demo.JSObject win, java.lang.String url, java.lang.String SID, java.lang.String reqID)
           
 java.lang.String clickNode(java.lang.String nodeHash)
           
 boolean confirm(java.lang.String msg)
           
 java.lang.String discardResult(java.lang.String hash)
           
 java.lang.String discoverMetadata(sdlip.examples.demo.JSObject win, java.lang.String url)
           
 void displaySearchForm(java.lang.String collHash)
           
 java.lang.String extendStateTimeout(sdlip.examples.demo.JSObject win, java.lang.String url, java.lang.String SID, java.lang.String addTime)
           
 java.lang.Object findObject(java.lang.String hash)
           
 java.lang.Object findObjectFrom(int hash, TreeNode n)
           
 java.lang.String getDocs(sdlip.examples.demo.JSObject win, java.lang.String url, java.lang.String sid, java.lang.String reqID, java.lang.String docsToGet)
           
 java.lang.String getFrameContent(java.lang.String name)
           
 java.lang.String getSessionInfo(sdlip.examples.demo.JSObject win, java.lang.String url, java.lang.String SID)
           
 java.lang.String getSID()
           
 void init()
           
 java.lang.String makeAttributeChoice(java.lang.String hash, sdlip.examples.demo.JSObject form)
           
 java.lang.String nextResultItem(java.lang.String hash, java.lang.String num)
           
 java.lang.String retrieveMoreAttributes(java.lang.String hash, sdlip.examples.demo.JSObject form)
           
 java.lang.String searchCollection(java.lang.String hash, sdlip.examples.demo.JSObject form)
           
 java.lang.String setItemsPerPage(java.lang.String hash, java.lang.String value)
           
 void showResult(java.lang.String hash)
           
 java.lang.String updateTree(sdlip.examples.demo.JSObject win)
           
 
Methods inherited from class java.applet.Applet
destroy, getAppletContext, getAppletInfo, getAudioClip, getAudioClip, getCodeBase, getDocumentBase, getImage, getImage, getLocale, getParameter, getParameterInfo, isActive, newAudioClip, play, play, resize, resize, setStub, showStatus, start, stop
 
Methods inherited from class java.awt.Panel
addNotify
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getInsets, getLayout, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, layout, list, list, locate, minimumSize, paint, paintComponents, paramString, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setFont, setLayout, update, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addPropertyChangeListener, addPropertyChangeListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentOrientation, getCursor, getDropTarget, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getInputContext, getInputMethodRequests, getLocation, getLocation, getLocationOnScreen, getName, getParent, getPeer, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isDisplayable, isDoubleBuffered, isEnabled, isFocusTraversable, 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, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, remove, removeComponentListener, removeFocusListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, reshape, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setForeground, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DemoClient

public DemoClient()
Method Detail

init

public void init()
Overrides:
init in class java.applet.Applet

confirm

public boolean confirm(java.lang.String msg)

alert

public void alert(java.lang.String msg)

findObject

public java.lang.Object findObject(java.lang.String hash)

findObjectFrom

public java.lang.Object findObjectFrom(int hash,
                                       TreeNode n)

getFrameContent

public java.lang.String getFrameContent(java.lang.String name)

getSID

public java.lang.String getSID()

addSource

public void addSource()

clickNode

public java.lang.String clickNode(java.lang.String nodeHash)

addServer

public java.lang.String addServer(sdlip.examples.demo.JSObject win,
                                  java.lang.String label,
                                  java.lang.String host)

updateTree

public java.lang.String updateTree(sdlip.examples.demo.JSObject win)

displaySearchForm

public void displaySearchForm(java.lang.String collHash)

searchCollection

public java.lang.String searchCollection(java.lang.String hash,
                                         sdlip.examples.demo.JSObject form)

retrieveMoreAttributes

public java.lang.String retrieveMoreAttributes(java.lang.String hash,
                                               sdlip.examples.demo.JSObject form)

makeAttributeChoice

public java.lang.String makeAttributeChoice(java.lang.String hash,
                                            sdlip.examples.demo.JSObject form)

discardResult

public java.lang.String discardResult(java.lang.String hash)

attributeChoice

public java.lang.String attributeChoice(java.lang.String hash)

nextResultItem

public java.lang.String nextResultItem(java.lang.String hash,
                                       java.lang.String num)

showResult

public void showResult(java.lang.String hash)

setItemsPerPage

public java.lang.String setItemsPerPage(java.lang.String hash,
                                        java.lang.String value)

getDocs

public java.lang.String getDocs(sdlip.examples.demo.JSObject win,
                                java.lang.String url,
                                java.lang.String sid,
                                java.lang.String reqID,
                                java.lang.String docsToGet)

discoverMetadata

public java.lang.String discoverMetadata(sdlip.examples.demo.JSObject win,
                                         java.lang.String url)

getSessionInfo

public java.lang.String getSessionInfo(sdlip.examples.demo.JSObject win,
                                       java.lang.String url,
                                       java.lang.String SID)

extendStateTimeout

public java.lang.String extendStateTimeout(sdlip.examples.demo.JSObject win,
                                           java.lang.String url,
                                           java.lang.String SID,
                                           java.lang.String addTime)

cancelRequest

public java.lang.String cancelRequest(sdlip.examples.demo.JSObject win,
                                      java.lang.String url,
                                      java.lang.String SID,
                                      java.lang.String reqID)