sub_arctic.contrib
Class interactor_dragout_applet

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--java.awt.Panel
                    |
                    +--java.applet.Applet
                          |
                          +--sub_arctic.lib.interactor_applet
                                |
                                +--sub_arctic.contrib.interactor_dragout_applet
Direct Known Subclasses:
dragout_test

public class interactor_dragout_applet
extends interactor_applet

interactor_dragout_applet is a subclass of interactor_applet that lets you pick up your applets and drag them outside of the browser! To put them back, just close the window containing the applet and it'll pop back into the browser window. To use this class, simply make your own subclass of it. If you wish, you can override the dragged_in() and dragged_out() methods. These will be called whenever you get dragged in or out of the browser.

See Also:
Serialized Form

Fields inherited from class sub_arctic.lib.interactor_applet
_top_interactor, last_evt_was_move, last_move_evt_x, last_move_evt_y
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Constructor Summary
interactor_dragout_applet()
           
 
Method Summary
 void dragged_in()
          This method will be called whenever we get dragged into the browser.
 void dragged_out()
          This method will be called whenever we get dragged out of the browser.
protected  void embed(sub_arctic.contrib.dragout_top_level top)
          Called to put us back into the browser.
 void make_top_level()
          Overrides superclass make_top_level.
 
Methods inherited from class sub_arctic.lib.interactor_applet
build_ui, destroy, do_init, init, isFocusTraversable, paint, post_build_ui, pre_build_ui, processEvent, remove_top_interactor, set_top_interactor, setBounds, top_interactor, 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, stop
 
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, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, layout, list, list, locate, minimumSize, paintComponents, paramString, preferredSize, print, printComponents, processContainerEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setFont, setLayout, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, 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, 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, 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, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, remove, removeComponentListener, removeFocusListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, reshape, setBackground, 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
 

Constructor Detail

interactor_dragout_applet

public interactor_dragout_applet()
Method Detail

make_top_level

public void make_top_level()
Overrides superclass make_top_level. We want a new dragout_top_level.
Overrides:
make_top_level in class interactor_applet

dragged_out

public void dragged_out()
This method will be called whenever we get dragged out of the browser. Subclasses are free to override it to implement their own behavior; the default implementation does nothing.

dragged_in

public void dragged_in()
This method will be called whenever we get dragged into the browser. Subclasses are free to override it to implement their own behavior; the default implementation does nothing.

embed

protected void embed(sub_arctic.contrib.dragout_top_level top)
Called to put us back into the browser.