org.jhotdraw.app
Class DefaultAppletApplication
java.lang.Object
org.jhotdraw.beans.AbstractBean
org.jhotdraw.app.AbstractApplication
org.jhotdraw.app.DefaultAppletApplication
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, Application
public class DefaultAppletApplication
- extends AbstractApplication
Default Application that can be run as an Applet.
FIXME - To be implemented.
- Version:
- 1.0 2006-06-10 Created.
- Author:
- Werner Randelshofer
- See Also:
- Serialized Form
Constructor Summary |
DefaultAppletApplication(javax.swing.JApplet applet)
Creates a new instance of DefaultAppletApplication |
Methods inherited from class org.jhotdraw.app.AbstractApplication |
add, addPalette, addRecentFile, addWindow, basicCreateView, clearRecentFiles, configure, createContainer, createView, dispose, getCopyright, getModel, getName, getVersion, init, initLabels, isEnabled, launch, recentFiles, remove, removePalette, removeWindow, setActiveView, setEnabled, setModel, start, stop, views |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultAppletApplication
public DefaultAppletApplication(javax.swing.JApplet applet)
- Creates a new instance of DefaultAppletApplication
show
public void show(View v)
- Description copied from interface:
Application
- Shows a view.
hide
public void hide(View v)
- Description copied from interface:
Application
- Hides a view.
getActiveView
public View getActiveView()
- Description copied from class:
AbstractApplication
- Gets the active view.
- Specified by:
getActiveView
in interface Application
- Overrides:
getActiveView
in class AbstractApplication
- Returns:
- The active view, can be null.
isSharingToolsAmongViews
public boolean isSharingToolsAmongViews()
- Description copied from interface:
Application
- Returns true, if this application shares tools among multiple views.
getComponent
public java.awt.Component getComponent()
- Description copied from interface:
Application
- Returns the application component.
This may return null, if the application is not represented by a component
of its own on the user interface.
initViewActions
protected void initViewActions(View p)
- Specified by:
initViewActions
in class AbstractApplication