|
|||||||||
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 | +--gishur.applet.ApplicationApplet | +--gishur.applet.DockableApplet
DockableApplet ist ein ApplicationApplet, das zusätzlich Methoden zum 'undocking' und 'docking' enthält. Darunter versteht man das umpflanzen des Applets vom Browserfenster in ein eigenes Fenster und wieder zurück.
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 |
Field Summary | |
static byte |
REDOCK_APPLET
Konstante für Close- und ExitModi |
Fields inherited from class gishur.applet.ApplicationApplet |
ADD_APPLET_CLOSE, ADD_APPLET_EXIT, ADD_APPLET_NEW_APPLET, DESTROY_ALL_APPLETS, DESTROY_APPLET, HIDE_WINDOW, NO_MENU, NOTHING, STOP_ALL_APPLETS, STOP_APPLET |
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 | |
DockableApplet()
|
Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent e)
Wird aufgerufen, wenn der Menüpunkt exit aufgerufen wurde oder der Frame geschlossen wurde. |
void |
dockApplet()
Fügt ein vom ursprünglichen Fenster abgerissenes Applet wieder in der alten Stelle ein. |
byte |
getCloseMode()
Liefert den gesetzten Close-Modus. |
byte |
getExitMode()
Liefert den gesetzten Exit-Modus. |
void |
onDocking()
Wird aufgerufen, während das Applet aus einem anderen Frame wieder an den ursprünglichen Ort gesetzt wird. |
void |
onUndocking(AppletFrame newframe,
java.awt.Container oldcontainer)
Wird aufgerufen, während das Applet aus dem bisherigen Fenster entfernt wird. |
void |
setCloseMode(int closemode)
Bestimmt, was passiert, wenn das Fenster geschlossen wird. |
void |
setExitMode(int exitmode)
Bestimmt, was passiert, wenn der Exit-Befehl gewählt wurde. |
void |
showStatus(java.lang.String msg)
Requests that the argument string be displayed in the "status window". |
void |
undockApplet(java.lang.String title,
int width,
int height)
Entfernt das Applet vom aktuellen Frame (dem Browserfenster) und stellt es in einem neuen Fenster dar. |
Methods inherited from class gishur.applet.ApplicationApplet |
createNewAppletInstance, createNewAppletInstance, destroy, getAppletFrame, getApplicationContext, initApplet, initApplication, isApplet, onCreateNewAppletInstance, setStopMode, startApplet, startApplet, stop |
Methods inherited from class java.applet.Applet |
getAccessibleContext, getAppletContext, getAppletInfo, getAudioClip, getAudioClip, getCodeBase, getDocumentBase, getImage, getImage, getLocale, getParameter, getParameterInfo, init, isActive, newAudioClip, play, play, resize, resize, setStub, start |
Methods inherited from class java.awt.Panel |
addNotify |
Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, addImpl, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, layout, list, list, locate, minimumSize, paint, paintComponents, paramString, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setFont, setLayout, update, validate, validateTree |
Methods inherited from class java.awt.Component |
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addPropertyChangeListener, addPropertyChangeListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentOrientation, getCursor, getDropTarget, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getInputContext, getInputMethodRequests, getLocation, getLocation, getLocationOnScreen, getName, getParent, getPeer, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isDisplayable, isDoubleBuffered, isEnabled, isFocusTraversable, 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, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, 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, wait, wait, wait |
Field Detail |
public static final byte REDOCK_APPLET
Constructor Detail |
public DockableApplet()
Method Detail |
public final void undockApplet(java.lang.String title, int width, int height)
title
- Titel des neuen Fensterswidth
- Breite des neuen Fenstersheight
- Höhe des neuen Fensterspublic final void dockApplet()
public void onUndocking(AppletFrame newframe, java.awt.Container oldcontainer)
newframe
- neuer Frame für das Appletalter
- Container, in dem das Applet bisher warpublic void onDocking()
public void setExitMode(int exitmode)
setExitMode
in class ApplicationApplet
exitmode
- neuer Exitmode (eine Konstante aus
{NOTHING,HIDE_WINDOW,STOP_APPLET,DESTROY_APPLET})public void setCloseMode(int closemode)
setCloseMode
in class ApplicationApplet
closemode
- neuer Closemode (eine Konstante aus
{NOTHING,HIDE_WINDOW,STOP_APPLET,DESTROY_APPLET})public byte getExitMode()
getExitMode
in class ApplicationApplet
public byte getCloseMode()
getCloseMode
in class ApplicationApplet
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
e
- ActionEventpublic void showStatus(java.lang.String msg)
showStatus
in class ApplicationApplet
msg
- a string to display in the status window.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |