From cee53b021632c95f1b4882664a31ca639a9b0700 Mon Sep 17 00:00:00 2001 From: Matt Windsor Date: Sun, 20 Mar 2011 16:38:51 +0000 Subject: Rewrite of server to use HttpCore example code; beginning of code reformat from GNU style to Java conventions. Code now includes Apache license code. --- doc/uk/org/ury/testrig/DemoMenu.html | 180 ++++++----------------------------- 1 file changed, 31 insertions(+), 149 deletions(-) (limited to 'doc/uk/org/ury/testrig/DemoMenu.html') diff --git a/doc/uk/org/ury/testrig/DemoMenu.html b/doc/uk/org/ury/testrig/DemoMenu.html index ac1a762..33b290c 100644 --- a/doc/uk/org/ury/testrig/DemoMenu.html +++ b/doc/uk/org/ury/testrig/DemoMenu.html @@ -2,12 +2,12 @@ - + DemoMenu - + @@ -76,7 +76,7 @@ function windowTitle() - SUMMARY: NESTED | FIELD | CONSTR | METHOD + SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD @@ -93,19 +93,15 @@ uk.org.ury.testrig Class DemoMenu
 java.lang.Object
-  extended by java.awt.Component
-      extended by java.awt.Container
-          extended by java.awt.Panel
-              extended by java.applet.Applet
-                  extended by javax.swing.JApplet
-                      extended by uk.org.ury.testrig.DemoMenu
+  extended by uk.org.ury.frontend.AbstractFrontendModule
+      extended by uk.org.ury.testrig.DemoMenu
 
-
All Implemented Interfaces:
java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible, javax.swing.RootPaneContainer
+
All Implemented Interfaces:
FrontendModule

-
public class DemoMenu
extends javax.swing.JApplet
+
public class DemoMenu
extends AbstractFrontendModule

@@ -116,57 +112,11 @@ Application frontend, for testing early-stage frontend code.

Author:
Matt Windsor
-
See Also:
Serialized Form
+

- - - - - - - -
-Nested Class Summary
- - - - - - - -
Nested classes/interfaces inherited from class java.awt.Component
java.awt.Component.BaselineResizeBehavior
-  - - - - - - -
-Field Summary
- - - - - - - -
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
@@ -194,14 +144,6 @@ Application frontend, for testing early-stage frontend code.  void -init() - -
-          Initialise the menu as an applet. - - - - void loadModule(java.lang.String module)
@@ -209,64 +151,19 @@ Application frontend, for testing early-stage frontend code. -static void -main(java.lang.String[] args) - -
-          Main method. - - -  void run()
          Run the demo menu, creating a user interface. - -  - - - - - - -
Methods inherited from class javax.swing.JApplet
getAccessibleContext, getContentPane, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, remove, repaint, setContentPane, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setTransferHandler, update
- - - - - - - -
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, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, remove, removeAll, removeContainerListener, removeNotify, setComponentZOrder, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusDownCycle, validate
- - - - - - + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, dispatchEvent, enable, enable, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, 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, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocusInWindow, reshape, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle + FrontendModulePanelrunFrontend(FrontendMaster master) + +
+          Run the demo menu in frontend mode.
  @@ -275,7 +172,7 @@ Application frontend, for testing early-stage frontend code. Methods inherited from class java.lang.Object -equals, getClass, hashCode, notify, notifyAll, wait, wait, wait +equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait   @@ -308,36 +205,6 @@ public DemoMenu() -

-main

-
-public static void main(java.lang.String[] args)
-
-
Main method. -

-

-
Parameters:
args - The command-line arguments to the program. These - will be ignored.
-
-
-
- -

-init

-
-public void init()
-
-
Initialise the menu as an applet. -

-

-
Overrides:
init in class java.applet.Applet
-
-
-
-
-
-
-

loadModule

@@ -360,6 +227,21 @@ public void run()
+
+ +

+runFrontend

+
+public FrontendModulePanel runFrontend(FrontendMaster master)
+
+
Run the demo menu in frontend mode. +

+

+
Parameters:
master - The FrontendMaster driving the frontend. +
Returns:
the frontend panel to insert into the + FrontendMaster.
+
+

@@ -412,7 +294,7 @@ public void run() - SUMMARY: NESTED | FIELD | CONSTR | METHOD + SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD -- cgit v1.2.3