Class AppletHull

java.lang.Object
java.awt.Component
java.awt.Container
java.awt.Panel
java.applet.Applet
au.edu.unsw.cse.Applet3d
au.edu.unsw.cse.AppletHull
All Implemented Interfaces:
java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible

public class AppletHull
extends Applet3d
See Also:
Serialized Form
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.applet.Applet

    java.applet.Applet.AccessibleApplet

    Nested classes/interfaces inherited from class java.awt.Panel

    java.awt.Panel.AccessibleAWTPanel

    Nested classes/interfaces inherited from class java.awt.Container

    java.awt.Container.AccessibleAWTContainer

    Nested classes/interfaces inherited from class java.awt.Component

    java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
  • Field Summary

    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

    Constructors
    Constructor Description
    AppletHull()  
  • Method Summary

    Modifier and Type Method Description
    boolean action​(java.awt.Event evt, java.lang.Object arg)  
    java.awt.Choice createModelChoice()
    override this method if we want a choice of models
    Object3dList defaultModel()
    defaultModel to display
    java.lang.String getAppletInfo()  
    java.lang.String[][] getDefaultParameters()  
    void init()  
    static void main​(java.lang.String[] args)  
    boolean mouseEnter​(java.awt.Event e, int x, int y)  
    void selectDimension()
    Set things up for 2D or 3D display
    Object3dList selectModel​(java.lang.String choice)
    override this method if we want a choice of models
    void setDistribution()  

    Methods inherited from class java.applet.Applet

    destroy, getAccessibleContext, getAppletContext, getAudioClip, getAudioClip, getCodeBase, getDocumentBase, getImage, getImage, getLocale, isActive, isValidateRoot, 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, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, paramString, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setComponentZOrder, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, setLayout, transferFocusDownCycle, validate, validateTree

    Methods inherited from class java.awt.Component

    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, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBaseline, getBaselineResizeBehavior, 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, getMousePosition, getMouseWheelListeners, getName, getParent, 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, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, 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, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, requestFocusInWindow, reshape, revalidate, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setMixingCutoutShape, setName, setPreferredSize, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • AppletHull

      public AppletHull()
  • Method Details

    • init

      public void init()
      Overrides:
      init in class Applet3d
    • setDistribution

      public void setDistribution()
    • action

      public boolean action​(java.awt.Event evt, java.lang.Object arg)
      Overrides:
      action in class Applet3d
    • mouseEnter

      public boolean mouseEnter​(java.awt.Event e, int x, int y)
      Overrides:
      mouseEnter in class Applet3d
    • createModelChoice

      public java.awt.Choice createModelChoice()
      Description copied from class: Applet3d
      override this method if we want a choice of models
      Overrides:
      createModelChoice in class Applet3d
    • selectModel

      public Object3dList selectModel​(java.lang.String choice)
      override this method if we want a choice of models
      Overrides:
      selectModel in class Applet3d
    • selectDimension

      public void selectDimension()
      Set things up for 2D or 3D display
    • defaultModel

      public Object3dList defaultModel()
      defaultModel to display
      Overrides:
      defaultModel in class Applet3d
    • getDefaultParameters

      public java.lang.String[][] getDefaultParameters()
      Overrides:
      getDefaultParameters in class Applet3d
    • getAppletInfo

      public java.lang.String getAppletInfo()
      Overrides:
      getAppletInfo in class Applet3d
    • main

      public static void main​(java.lang.String[] args)