edu.mit.ai.psg.jexa
Class JexaApplet

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--java.awt.Panel
                    |
                    +--java.applet.Applet
                          |
                          +--edu.mit.ai.psg.ui.patches.FrameableApplet
                                |
                                +--edu.mit.ai.psg.jexa.JexaApplet

public class JexaApplet
extends FrameableApplet

Jexa Applet: An applet that displays an object with Jexa. Default behavior displays a list of all applets on the same page as this applet. To display something else, override getObjectToExamine().

See Also:
Serialized Form

Field Summary
protected static Dimension minSizeAsButton
           
protected static Dimension minSizeInPlace
           
 
Fields inherited from class edu.mit.ai.psg.ui.patches.FrameableApplet
pkBgColor, pkTextColor, pkTitle, titleFont
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Constructor Summary
JexaApplet()
           
 
Method Summary
 String getAppletInfo()
           
 String getAppletTitle()
          title for applet.
protected  String getButtonStartedText()
          default: Jexa.getJexaBundleString( JexaWindowStarted )
protected  String getButtonStartingText()
          default: Jexa.getJexaBundleString( JexaWindowStarting )
protected  String getButtonStartText()
          default: Jexa.getJexaBundleString( JexaWindowStart )
protected  Dimension getMinSizeAsButton()
           
protected  Dimension getMinSizeInPlace()
           
 Object getObjectToExamine()
          default: display list of all applets sharing this page
 Frame initFrameApplet()
          Start up window frame; 0x0 applet size on page.
 void initPanelInPlaceApplet()
          Initialization for displaying applet in place on page.
 String toString()
           
 
Methods inherited from class edu.mit.ai.psg.ui.patches.FrameableApplet
getAppletList, getParameter, getParameterInfo, getTitleIcon, init, initAppletColors, initButtonForFrameApplet, makeButtonForFrame
 
Methods inherited from class java.applet.Applet
destroy, getAppletContext, getAudioClip, getAudioClip, getCodeBase, getDocumentBase, getImage, getImage, getLocale, 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, paint, paintComponents, paramString, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setCursor, setFont, setLayout, update, 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, 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, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, remove, removeComponentListener, removeFocusListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, reshape, setBackground, setBounds, setBounds, setComponentOrientation, setDropTarget, setEnabled, setForeground, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, transferFocus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

minSizeInPlace

protected static Dimension minSizeInPlace

minSizeAsButton

protected static Dimension minSizeAsButton
Constructor Detail

JexaApplet

public JexaApplet()
Method Detail

getAppletInfo

public String getAppletInfo()
Overrides:
getAppletInfo in class Applet

getAppletTitle

public String getAppletTitle()
title for applet. either "title" parameter or default: "Jexa: Applets in page"
Overrides:
getAppletTitle in class FrameableApplet

getObjectToExamine

public Object getObjectToExamine()
default: display list of all applets sharing this page

getMinSizeInPlace

protected Dimension getMinSizeInPlace()
Overrides:
getMinSizeInPlace in class FrameableApplet
Tags copied from class: FrameableApplet
See Also:
FrameableApplet.init()

getMinSizeAsButton

protected Dimension getMinSizeAsButton()
Overrides:
getMinSizeAsButton in class FrameableApplet
Tags copied from class: FrameableApplet
See Also:
FrameableApplet.init()

initPanelInPlaceApplet

public void initPanelInPlaceApplet()
Description copied from class: FrameableApplet
Initialization for displaying applet in place on page. Makes sure layout is BorderLayout. Creates a frame-like titlebar pane and does this.add(titleBar, BorderLayout.NORTH). Titlebar contains a button which enables applet to be recreated as a window frame.
Overrides:
initPanelInPlaceApplet in class FrameableApplet
Tags copied from class: FrameableApplet
See Also:
FrameableApplet.getParameterInfo()

getButtonStartText

protected String getButtonStartText()
default: Jexa.getJexaBundleString( JexaWindowStart )
Overrides:
getButtonStartText in class FrameableApplet

getButtonStartingText

protected String getButtonStartingText()
default: Jexa.getJexaBundleString( JexaWindowStarting )
Overrides:
getButtonStartingText in class FrameableApplet

getButtonStartedText

protected String getButtonStartedText()
default: Jexa.getJexaBundleString( JexaWindowStarted )
Overrides:
getButtonStartedText in class FrameableApplet

initFrameApplet

public Frame initFrameApplet()
Start up window frame; 0x0 applet size on page.
Overrides:
initFrameApplet in class FrameableApplet
See Also:
FrameableApplet.getParameterInfo()

toString

public String toString()
Overrides:
toString in class Component

Copyright (c) 1996-1999
Massachusetts Institute of Technology

Feedback: jeva-feedback@ai.mit.edu