|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--java.awt.Panel | +--java.applet.Applet | +--javax.swing.JApplet | +--infosapient.ui.InfoSapientServerApplet
Creation date: (04/03/01 1:53:45 PM)
Inner Class Summary | |
(package private) class |
InfoSapientServerApplet.actionListener
invoked when a component generates an ActionEvent. |
(package private) class |
InfoSapientServerApplet.windowhandler
|
Inner classes inherited from class javax.swing.JApplet |
javax.swing.JApplet.AccessibleJApplet |
Inner classes inherited from class java.awt.Component |
java.awt.Component.AWTTreeLock |
Field Summary | |
private byte[] |
buf
|
(package private) static int |
BUF_SIZ
|
private java.lang.String |
host
|
private java.io.BufferedInputStream |
is
|
private int |
iteration
|
private InfoSapientServerTablePanel |
ivjattribListPane
|
private javax.swing.JLabel |
ivjhostLabelBean
|
private javax.swing.JTextField |
ivjhostNameFld
|
private javax.swing.JPanel |
ivjJAppletContentPane
|
private javax.swing.JTextPane |
ivjJEditorPane1
|
private javax.swing.JLabel |
ivjJLabel1
|
private javax.swing.JLabel |
ivjJLabel2
|
private javax.swing.JLabel |
ivjJLabel3
|
private javax.swing.JPanel |
ivjJPanel1
|
private javax.swing.JScrollPane |
ivjJScrollPane1
|
private javax.swing.JTextField |
ivjkbNameFld
|
private javax.swing.JTextField |
ivjportNumberFld
|
private javax.swing.JButton |
ivjresetBtn
|
private javax.swing.JCheckBox |
ivjRunTime
|
private javax.swing.JLabel |
ivjSPLabel
|
private javax.swing.JButton |
ivjsubmitBtn
|
private java.lang.String |
kbName
|
private java.io.PrintStream |
os
|
private int |
PORT
|
private java.io.PrintWriter |
pw
|
private boolean |
running
|
private java.util.Properties |
runParameters
|
private java.net.Socket |
soc
|
private long |
start
|
private long |
stop
|
Fields inherited from class javax.swing.JApplet |
accessibleContext,
rootPane,
rootPaneCheckingEnabled |
Fields inherited from class java.applet.Applet |
serialVersionUID,
stub |
Fields inherited from class java.awt.Panel |
base,
nameCounter,
serialVersionUID |
Fields inherited from class java.awt.Container |
component,
containerListener,
containerSerializedDataVersion,
dispatcher,
layoutMgr,
maxSize,
ncomponents,
serialVersionUID |
Fields inherited from class java.awt.Component |
actionListenerK,
adjustmentListenerK,
appContext,
assert,
background,
BOTTOM_ALIGNMENT,
CENTER_ALIGNMENT,
changeSupport,
componentListener,
componentListenerK,
componentOrientation,
componentSerializedDataVersion,
containerListenerK,
cursor,
dropTarget,
enabled,
eventMask,
focusListener,
focusListenerK,
font,
foreground,
hasFocus,
height,
incRate,
inputMethodListener,
inputMethodListenerK,
isInc,
isPacked,
itemListenerK,
keyListener,
keyListenerK,
LEFT_ALIGNMENT,
locale,
LOCK,
minSize,
mouseListener,
mouseListenerK,
mouseMotionListener,
mouseMotionListenerK,
name,
nameExplicitlySet,
newEventsOnly,
ownedWindowK,
parent,
peer,
peerFont,
popups,
prefSize,
RIGHT_ALIGNMENT,
serialVersionUID,
textListenerK,
TOP_ALIGNMENT,
valid,
visible,
width,
windowListenerK,
x,
y |
Constructor Summary | |
InfoSapientServerApplet()
|
Method Summary | |
private boolean |
connect()
Attempt to connect this applet to the rules server, given the host and port number. |
private boolean |
disconnect()
Disconnect from the rules server |
private void |
doReset()
Insert the method's description here. |
private void |
doSubmit()
Validate all input and submit it to the specified host at specified port. |
private void |
execute()
Connect to the specified rule server, write runParameters to the server, wait for response, close when response received. |
java.lang.String |
getAppletInfo()
Gets the applet information. |
private InfoSapientServerTablePanel |
getattribListPane()
Return the attribListPane property value. |
private javax.swing.JLabel |
gethostLabelBean()
Return the hostLabelBean property value. |
private javax.swing.JTextField |
gethostNameFld()
Return the hostNameFld property value. |
private javax.swing.JPanel |
getJAppletContentPane()
Return the JAppletContentPane property value. |
private javax.swing.JLabel |
getJLabel1()
Return the JLabel1 property value. |
private javax.swing.JLabel |
getJLabel2()
Return the JLabel2 property value. |
private javax.swing.JLabel |
getJLabel3()
Return the JLabel3 property value. |
private javax.swing.JPanel |
getJPanel1()
Return the JPanel1 property value. |
private javax.swing.JScrollPane |
getJScrollPane1()
Return the JScrollPane1 property value. |
private javax.swing.JTextField |
getkbNameFld()
Return the JTextField1 property value. |
private javax.swing.JTextField |
getportNumberFld()
Return the portNumberFld property value. |
private java.io.StringReader |
getReader(java.lang.String s)
Insert the method's description here. |
private javax.swing.JButton |
getresetBtn()
Return the resetBtn property value. |
private javax.swing.JCheckBox |
getRunTime()
Return the RunTime property value. |
private javax.swing.JLabel |
getSPLabel()
Return the SPLabel property value. |
private javax.swing.JButton |
getsubmitBtn()
Return the submitBtn property value. |
private javax.swing.JTextPane |
getTextPane()
Return the JEditorPane1 property value. |
private java.io.StringWriter |
getWriter()
Insert the method's description here. |
private void |
handleErrorMessage(java.lang.String msg)
Insert the method's description here. |
private void |
handleException(java.lang.Throwable exception)
Called whenever the part throws an exception. |
void |
init()
Handle the Applet init method. |
static void |
main(java.lang.String[] args)
main entrypoint - starts the part when it is run as an application |
private void |
writeParameters()
Insert the method's description here. |
Methods inherited from class javax.swing.JApplet |
addImpl,
createRootPane,
createRootPaneException,
getAccessibleContext,
getContentPane,
getGlassPane,
getJMenuBar,
getLayeredPane,
getRootPane,
isRootPaneCheckingEnabled,
paramString,
processKeyEvent,
remove,
setContentPane,
setGlassPane,
setJMenuBar,
setLayeredPane,
setLayout,
setRootPane,
setRootPaneCheckingEnabled,
update |
Methods inherited from class java.applet.Applet |
destroy,
getAppletContext,
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 |
|
Methods inherited from class java.awt.Container |
add,
add,
add,
add,
add,
addContainerListener,
applyOrientation,
countComponents,
deliverEvent,
dispatchEventImpl,
dispatchEventToSelf,
doLayout,
eventEnabled,
findComponentAt,
findComponentAt,
getAlignmentX,
getAlignmentY,
getComponent,
getComponentAt,
getComponentAt,
getComponentCount,
getComponents_NoClientCode,
getComponents,
getCursorTarget,
getInsets,
getLayout,
getMaximumSize,
getMinimumSize,
getMouseEventTarget,
getPreferredSize,
getWindow,
initIDs,
insets,
invalidate,
invalidateTree,
isAncestorOf,
layout,
lightweightPrint,
list,
list,
locate,
minimumSize,
nextFocus,
paint,
paintComponents,
postProcessKeyEvent,
postsOldMouseEvents,
preferredSize,
preProcessKeyEvent,
print,
printComponents,
printOneComponent,
processContainerEvent,
processEvent,
proxyEnableEvents,
proxyRequestFocus,
readObject,
remove,
removeAll,
removeContainerListener,
removeNotify,
setCursor,
setFocusOwner,
setFont,
transferFocus,
updateCursor,
validate,
validateTree,
writeObject |
Methods inherited from class java.awt.Component |
action,
add,
addComponentListener,
addFocusListener,
addInputMethodListener,
addKeyListener,
addMouseListener,
addMouseMotionListener,
addPropertyChangeListener,
addPropertyChangeListener,
areInputMethodsEnabled,
bounds,
checkImage,
checkImage,
coalesceEvents,
contains,
contains,
createImage,
createImage,
disable,
disableEvents,
dispatchEvent,
enable,
enable,
enableEvents,
enableInputMethods,
firePropertyChange,
getBackground,
getBounds,
getBounds,
getColorModel,
getComponentOrientation,
getCursor,
getDropTarget,
getFont_NoClientCode,
getFont,
getFontMetrics,
getForeground,
getGraphics,
getHeight,
getInputContext,
getInputMethodRequests,
getIntrinsicCursor,
getLocation,
getLocation,
getLocationOnScreen,
getName,
getNativeContainer,
getParent_NoClientCode,
getParent,
getPeer,
getSize,
getSize,
getToolkit,
getToolkitImpl,
getTreeLock,
getWidth,
getWindowForObject,
getX,
getY,
gotFocus,
handleEvent,
hasFocus,
hide,
imageUpdate,
inside,
isDisplayable,
isDoubleBuffered,
isEnabled,
isEnabledImpl,
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,
processMouseEvent,
processMouseMotionEvent,
remove,
removeComponentListener,
removeFocusListener,
removeInputMethodListener,
removeKeyListener,
removeMouseListener,
removeMouseMotionListener,
removePropertyChangeListener,
removePropertyChangeListener,
repaint,
repaint,
repaint,
repaint,
requestFocus,
reshape,
setBackground,
setBounds,
setBounds,
setComponentOrientation,
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,
registerNatives,
wait,
wait,
wait |
Field Detail |
static final int BUF_SIZ
private javax.swing.JPanel ivjJAppletContentPane
private InfoSapientServerTablePanel ivjattribListPane
private javax.swing.JLabel ivjhostLabelBean
private javax.swing.JLabel ivjJLabel1
private javax.swing.JPanel ivjJPanel1
private javax.swing.JButton ivjsubmitBtn
private javax.swing.JScrollPane ivjJScrollPane1
private javax.swing.JTextField ivjhostNameFld
private javax.swing.JLabel ivjJLabel2
private javax.swing.JTextField ivjportNumberFld
private javax.swing.JButton ivjresetBtn
private javax.swing.JLabel ivjSPLabel
private javax.swing.JTextPane ivjJEditorPane1
private javax.swing.JLabel ivjJLabel3
private javax.swing.JTextField ivjkbNameFld
private java.net.Socket soc
private java.lang.String host
private int PORT
private boolean running
private java.util.Properties runParameters
private java.lang.String kbName
private javax.swing.JCheckBox ivjRunTime
private java.io.BufferedInputStream is
private java.io.PrintStream os
private java.io.PrintWriter pw
private byte[] buf
private int iteration
private long start
private long stop
Constructor Detail |
public InfoSapientServerApplet()
Method Detail |
private boolean connect()
private boolean disconnect()
private void doReset()
private void doSubmit()
private void execute()
public java.lang.String getAppletInfo()
private InfoSapientServerTablePanel getattribListPane()
private javax.swing.JLabel gethostLabelBean()
private javax.swing.JTextField gethostNameFld()
private javax.swing.JPanel getJAppletContentPane()
private javax.swing.JLabel getJLabel1()
private javax.swing.JLabel getJLabel2()
private javax.swing.JLabel getJLabel3()
private javax.swing.JPanel getJPanel1()
private javax.swing.JScrollPane getJScrollPane1()
private javax.swing.JTextField getkbNameFld()
private javax.swing.JTextField getportNumberFld()
private java.io.StringReader getReader(java.lang.String s)
s
- java.lang.Stringprivate javax.swing.JButton getresetBtn()
private javax.swing.JCheckBox getRunTime()
private javax.swing.JLabel getSPLabel()
private javax.swing.JButton getsubmitBtn()
private javax.swing.JTextPane getTextPane()
private java.io.StringWriter getWriter()
private void handleErrorMessage(java.lang.String msg)
msg
- java.lang.Stringprivate void handleException(java.lang.Throwable exception)
exception
- java.lang.Throwablepublic void init()
public static void main(java.lang.String[] args)
args
- java.lang.String[]private void writeParameters() throws java.io.IOException
|
License to use this program is provided under the TERMS OF THE COMMON PUBLIC LICENSE 0.5. ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |