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. --- .../org/ury/frontend/AbstractFrontendModule.html | 157 +----- doc/uk/org/ury/frontend/FrontendApplet.html | 543 +++++++++++++++++++++ doc/uk/org/ury/frontend/FrontendBanner.html | 8 +- doc/uk/org/ury/frontend/FrontendControlPanel.html | 4 +- doc/uk/org/ury/frontend/FrontendError.html | 12 +- doc/uk/org/ury/frontend/FrontendFrame.html | 85 +++- doc/uk/org/ury/frontend/FrontendMaster.html | 65 ++- doc/uk/org/ury/frontend/FrontendModule.html | 6 +- doc/uk/org/ury/frontend/FrontendModulePanel.html | 17 +- doc/uk/org/ury/frontend/FrontendPanel.html | 21 +- doc/uk/org/ury/frontend/FrontendSubBanner.html | 4 +- doc/uk/org/ury/frontend/HintField.html | 4 +- .../frontend/class-use/AbstractFrontendModule.html | 35 +- .../org/ury/frontend/class-use/FrontendApplet.html | 181 +++++++ .../org/ury/frontend/class-use/FrontendBanner.html | 4 +- .../frontend/class-use/FrontendControlPanel.html | 17 +- .../org/ury/frontend/class-use/FrontendError.html | 4 +- .../org/ury/frontend/class-use/FrontendFrame.html | 4 +- .../org/ury/frontend/class-use/FrontendMaster.html | 26 +- .../org/ury/frontend/class-use/FrontendModule.html | 35 +- .../frontend/class-use/FrontendModulePanel.html | 55 +-- .../org/ury/frontend/class-use/FrontendPanel.html | 22 +- .../ury/frontend/class-use/FrontendSubBanner.html | 4 +- doc/uk/org/ury/frontend/class-use/HintField.html | 4 +- .../frontend/exceptions/LoadFailureException.html | 268 ++++++++++ .../exceptions/UICreationFailureException.html | 8 +- .../exceptions/class-use/LoadFailureException.html | 226 +++++++++ .../class-use/UICreationFailureException.html | 4 +- .../org/ury/frontend/exceptions/package-frame.html | 6 +- .../ury/frontend/exceptions/package-summary.html | 8 +- .../org/ury/frontend/exceptions/package-tree.html | 6 +- .../org/ury/frontend/exceptions/package-use.html | 10 +- doc/uk/org/ury/frontend/package-frame.html | 6 +- doc/uk/org/ury/frontend/package-summary.html | 10 +- doc/uk/org/ury/frontend/package-tree.html | 8 +- doc/uk/org/ury/frontend/package-use.html | 23 +- 36 files changed, 1610 insertions(+), 290 deletions(-) create mode 100644 doc/uk/org/ury/frontend/FrontendApplet.html create mode 100644 doc/uk/org/ury/frontend/class-use/FrontendApplet.html create mode 100644 doc/uk/org/ury/frontend/exceptions/LoadFailureException.html create mode 100644 doc/uk/org/ury/frontend/exceptions/class-use/LoadFailureException.html (limited to 'doc/uk/org/ury/frontend') diff --git a/doc/uk/org/ury/frontend/AbstractFrontendModule.html b/doc/uk/org/ury/frontend/AbstractFrontendModule.html index ed3e866..ecac485 100644 --- a/doc/uk/org/ury/frontend/AbstractFrontendModule.html +++ b/doc/uk/org/ury/frontend/AbstractFrontendModule.html @@ -2,12 +2,12 @@ - + AbstractFrontendModule - + @@ -56,7 +56,7 @@ function windowTitle()  PREV CLASS  - NEXT CLASSNEXT CLASS FRAMES    NO FRAMES   @@ -76,9 +76,9 @@ function windowTitle() - SUMMARY: NESTED | FIELD | CONSTR | METHOD + SUMMARY: NESTED | FIELD | CONSTR | METHOD -DETAIL: FIELD | CONSTR | METHOD +DETAIL: FIELD | CONSTR | METHOD @@ -93,22 +93,17 @@ uk.org.ury.frontend Class AbstractFrontendModule
 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.frontend.AbstractFrontendModule
+  extended by uk.org.ury.frontend.AbstractFrontendModule
 
-
All Implemented Interfaces:
java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible, javax.swing.RootPaneContainer, FrontendModule
+
All Implemented Interfaces:
FrontendModule
-
Direct Known Subclasses:
LibraryViewer, ShowViewer
+
Direct Known Subclasses:
DemoMenu, LibraryViewer, ShowViewer

-
public abstract class AbstractFrontendModule
extends javax.swing.JApplet
implements FrontendModule
+
public abstract class AbstractFrontendModule
extends java.lang.Object
implements FrontendModule

@@ -119,57 +114,11 @@ An abstract implementation of the FrontendModule interface.

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,59 +143,6 @@ An abstract implementation of the FrontendModule interface. Method Summary - - -abstract  void -init() - -
-          Initialise the module as an applet. - - -  - - - - - - - -
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
  @@ -254,7 +150,7 @@ An abstract implementation of the FrontendModule interface. - +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  @@ -285,31 +181,6 @@ AbstractFrontendModule public AbstractFrontendModule()

- - - - - - - - -
-Method Detail
- -

-init

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

-

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

@@ -342,7 +213,7 @@ public abstract void init()  PREV CLASS  - NEXT CLASSNEXT CLASS FRAMES    NO FRAMES   @@ -362,9 +233,9 @@ public abstract void init() - SUMMARY: NESTED | FIELD | CONSTR | METHOD + SUMMARY: NESTED | FIELD | CONSTR | METHOD -DETAIL: FIELD | CONSTR | METHOD +DETAIL: FIELD | CONSTR | METHOD diff --git a/doc/uk/org/ury/frontend/FrontendApplet.html b/doc/uk/org/ury/frontend/FrontendApplet.html new file mode 100644 index 0000000..3ed1e9a --- /dev/null +++ b/doc/uk/org/ury/frontend/FrontendApplet.html @@ -0,0 +1,543 @@ + + + + + + +FrontendApplet + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +uk.org.ury.frontend +
+Class FrontendApplet

+
+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.frontend.FrontendApplet
+
+
+
All Implemented Interfaces:
java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible, javax.swing.RootPaneContainer, FrontendMaster, Launcher
+
+
+
+
public class FrontendApplet
extends javax.swing.JApplet
implements FrontendMaster, Launcher
+ + +

+A frame that hosts a FrontendModulePanel, used for serving frontend panels in + a window (application mode). +

+ +

+

+
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 uk.org.ury.testrig.Launcher
DEFAULT_MODULE_NAME
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
FrontendApplet() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidfatalError(java.lang.String message) + +
+          Report a fatal error,
+ java.lang.StringgetResourceDirectory() + +
+           
+ voidinit() + +
+          Main method.
+ voidloadModule(java.lang.String moduleName) + +
+          Load a module into the frontend frame.
+ voidloadModule(java.lang.String moduleName, + java.lang.String cPanelName) + +
+          Load a module into the frontend frame, additionally installing a control + panel to communicate with the previous module.
+ voidrestoreModule(FrontendModulePanel mpanel, + FrontendControlPanel cpanel) + +
+          Restore an existing module and control panel into the frontend frame.
+ voidsetupUI() + +
+          Set up the user interface of the frame.
+ + + + + + + +
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
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+FrontendApplet

+
+public FrontendApplet()
+
+
+ + + + + + + + +
+Method Detail
+ +

+init

+
+public void init()
+
+
Main method. +

+

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

+setupUI

+
+public void setupUI()
+
+
Set up the user interface of the frame. +

+

+
Specified by:
setupUI in interface FrontendMaster
+
+
+
+
+
+
+ +

+loadModule

+
+public void loadModule(java.lang.String moduleName)
+                throws LoadFailureException
+
+
Load a module into the frontend frame. + + Loading will fail with a fatal error if the class is not found, or is not + an implementor of FrontendModule. +

+

+
Specified by:
loadModule in interface FrontendMaster
+
+
+
Parameters:
moduleName - The fully qualified class-name of the module, minus the + leading "uk.org.ury." domain. +
Throws: +
LoadFailureException - if the class is not found, or is not an implementor of + FrontendModule.
+
+
+
+ +

+loadModule

+
+public void loadModule(java.lang.String moduleName,
+                       java.lang.String cPanelName)
+                throws LoadFailureException
+
+
Load a module into the frontend frame, additionally installing a control + panel to communicate with the previous module. + + Loading will fail with a fatal error if the class is not found, or is not + an implementor of FrontendModule. +

+

+
Specified by:
loadModule in interface FrontendMaster
+
+
+
Parameters:
moduleName - The fully qualified class-name of the module, minus the + leading "uk.org.ury." domain.
cPanelName - The fully qualified class-name of the control panel to + install, minus the leading "uk.org.ury." domain. +
Throws: +
LoadFailureException - if the class is not found, or is not an implementor of + FrontendModule.
+
+
+
+ +

+restoreModule

+
+public void restoreModule(FrontendModulePanel mpanel,
+                          FrontendControlPanel cpanel)
+
+
Restore an existing module and control panel into the frontend frame. +

+

+
Specified by:
restoreModule in interface FrontendMaster
+
+
+
Parameters:
mpanel - The module panel to restore.
cpanel - The control panel to restore, if any. A null value signifies a + lack of control panel. +
Throws: +
java.lang.IllegalArgumentException - if the mpanel is null.
+
+
+
+ +

+fatalError

+
+public void fatalError(java.lang.String message)
+
+
Report a fatal error, +

+

+
Specified by:
fatalError in interface FrontendMaster
+
+
+
Parameters:
message - The message, eg the exception message, to report to the user.
+
+
+
+ +

+getResourceDirectory

+
+public java.lang.String getResourceDirectory()
+
+
+
Specified by:
getResourceDirectory in interface FrontendMaster
+
+
+ +
Returns:
the resource directory.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/uk/org/ury/frontend/FrontendBanner.html b/doc/uk/org/ury/frontend/FrontendBanner.html index 07f7a10..77cac68 100644 --- a/doc/uk/org/ury/frontend/FrontendBanner.html +++ b/doc/uk/org/ury/frontend/FrontendBanner.html @@ -2,12 +2,12 @@ - + FrontendBanner - + @@ -55,7 +55,7 @@ function windowTitle() PREV CLASS  + PREV CLASS   NEXT CLASS FRAMES   @@ -340,7 +340,7 @@ public void setTitle(java.lang.String title) PREV CLASS  + PREV CLASS   NEXT CLASS FRAMES   diff --git a/doc/uk/org/ury/frontend/FrontendControlPanel.html b/doc/uk/org/ury/frontend/FrontendControlPanel.html index f8bc49b..1b43dca 100644 --- a/doc/uk/org/ury/frontend/FrontendControlPanel.html +++ b/doc/uk/org/ury/frontend/FrontendControlPanel.html @@ -2,12 +2,12 @@ - + FrontendControlPanel - + diff --git a/doc/uk/org/ury/frontend/FrontendError.html b/doc/uk/org/ury/frontend/FrontendError.html index 0ee5c70..1858ac8 100644 --- a/doc/uk/org/ury/frontend/FrontendError.html +++ b/doc/uk/org/ury/frontend/FrontendError.html @@ -2,12 +2,12 @@ - + FrontendError - + @@ -140,8 +140,8 @@ Factory for descriptive error dialogues. static void -reportFatal(java.lang.String message, - FrontendAppletPanel panel) +reportFatal(java.lang.String message, + FrontendApplet panel)
            @@ -210,11 +210,11 @@ public static void reportFatal(java.lang.String message,
-

+

reportFatal

 public static void reportFatal(java.lang.String message,
-                               FrontendAppletPanel panel)
+ FrontendApplet panel)
diff --git a/doc/uk/org/ury/frontend/FrontendFrame.html b/doc/uk/org/ury/frontend/FrontendFrame.html index 9b82f52..57b1dae 100644 --- a/doc/uk/org/ury/frontend/FrontendFrame.html +++ b/doc/uk/org/ury/frontend/FrontendFrame.html @@ -2,12 +2,12 @@ - + FrontendFrame - + @@ -204,10 +204,10 @@ A frame that hosts a FrontendModulePanel, used for serving frontend Constructor Summary
-FrontendFrame(FrontendModulePanel parent) +FrontendFrame(java.lang.String moduleName)
-            +          Construct a new FrontendFrame given an initial frontend module.   @@ -229,6 +229,14 @@ A frame that hosts a FrontendModulePanel, used for serving frontend + java.lang.String +getResourceDirectory() + +
+            + + +  void loadModule(java.lang.String moduleName) @@ -255,6 +263,14 @@ A frame that hosts a FrontendModulePanel, used for serving frontend           Restore an existing module and control panel into the frontend frame. + + + void +setupUI() + +
+          Set up the user interface of the frame. +   @@ -332,11 +348,19 @@ A frame that hosts a FrontendModulePanel, used for serving frontend
-

+

FrontendFrame

-public FrontendFrame(FrontendModulePanel parent)
+public FrontendFrame(java.lang.String moduleName)
+
Construct a new FrontendFrame given an initial frontend module. + + Loading will fail with a fatal error if the class is not found, + or is not an implementor of FrontendModule. +

+

+
Parameters:
moduleName - The fully qualified class-name of the module, + minus the leading "uk.org.ury." domain.
@@ -349,10 +373,27 @@ public FrontendFrame(

+setupUI

+
+public void setupUI()
+
+
Set up the user interface of the frame. +

+

+
Specified by:
setupUI in interface FrontendMaster
+
+
+
+
+
+
+

loadModule

-public void loadModule(java.lang.String moduleName)
+public void loadModule(java.lang.String moduleName) + throws LoadFailureException
Load a module into the frontend frame. @@ -364,7 +405,11 @@ public void loadModule(java.lang.String moduleName)
Parameters:
moduleName - The fully qualified class-name of the module, - minus the leading "uk.org.ury." domain.
+ minus the leading "uk.org.ury." domain. +
Throws: +
LoadFailureException - if the class is + not found, or is not an implementor of + FrontendModule.

@@ -373,7 +418,8 @@ public void loadModule(java.lang.String moduleName) loadModule
 public void loadModule(java.lang.String moduleName,
-                       java.lang.String cPanelName)
+ java.lang.String cPanelName) + throws LoadFailureException
Load a module into the frontend frame, additionally installing a control panel to communicate with the previous module. @@ -388,7 +434,11 @@ public void loadModule(java.lang.String moduleName,
Parameters:
moduleName - The fully qualified class-name of the module, minus the leading "uk.org.ury." domain.
cPanelName - The fully qualified class-name of the control panel to install, minus the leading - "uk.org.ury." domain.
+ "uk.org.ury." domain. +
Throws: +
LoadFailureException - if the class is + not found, or is not an implementor of + FrontendModule.

@@ -429,6 +479,21 @@ public void fatalError(java.lang.String message) to the user. +
+ +

+getResourceDirectory

+
+public java.lang.String getResourceDirectory()
+
+
+
Specified by:
getResourceDirectory in interface FrontendMaster
+
+
+ +
Returns:
the resource directory.
+
+

diff --git a/doc/uk/org/ury/frontend/FrontendMaster.html b/doc/uk/org/ury/frontend/FrontendMaster.html index 485ebb1..08e34a5 100644 --- a/doc/uk/org/ury/frontend/FrontendMaster.html +++ b/doc/uk/org/ury/frontend/FrontendMaster.html @@ -2,12 +2,12 @@ - + FrontendMaster - + @@ -92,7 +92,7 @@ uk.org.ury.frontend

Interface FrontendMaster
-
All Known Implementing Classes:
FrontendAppletPanel, FrontendFrame
+
All Known Implementing Classes:
FrontendApplet, FrontendFrame

@@ -134,6 +134,14 @@ Interface for classes providing the parent unit of a frontend + java.lang.String +getResourceDirectory() + +
+            + + +  void loadModule(java.lang.String moduleName) @@ -160,6 +168,14 @@ Interface for classes providing the parent unit of a frontend           Restore an existing module and control panel into the frontend master. + + + void +setupUI() + +
+          Set up the frontend master's user interface. +  

@@ -177,7 +193,8 @@ Interface for classes providing the parent unit of a frontend

loadModule

-void loadModule(java.lang.String moduleName)
+void loadModule(java.lang.String moduleName) + throws LoadFailureException
Load a module into the frontend frame. @@ -186,7 +203,11 @@ void loadModule(java.lang.String moduleName)

Parameters:
moduleName - The fully qualified class-name of the module, - minus the leading "uk.org.ury." domain.
+ minus the leading "uk.org.ury." domain. +
Throws: +
LoadFailureException - if the class is + not found, or is not an implementor of + FrontendModule.

@@ -195,7 +216,8 @@ void loadModule(java.lang.String moduleName) loadModule
 void loadModule(java.lang.String moduleName,
-                java.lang.String cPanelName)
+ java.lang.String cPanelName) + throws LoadFailureException
Load a module into the frontend frame, additionally installing a control panel to communicate with the previous module. @@ -207,7 +229,11 @@ void loadModule(java.lang.String moduleName,
Parameters:
moduleName - The fully qualified class-name of the module, minus the leading "uk.org.ury." domain.
cPanelName - The fully qualified class-name of the control panel to install, minus the leading - "uk.org.ury." domain.
+ "uk.org.ury." domain. +
Throws: +
LoadFailureException - if the class is + not found, or is not an implementor of + FrontendModule.

@@ -241,6 +267,31 @@ void fatalError(java.lang.String message) to the user. +
+ +

+setupUI

+
+void setupUI()
+
+
Set up the frontend master's user interface. +

+

+
+
+
+
+ +

+getResourceDirectory

+
+java.lang.String getResourceDirectory()
+
+
+ +
Returns:
the resource directory.
+
+

diff --git a/doc/uk/org/ury/frontend/FrontendModule.html b/doc/uk/org/ury/frontend/FrontendModule.html index 765faeb..4f728da 100644 --- a/doc/uk/org/ury/frontend/FrontendModule.html +++ b/doc/uk/org/ury/frontend/FrontendModule.html @@ -2,12 +2,12 @@ - + FrontendModule - + @@ -92,7 +92,7 @@ uk.org.ury.frontend
Interface FrontendModule
-
All Known Implementing Classes:
AbstractFrontendModule, LibraryViewer, ShowViewer
+
All Known Implementing Classes:
AbstractFrontendModule, DemoMenu, LibraryViewer, ShowViewer

diff --git a/doc/uk/org/ury/frontend/FrontendModulePanel.html b/doc/uk/org/ury/frontend/FrontendModulePanel.html index b7b1b89..aa6603e 100644 --- a/doc/uk/org/ury/frontend/FrontendModulePanel.html +++ b/doc/uk/org/ury/frontend/FrontendModulePanel.html @@ -2,12 +2,12 @@ - + FrontendModulePanel - + @@ -237,7 +237,7 @@ A frontend user interface panel. abstract  java.lang.String -getName() +getModuleName()
            @@ -285,7 +285,7 @@ A frontend user interface panel. Methods inherited from class java.awt.Component -action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, createImage, createImage, createVolatileImage, createVolatileImage, dispatchEvent, enable, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle +action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, createImage, createImage, createVolatileImage, createVolatileImage, dispatchEvent, enable, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle   @@ -351,15 +351,12 @@ public FrontendModulePanel(

-getName

+

+getModuleName

-public abstract java.lang.String getName()
+public abstract java.lang.String getModuleName()
-
Overrides:
getName in class java.awt.Component
-
-
Returns:
the name of the panel module.
diff --git a/doc/uk/org/ury/frontend/FrontendPanel.html b/doc/uk/org/ury/frontend/FrontendPanel.html index a06fef4..719bd6b 100644 --- a/doc/uk/org/ury/frontend/FrontendPanel.html +++ b/doc/uk/org/ury/frontend/FrontendPanel.html @@ -2,12 +2,12 @@ - + FrontendPanel - + @@ -103,7 +103,7 @@ java.lang.Object
All Implemented Interfaces:
java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible
-
Direct Known Subclasses:
FrontendControlPanel, FrontendModulePanel
+
Direct Known Subclasses:
ChannelPanel, FrontendControlPanel, FrontendModulePanel, TrackBin

@@ -113,6 +113,11 @@ java.lang.Object

An extension of JPanel providing common functionality for user interface panels in the URY system frontend. + + Most notably, this includes automated access to XML-based + preparation of the user interface provided by the panel, + using an appropriate constructor call giving the XML file from + which the user interface form should be read.

@@ -295,7 +300,9 @@ public FrontendPanel(UICreationFailureException - if the UI creation fails.

diff --git a/doc/uk/org/ury/frontend/FrontendSubBanner.html b/doc/uk/org/ury/frontend/FrontendSubBanner.html index ece999f..ea28af1 100644 --- a/doc/uk/org/ury/frontend/FrontendSubBanner.html +++ b/doc/uk/org/ury/frontend/FrontendSubBanner.html @@ -2,12 +2,12 @@ - + FrontendSubBanner - + diff --git a/doc/uk/org/ury/frontend/HintField.html b/doc/uk/org/ury/frontend/HintField.html index 6fca8b2..12e6e08 100644 --- a/doc/uk/org/ury/frontend/HintField.html +++ b/doc/uk/org/ury/frontend/HintField.html @@ -2,12 +2,12 @@ - + HintField - + diff --git a/doc/uk/org/ury/frontend/class-use/AbstractFrontendModule.html b/doc/uk/org/ury/frontend/class-use/AbstractFrontendModule.html index 63f5b79..f36bd08 100644 --- a/doc/uk/org/ury/frontend/class-use/AbstractFrontendModule.html +++ b/doc/uk/org/ury/frontend/class-use/AbstractFrontendModule.html @@ -2,12 +2,12 @@ - + Uses of Class uk.org.ury.frontend.AbstractFrontendModule - + @@ -97,6 +97,10 @@ Packages that use uk.org.ury.show.viewer    + +uk.org.ury.testrig +   +  

@@ -120,7 +124,7 @@ Uses of LibraryViewer
-            +          Module for investigating the track library.   @@ -150,6 +154,31 @@ Uses of  

+ + + + + +
+Uses of AbstractFrontendModule in uk.org.ury.testrig
+  +

+ + + + + + + + + +
Subclasses of AbstractFrontendModule in uk.org.ury.testrig
+ classDemoMenu + +
+          Application frontend, for testing early-stage frontend code.
+  +


diff --git a/doc/uk/org/ury/frontend/class-use/FrontendApplet.html b/doc/uk/org/ury/frontend/class-use/FrontendApplet.html new file mode 100644 index 0000000..cfc7c7b --- /dev/null +++ b/doc/uk/org/ury/frontend/class-use/FrontendApplet.html @@ -0,0 +1,181 @@ + + + + + + +Uses of Class uk.org.ury.frontend.FrontendApplet + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
uk.org.ury.frontend.FrontendApplet

+
+ + + + + + + + + +
+Packages that use FrontendApplet
uk.org.ury.frontend  
+  +

+ + + + + +
+Uses of FrontendApplet in uk.org.ury.frontend
+  +

+ + + + + + + + + +
Methods in uk.org.ury.frontend with parameters of type FrontendApplet
+static voidFrontendError.reportFatal(java.lang.String message, + FrontendApplet panel) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/uk/org/ury/frontend/class-use/FrontendBanner.html b/doc/uk/org/ury/frontend/class-use/FrontendBanner.html index a89c6eb..230ca1b 100644 --- a/doc/uk/org/ury/frontend/class-use/FrontendBanner.html +++ b/doc/uk/org/ury/frontend/class-use/FrontendBanner.html @@ -2,12 +2,12 @@ - + Uses of Class uk.org.ury.frontend.FrontendBanner - + diff --git a/doc/uk/org/ury/frontend/class-use/FrontendControlPanel.html b/doc/uk/org/ury/frontend/class-use/FrontendControlPanel.html index bdcd6e7..c7aa65c 100644 --- a/doc/uk/org/ury/frontend/class-use/FrontendControlPanel.html +++ b/doc/uk/org/ury/frontend/class-use/FrontendControlPanel.html @@ -2,12 +2,12 @@ - + Uses of Class uk.org.ury.frontend.FrontendControlPanel - + @@ -121,32 +121,31 @@ Uses of  void -FrontendAppletPanel.restoreModule(FrontendModulePanel mpanel, +FrontendApplet.restoreModule(FrontendModulePanel mpanel, FrontendControlPanel cpanel)
-          Restore an existing module and control panel into the frontend - frame. +          Restore an existing module and control panel into the frontend frame.  void -FrontendMaster.restoreModule(FrontendModulePanel mpanel, +FrontendFrame.restoreModule(FrontendModulePanel mpanel, FrontendControlPanel cpanel)
          Restore an existing module and control panel into the frontend - master. + frame.  void -FrontendFrame.restoreModule(FrontendModulePanel mpanel, +FrontendMaster.restoreModule(FrontendModulePanel mpanel, FrontendControlPanel cpanel)
          Restore an existing module and control panel into the frontend - frame. + master. diff --git a/doc/uk/org/ury/frontend/class-use/FrontendError.html b/doc/uk/org/ury/frontend/class-use/FrontendError.html index 7454d1c..40ed92f 100644 --- a/doc/uk/org/ury/frontend/class-use/FrontendError.html +++ b/doc/uk/org/ury/frontend/class-use/FrontendError.html @@ -2,12 +2,12 @@ - + Uses of Class uk.org.ury.frontend.FrontendError - + diff --git a/doc/uk/org/ury/frontend/class-use/FrontendFrame.html b/doc/uk/org/ury/frontend/class-use/FrontendFrame.html index 02c5ee8..0d9b825 100644 --- a/doc/uk/org/ury/frontend/class-use/FrontendFrame.html +++ b/doc/uk/org/ury/frontend/class-use/FrontendFrame.html @@ -2,12 +2,12 @@ - + Uses of Class uk.org.ury.frontend.FrontendFrame - + diff --git a/doc/uk/org/ury/frontend/class-use/FrontendMaster.html b/doc/uk/org/ury/frontend/class-use/FrontendMaster.html index 78e7235..528d5cb 100644 --- a/doc/uk/org/ury/frontend/class-use/FrontendMaster.html +++ b/doc/uk/org/ury/frontend/class-use/FrontendMaster.html @@ -2,12 +2,12 @@ - + Uses of Interface uk.org.ury.frontend.FrontendMaster - + @@ -125,11 +125,11 @@ Uses of  class -FrontendAppletPanel +FrontendApplet
-          A frame that hosts a FrontendModulePanel, used for serving frontend - panels in a window (application mode). +          A frame that hosts a FrontendModulePanel, used for serving frontend panels in + a window (application mode). @@ -293,6 +293,22 @@ Uses of + +Methods in uk.org.ury.testrig with parameters of type FrontendMaster + + + + FrontendModulePanel +DemoMenu.runFrontend(FrontendMaster master) + +
+          Run the demo menu in frontend mode. + + +  +

+ diff --git a/doc/uk/org/ury/frontend/class-use/FrontendModule.html b/doc/uk/org/ury/frontend/class-use/FrontendModule.html index 93cec67..88c88f0 100644 --- a/doc/uk/org/ury/frontend/class-use/FrontendModule.html +++ b/doc/uk/org/ury/frontend/class-use/FrontendModule.html @@ -2,12 +2,12 @@ - + Uses of Interface uk.org.ury.frontend.FrontendModule - + @@ -101,6 +101,10 @@ Packages that use uk.org.ury.show.viewer + + + +
Constructors in uk.org.ury.testrig with parameters of type FrontendMaster   
uk.org.ury.testrig  
 

@@ -188,7 +192,7 @@ Uses of LibraryViewer
-            +          Module for investigating the track library.   @@ -218,6 +222,31 @@ Uses of + + + + +
+Uses of FrontendModule in uk.org.ury.testrig
+  +

+ + + + + + + + + +
Classes in uk.org.ury.testrig that implement FrontendModule
+ classDemoMenu + +
+          Application frontend, for testing early-stage frontend code.
+  +


diff --git a/doc/uk/org/ury/frontend/class-use/FrontendModulePanel.html b/doc/uk/org/ury/frontend/class-use/FrontendModulePanel.html index 05bd4c8..5e5edb7 100644 --- a/doc/uk/org/ury/frontend/class-use/FrontendModulePanel.html +++ b/doc/uk/org/ury/frontend/class-use/FrontendModulePanel.html @@ -2,12 +2,12 @@ - + Uses of Class uk.org.ury.frontend.FrontendModulePanel - + @@ -141,32 +141,31 @@ Uses of  void -FrontendAppletPanel.restoreModule(FrontendModulePanel mpanel, +FrontendApplet.restoreModule(FrontendModulePanel mpanel, FrontendControlPanel cpanel)
-          Restore an existing module and control panel into the frontend - frame. +          Restore an existing module and control panel into the frontend frame.  void -FrontendMaster.restoreModule(FrontendModulePanel mpanel, +FrontendFrame.restoreModule(FrontendModulePanel mpanel, FrontendControlPanel cpanel)
          Restore an existing module and control panel into the frontend - master. + frame.  void -FrontendFrame.restoreModule(FrontendModulePanel mpanel, +FrontendMaster.restoreModule(FrontendModulePanel mpanel, FrontendControlPanel cpanel)
          Restore an existing module and control panel into the frontend - frame. + master. @@ -181,26 +180,6 @@ Uses of  

- - - - - - - - - - - -
Constructors in uk.org.ury.frontend with parameters of type FrontendModulePanel
FrontendAppletPanel(FrontendModulePanel parent) - -
-           
FrontendFrame(FrontendModulePanel parent) - -
-           
-  -

@@ -262,7 +241,7 @@ Uses of ShowViewerPanel
-          Frontend panel providing access to an underlying lshow viewer. +          Frontend panel providing access to an underlying show viewer.
  @@ -308,6 +287,22 @@ Uses of  

+ + + + + + + + + +
Methods in uk.org.ury.testrig that return FrontendModulePanel
+ FrontendModulePanelDemoMenu.runFrontend(FrontendMaster master) + +
+          Run the demo menu in frontend mode.
+  +


diff --git a/doc/uk/org/ury/frontend/class-use/FrontendPanel.html b/doc/uk/org/ury/frontend/class-use/FrontendPanel.html index a52cdc2..f7f386a 100644 --- a/doc/uk/org/ury/frontend/class-use/FrontendPanel.html +++ b/doc/uk/org/ury/frontend/class-use/FrontendPanel.html @@ -2,12 +2,12 @@ - + Uses of Class uk.org.ury.frontend.FrontendPanel - + @@ -183,6 +183,14 @@ Uses of  class +ChannelPanel + +
+          A panel displaying channel information. + + + + class LibraryControlPanel
@@ -194,7 +202,15 @@ Uses of ShowViewerPanel

-          Frontend panel providing access to an underlying lshow viewer. +          Frontend panel providing access to an underlying show viewer. + + + + class +TrackBin + +
+          A panel displaying track bin contents.   diff --git a/doc/uk/org/ury/frontend/class-use/FrontendSubBanner.html b/doc/uk/org/ury/frontend/class-use/FrontendSubBanner.html index ff6a506..e5c50cb 100644 --- a/doc/uk/org/ury/frontend/class-use/FrontendSubBanner.html +++ b/doc/uk/org/ury/frontend/class-use/FrontendSubBanner.html @@ -2,12 +2,12 @@ - + Uses of Class uk.org.ury.frontend.FrontendSubBanner - + diff --git a/doc/uk/org/ury/frontend/class-use/HintField.html b/doc/uk/org/ury/frontend/class-use/HintField.html index 32d0006..feb6a66 100644 --- a/doc/uk/org/ury/frontend/class-use/HintField.html +++ b/doc/uk/org/ury/frontend/class-use/HintField.html @@ -2,12 +2,12 @@ - + Uses of Class uk.org.ury.frontend.HintField - + diff --git a/doc/uk/org/ury/frontend/exceptions/LoadFailureException.html b/doc/uk/org/ury/frontend/exceptions/LoadFailureException.html new file mode 100644 index 0000000..33acf70 --- /dev/null +++ b/doc/uk/org/ury/frontend/exceptions/LoadFailureException.html @@ -0,0 +1,268 @@ + + + + + + +LoadFailureException + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +uk.org.ury.frontend.exceptions +
+Class LoadFailureException

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by uk.org.ury.frontend.exceptions.LoadFailureException
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class LoadFailureException
extends java.lang.Exception
+ + +

+Exception thrown when the loading of a new frontend module fails. +

+ +

+

+
Author:
+
Matt Windsor
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
LoadFailureException() + +
+          Construct a new LoadFailureException with a + default reason.
LoadFailureException(java.lang.String reason) + +
+          Construct a new LoadFailureException.
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+LoadFailureException

+
+public LoadFailureException()
+
+
Construct a new LoadFailureException with a + default reason. +

+

+
+ +

+LoadFailureException

+
+public LoadFailureException(java.lang.String reason)
+
+
Construct a new LoadFailureException. +

+

+
Parameters:
reason - The explanation for the exception.
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/uk/org/ury/frontend/exceptions/UICreationFailureException.html b/doc/uk/org/ury/frontend/exceptions/UICreationFailureException.html index 9eb084b..753628e 100644 --- a/doc/uk/org/ury/frontend/exceptions/UICreationFailureException.html +++ b/doc/uk/org/ury/frontend/exceptions/UICreationFailureException.html @@ -2,12 +2,12 @@ - + UICreationFailureException - + @@ -55,7 +55,7 @@ function windowTitle() - PREV CLASS  + PREV CLASS   NEXT CLASS FRAMES   @@ -233,7 +233,7 @@ public UICreationFailureException(java.lang.String reason) - PREV CLASS  + PREV CLASS   NEXT CLASS FRAMES   diff --git a/doc/uk/org/ury/frontend/exceptions/class-use/LoadFailureException.html b/doc/uk/org/ury/frontend/exceptions/class-use/LoadFailureException.html new file mode 100644 index 0000000..2434645 --- /dev/null +++ b/doc/uk/org/ury/frontend/exceptions/class-use/LoadFailureException.html @@ -0,0 +1,226 @@ + + + + + + +Uses of Class uk.org.ury.frontend.exceptions.LoadFailureException + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
uk.org.ury.frontend.exceptions.LoadFailureException

+
+ + + + + + + + + +
+Packages that use LoadFailureException
uk.org.ury.frontend  
+  +

+ + + + + +
+Uses of LoadFailureException in uk.org.ury.frontend
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in uk.org.ury.frontend that throw LoadFailureException
+ voidFrontendApplet.loadModule(java.lang.String moduleName) + +
+          Load a module into the frontend frame.
+ voidFrontendFrame.loadModule(java.lang.String moduleName) + +
+          Load a module into the frontend frame.
+ voidFrontendMaster.loadModule(java.lang.String moduleName) + +
+          Load a module into the frontend frame.
+ voidFrontendApplet.loadModule(java.lang.String moduleName, + java.lang.String cPanelName) + +
+          Load a module into the frontend frame, additionally installing a control + panel to communicate with the previous module.
+ voidFrontendFrame.loadModule(java.lang.String moduleName, + java.lang.String cPanelName) + +
+          Load a module into the frontend frame, additionally installing + a control panel to communicate with the previous module.
+ voidFrontendMaster.loadModule(java.lang.String moduleName, + java.lang.String cPanelName) + +
+          Load a module into the frontend frame, additionally installing + a control panel to communicate with the previous module.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/uk/org/ury/frontend/exceptions/class-use/UICreationFailureException.html b/doc/uk/org/ury/frontend/exceptions/class-use/UICreationFailureException.html index 1894d11..ea8a2fa 100644 --- a/doc/uk/org/ury/frontend/exceptions/class-use/UICreationFailureException.html +++ b/doc/uk/org/ury/frontend/exceptions/class-use/UICreationFailureException.html @@ -2,12 +2,12 @@ - + Uses of Class uk.org.ury.frontend.exceptions.UICreationFailureException - + diff --git a/doc/uk/org/ury/frontend/exceptions/package-frame.html b/doc/uk/org/ury/frontend/exceptions/package-frame.html index fbecad3..de032c1 100644 --- a/doc/uk/org/ury/frontend/exceptions/package-frame.html +++ b/doc/uk/org/ury/frontend/exceptions/package-frame.html @@ -2,12 +2,12 @@ - + uk.org.ury.frontend.exceptions - + @@ -23,6 +23,8 @@ uk.org.ury.frontend.exceptions Exceptions
 
+LoadFailureException +
UICreationFailureException
diff --git a/doc/uk/org/ury/frontend/exceptions/package-summary.html b/doc/uk/org/ury/frontend/exceptions/package-summary.html index 500b08c..2127de2 100644 --- a/doc/uk/org/ury/frontend/exceptions/package-summary.html +++ b/doc/uk/org/ury/frontend/exceptions/package-summary.html @@ -2,12 +2,12 @@ - + uk.org.ury.frontend.exceptions - + @@ -89,6 +89,10 @@ Package uk.org.ury.frontend.exceptions Exception Summary
+LoadFailureException +Exception thrown when the loading of a new frontend module fails. + + UICreationFailureException Exception thrown when the creation of a UI element fails. diff --git a/doc/uk/org/ury/frontend/exceptions/package-tree.html b/doc/uk/org/ury/frontend/exceptions/package-tree.html index 8975aae..d3764fa 100644 --- a/doc/uk/org/ury/frontend/exceptions/package-tree.html +++ b/doc/uk/org/ury/frontend/exceptions/package-tree.html @@ -2,12 +2,12 @@ - + uk.org.ury.frontend.exceptions Class Hierarchy - + @@ -95,7 +95,7 @@ Class Hierarchy
  • java.lang.Throwable (implements java.io.Serializable) diff --git a/doc/uk/org/ury/frontend/exceptions/package-use.html b/doc/uk/org/ury/frontend/exceptions/package-use.html index 33576e4..93d545d 100644 --- a/doc/uk/org/ury/frontend/exceptions/package-use.html +++ b/doc/uk/org/ury/frontend/exceptions/package-use.html @@ -2,12 +2,12 @@ - + Uses of Package uk.org.ury.frontend.exceptions - + @@ -115,6 +115,12 @@ Packages that use uk.org.ury.frontend.exceptions used by uk.org.ury.frontend +LoadFailureException + +
    +          Exception thrown when the loading of a new frontend module fails. + + UICreationFailureException
    diff --git a/doc/uk/org/ury/frontend/package-frame.html b/doc/uk/org/ury/frontend/package-frame.html index 6cd39ef..e35b4b8 100644 --- a/doc/uk/org/ury/frontend/package-frame.html +++ b/doc/uk/org/ury/frontend/package-frame.html @@ -2,12 +2,12 @@ - + uk.org.ury.frontend - + @@ -38,7 +38,7 @@ Classes
     
    AbstractFrontendModule
    -FrontendAppletPanel +FrontendApplet
    FrontendBanner
    diff --git a/doc/uk/org/ury/frontend/package-summary.html b/doc/uk/org/ury/frontend/package-summary.html index 544a478..119ce35 100644 --- a/doc/uk/org/ury/frontend/package-summary.html +++ b/doc/uk/org/ury/frontend/package-summary.html @@ -2,12 +2,12 @@ - + uk.org.ury.frontend - + @@ -113,9 +113,9 @@ Package uk.org.ury.frontend An abstract implementation of the FrontendModule interface. -FrontendAppletPanel -A frame that hosts a FrontendModulePanel, used for serving frontend - panels in a window (application mode). +FrontendApplet +A frame that hosts a FrontendModulePanel, used for serving frontend panels in + a window (application mode). FrontendBanner diff --git a/doc/uk/org/ury/frontend/package-tree.html b/doc/uk/org/ury/frontend/package-tree.html index 2c0f520..6ead817 100644 --- a/doc/uk/org/ury/frontend/package-tree.html +++ b/doc/uk/org/ury/frontend/package-tree.html @@ -2,12 +2,12 @@ - + uk.org.ury.frontend Class Hierarchy - + @@ -92,6 +92,7 @@ Class Hierarchy
    • java.lang.Object
        +
      • uk.org.ury.frontend.AbstractFrontendModule (implements uk.org.ury.frontend.FrontendModule)
      • java.awt.Component (implements java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable)