|
|||||||||||
| 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.bbn.openmap.app.OpenMapApplet
OpenMap Applet. Uses the MapHandler, via BeanContextMembershipListener methods to lay out the MapPanel and JMenuBar. Creates a PropertyHandler that will look for the openmap.properties file in the codebase. If the
PROPERTIESapplet parameter is specifed with a different properties file, that file will be used instead.
| Field Summary | |
protected java.lang.String[][] |
pinfo
|
static java.lang.String |
PropertiesProperty
|
| 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 java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
OpenMapApplet()
|
|
| Method Summary | |
void |
addVetoableChangeListener(java.lang.String propertyName,
java.beans.VetoableChangeListener in_vcl)
Method for BeanContextChild interface. |
void |
childrenAdded(java.beans.beancontext.BeanContextMembershipEvent bcme)
BeanContextMembership interface method. |
void |
childrenRemoved(java.beans.beancontext.BeanContextMembershipEvent bcme)
BeanContextMembership interface method. |
void |
destroy()
Called by the browser or applet viewer to inform this applet that it is being reclaimed and that it should destroy any resources that it has allocated. |
void |
findAndInit(java.util.Iterator it)
The method called by BeanContextMembershipListener methods to find components in the MapHandler. |
void |
findAndInit(java.lang.Object someObj)
Called when an object is added to the MapHandler. |
void |
findAndUndo(java.lang.Object someObj)
Called when an object is removed from the MapHandler. |
java.lang.String |
getAppletInfo()
Returns information about this applet. |
java.beans.beancontext.BeanContext |
getBeanContext()
Method for BeanContextChild interface. |
java.lang.String[][] |
getParameterInfo()
Returns information about the parameters that are understood by this applet. |
void |
init()
Called by the browser or applet viewer to inform this applet that it has been loaded into the system. |
void |
removeVetoableChangeListener(java.lang.String propertyName,
java.beans.VetoableChangeListener in_vcl)
Method for BeanContextChild interface. |
void |
setBeanContext(java.beans.beancontext.BeanContext in_bc)
Method for BeanContextChild interface. |
void |
start()
Called by the browser or applet viewer to inform this applet that it should start its execution. |
void |
stop()
Called by the browser or applet viewer to inform this applet that it should stop its execution. |
| 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, getAudioClip, getAudioClip, getCodeBase, getDocumentBase, getImage, getImage, getLocale, getParameter, 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, setEnabled, 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 |
| Methods inherited from interface java.beans.beancontext.BeanContextChild |
addPropertyChangeListener, removePropertyChangeListener |
| Field Detail |
public static final java.lang.String PropertiesProperty
protected final java.lang.String[][] pinfo
| Constructor Detail |
public OpenMapApplet()
| Method Detail |
public java.lang.String getAppletInfo()
getAppletInfo in class java.applet.Appletpublic java.lang.String[][] getParameterInfo()
Each element of the array should be a set of three
Strings containing the name, the type, and a
description. For example:
String pinfo[][] = { { "fps", "1-10", "frames per second" },
{ "repeat", "boolean", "repeat image loop" },
{ "imgs", "url", "images directory" } };
getParameterInfo in class java.applet.Appletpublic void init()
start method is
called.
The implementation of this method provided by the
Applet class does nothing.
init in class java.applet.AppletApplet.destroy(),
Applet.start(),
Applet.stop()public void start()
init method and each time the applet is
revisited in a Web page.
start in class java.applet.AppletApplet.destroy(),
Applet.init(),
Applet.stop()public void stop()
stop in class java.applet.AppletApplet.destroy(),
Applet.init()public void destroy()
stop method
will always be called before destroy.
destroy in class java.applet.AppletApplet.init(),
Applet.start(),
Applet.stop()public void findAndInit(java.util.Iterator it)
public void findAndInit(java.lang.Object someObj)
public void childrenAdded(java.beans.beancontext.BeanContextMembershipEvent bcme)
childrenAdded in interface java.beans.beancontext.BeanContextMembershipListenerbcme - contains an Iterator that lets you go through the
new objects.public void childrenRemoved(java.beans.beancontext.BeanContextMembershipEvent bcme)
childrenRemoved in interface java.beans.beancontext.BeanContextMembershipListenerbcme - event that contains an Iterator to use to go
through the removed objects.public void findAndUndo(java.lang.Object someObj)
public java.beans.beancontext.BeanContext getBeanContext()
getBeanContext in interface java.beans.beancontext.BeanContextChild
public void setBeanContext(java.beans.beancontext.BeanContext in_bc)
throws java.beans.PropertyVetoException
setBeanContext in interface java.beans.beancontext.BeanContextChildin_bc - The context to which this object is being added
java.beans.PropertyVetoException
public void addVetoableChangeListener(java.lang.String propertyName,
java.beans.VetoableChangeListener in_vcl)
addVetoableChangeListener in interface java.beans.beancontext.BeanContextChild
public void removeVetoableChangeListener(java.lang.String propertyName,
java.beans.VetoableChangeListener in_vcl)
removeVetoableChangeListener in interface java.beans.beancontext.BeanContextChild
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||