|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | 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 | +--com.ondelette.servlet.webforum.SwingForumApplet
Class SwingForumApplet To do: 1) Automatically update the message buffer to new messages. Easy. 2) Allow the user to retrieve older messages. Easy.
Nested Class Summary | |
class |
SwingForumApplet.NoImageHTMLFactory
A factory to build views for html. |
Field Summary | |
protected com.ondelette.servlet.webforum.SwingForumApplet.AppletLocale |
mAppletLocale
Applet locale for i18n |
Fields inherited from class javax.swing.JApplet |
accessibleContext, rootPane, rootPaneCheckingEnabled |
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface com.ondelette.servlet.webforum.ParameterNames |
ADDUSER, AUTHORPARAM, CHANGEUSER, CONFIRMEDDELETEMESSAGEPARAM, DELETEMESSAGEPARAM, DELETEUSER, DISPLAYUSER, DISPLAYUSERLIST, EMAILPARAM, FORUMFILEPARAM, LASTMESSAGES, LINKTITLEPARAM, LOGINPARAM, LOGOUTPARAM, MESSAGEIDPARAM, MESSAGEPARAM, NEWUSEREMAIL, NEWUSERLEVEL, NEWUSERNAME, NEWUSERPASSWORD, NEWUSERPASSWORD2, OLDUSERNAME, OPTURLPARAM, PAGEPARAM, PASSWORDPARAM, RESETPARAM, SHOWPARAM, SUBJECTPARAM, SUBMITFORMNAME, SUBMITMESSAGEPARAM, SUBSCRIBEUSER, USERFILEPARAM, USERPARAM |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
SwingForumApplet()
|
Method Summary | |
void |
destroy()
|
com.ondelette.servlet.webforum.SwingForumApplet.MessageHolder |
getMessageHolder()
Gets the messageHolder attribute of the SwingForumApplet object |
void |
gotTree(javax.swing.tree.TreeModel tree)
Ok, got the tree of messages |
void |
gotValidUser(User u)
|
void |
init()
init the applet |
static void |
main(java.lang.String[] arg)
The main program for the SwingForumApplet class |
void |
postForm(MessageReference mr)
|
void |
selected(MessageReference mr,
Message m)
|
void |
setEnabled(boolean b)
Sets the enabled attribute of the SwingForumApplet object |
void |
showImage(java.net.URL url)
|
void |
showPage(java.net.URL url)
|
void |
start()
sta the applet |
void |
stop()
|
Methods inherited from class javax.swing.JApplet |
addImpl, createRootPane, getAccessibleContext, getContentPane, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, isRootPaneCheckingEnabled, paramString, remove, setContentPane, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, update |
Methods inherited from class java.applet.Applet |
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, 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, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, removeAll, removeContainerListener, removeNotify, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFont, transferFocusBackward, transferFocusDownCycle, 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, 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 |
protected com.ondelette.servlet.webforum.SwingForumApplet.AppletLocale mAppletLocale
Constructor Detail |
public SwingForumApplet()
Method Detail |
public static void main(java.lang.String[] arg)
arg
- The command line argumentspublic void setEnabled(boolean b)
setEnabled
in class java.awt.Component
b
- The new enabled valuepublic com.ondelette.servlet.webforum.SwingForumApplet.MessageHolder getMessageHolder()
public void init()
init
in class java.applet.Applet
public void start()
start
in class java.applet.Applet
public void gotTree(javax.swing.tree.TreeModel tree)
tree
- public void selected(MessageReference mr, Message m)
mr
- m
- public void stop()
stop
in class java.applet.Applet
public void destroy()
destroy
in class java.applet.Applet
public void postForm(MessageReference mr)
mr
- public void showPage(java.net.URL url)
url
- public void showImage(java.net.URL url)
url
- public void gotValidUser(User u)
u
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |