|
|||||||
| 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
|
+--arlut.csd.ganymede.GASHAdmin
Ganymede GUI admin console.
GASHAdmin is a dual-mode (applet/application) GUI app for monitoring and
controlling the Ganymede server. In addition to monitoring users and tasks
on the Ganymede server, the admin console includes a full-functioned
schema editor.
GASHAdmin connects to a running
GanymedeServer using the
admin()
method. In order to get logged into the server, GASHAdmin
itself publishes an iAdmin
object via RMI implementing the Admin
interface so that the server can dynamically update us as things happen on
the server.
| Inner classes inherited from class javax.swing.JApplet |
javax.swing.JApplet.AccessibleJApplet |
| Inner classes inherited from class java.applet.Applet |
java.applet.Applet.AccessibleApplet |
| Inner classes inherited from class java.awt.Panel |
java.awt.Panel.AccessibleAWTPanel |
| Inner classes inherited from class java.awt.Container |
java.awt.Container.AccessibleAWTContainer |
| Inner classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent, java.awt.Component.AWTTreeLock |
| Field Summary | |
(package private) static iAdmin |
admin
The iAdmin object is the remote reference to the Ganymede server used by the admin console. |
(package private) static java.awt.Image |
admin_logo
|
(package private) static GASHAdmin |
applet
We assume that we're only ever going to have one console running in any given JVM, we keep track of it here as a convenience. |
private static java.awt.Container |
appletContentPane
|
protected boolean |
connected
|
(package private) static boolean |
debug
|
(package private) java.awt.Image |
errorImage
|
(package private) static GASHAdminFrame |
frame
We keep track of the single admin window that gets opened up here. |
(package private) javax.swing.JButton |
loginButton
|
(package private) javax.swing.JPasswordField |
password
|
(package private) javax.swing.JButton |
quitButton
|
(package private) static int |
registryPortProperty
|
(package private) static Server |
server
|
(package private) static java.lang.String |
serverhost
|
(package private) static java.lang.String |
url
|
(package private) javax.swing.JTextField |
username
|
(package private) static boolean |
WeAreApplet
If true, we are running as an applet and are limited by the Java sandbox. |
| 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 |
| Fields inherited from class java.awt.Container |
component, containerListener, containerSerializedDataVersion, dbg, dispatcher, layoutMgr, listeningBoundsChildren, listeningChildren, maxSize, ncomponents, printing, printingThreads |
| Fields inherited from class java.awt.Component |
actionListenerK, adjustmentListenerK, appContext, background, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, changeSupport, componentListener, componentListenerK, componentOrientation, componentSerializedDataVersion, containerListenerK, cursor, dropTarget, enabled, eventMask, focusListener, focusListenerK, font, foreground, graphicsConfig, hasFocus, height, hierarchyBoundsListener, hierarchyBoundsListenerK, hierarchyListener, hierarchyListenerK, incRate, inputMethodListener, inputMethodListenerK, isInc, isPacked, itemListenerK, keyListener, keyListenerK, LEFT_ALIGNMENT, locale, LOCK, metrics, minSize, mouseListener, mouseListenerK, mouseMotionListener, mouseMotionListenerK, name, nameExplicitlySet, newEventsOnly, ownedWindowK, parent, peer, peerFont, popups, prefSize, privateKey, RIGHT_ALIGNMENT, textListenerK, TOP_ALIGNMENT, valid, visible, width, windowClosingException, windowListenerK, x, y |
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
GASHAdmin()
|
|
| Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent e)
|
javax.swing.JPanel |
createLoginPanel()
|
void |
destroy()
|
java.awt.Image |
getErrorImage()
Loads and returns the error Image for use in client dialogs. |
void |
init()
|
private void |
loadParameters()
Private method to load the Ganymede console's parameters from an applet's HTML parameters. |
private static boolean |
loadProperties(java.lang.String filename)
Private method to load the Ganymede console's parameters from a file. |
static void |
main(java.lang.String[] argv)
|
void |
run()
This will be executed in the thread that tries to connect to the server. |
void |
stop()
|
| 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 |
getAppletContext, getAppletInfo, getAudioClip, getAudioClip, getCodeBase, getDocumentBase, getImage, getImage, getLocale, getParameter, getParameterInfo, isActive, newAudioClip, play, play, resize, resize, setStub, showStatus, start |
| Methods inherited from class java.awt.Panel |
|
| Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, adjustListeningChildren, applyOrientation, checkGD, countComponents, createChildHierarchyEvents, createHierarchyEvents, deliverEvent, dispatchEventImpl, dispatchEventToSelf, doLayout, eventEnabled, findComponentAt, findComponentAt, findComponentAt, getAccessibleAt, getAccessibleChild, getAccessibleChildrenCount, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents_NoClientCode, getComponents, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getMouseEventTarget, getPreferredSize, getWindow, initIDs, insets, invalidate, invalidateTree, isAncestorOf, layout, lightweightPaint, lightweightPrint, list, list, locate, minimumSize, nextFocus, numListening, paint, paintComponents, paintHeavyweightComponents, postProcessKeyEvent, postsOldMouseEvents, preferredSize, preProcessKeyEvent, print, printComponents, printHeavyweightComponents, processContainerEvent, processEvent, proxyEnableEvents, proxyRequestFocus, readObject, remove, removeAll, removeContainerListener, removeNotify, setFocusOwner, setFont, transferFocus, validate, validateTree, writeObject |
| Methods inherited from class java.awt.Component |
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addPropertyChangeListener, addPropertyChangeListener, areInputMethodsEnabled, bounds, checkImage, checkImage, checkWindowClosingException, coalesceEvents, contains, contains, createImage, createImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, getAccessibleIndexInParent, getAccessibleStateSet, getBackground, getBounds, getBounds, getColorModel, getComponentOrientation, getCursor, getDropTarget, getFont_NoClientCode, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getInputContext, getInputMethodRequests, getLocation, getLocation, getLocationOnScreen_NoTreeLock, 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, isRecursivelyVisible, 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, processMouseEvent, processMouseMotionEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, resetGC, 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, registerNatives, wait, wait, wait |
| Field Detail |
static final boolean debug
static GASHAdmin applet
static GASHAdminFrame frame
static iAdmin admin
static boolean WeAreApplet
static java.lang.String serverhost
static int registryPortProperty
static java.lang.String url
protected boolean connected
static Server server
private static java.awt.Container appletContentPane
static java.awt.Image admin_logo
javax.swing.JTextField username
javax.swing.JPasswordField password
javax.swing.JButton quitButton
javax.swing.JButton loginButton
java.awt.Image errorImage
| Constructor Detail |
public GASHAdmin()
| Method Detail |
public static void main(java.lang.String[] argv)
public void init()
init in class java.applet.Appletpublic void stop()
stop in class java.applet.Appletpublic void destroy()
destroy in class java.applet.Appletpublic javax.swing.JPanel createLoginPanel()
public void run()
run in interface java.lang.Runnablepublic void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListenerprivate static boolean loadProperties(java.lang.String filename)
Private method to load the Ganymede console's parameters
from a file. Used when GASHAdmin is run from the command line..
loadParameters()
is for use in an applet context.
private void loadParameters()
Private method to load the Ganymede console's parameters
from an applet's HTML parameters. Used when GASHAdmin is run as an applet..
loadProperties()
is for use in an application context.
public final java.awt.Image getErrorImage()
Loads and returns the error Image for use in client dialogs.
Once the image is loaded, it is cached for future calls to getErrorImage().
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||