Class Applet3d

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

public class Applet3d
extends java.applet.Applet
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
    Applet3d()  
  • 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()  
    boolean getBoolParameter​(java.lang.String name)  
    protected java.awt.Color getColorParameter​(java.lang.String name)  
    java.lang.String[][] getDefaultParameters()  
    double getDoubleParameter​(java.lang.String name, double deefault)  
    int getIntParameter​(java.lang.String name, int deefault)  
    java.util.Vector getIntVectorParameter​(java.lang.String name)  
    java.lang.String getParameter​(java.lang.String name)  
    java.lang.String[][] getParameterInfo()  
    void init()  
    boolean mouseEnter​(java.awt.Event e, int x, int y)  
    boolean mouseExit​(java.awt.Event e, int x, int y)  
    void paint​(java.awt.Graphics g)  
    Object3dList selectModel​(java.lang.String choice)
    override this method if we want a choice of models
    void start()  
    void stop()  
    void update​(java.awt.Graphics g)  
    java.lang.String urlDecode​(java.lang.String s)
    decode URL, replacing escapes like %20 and + with the appropriate char

    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

    • Applet3d

      public Applet3d()
  • Method Details

    • init

      public void init()
      Overrides:
      init in class java.applet.Applet
    • start

      public void start()
      Overrides:
      start in class java.applet.Applet
    • stop

      public void stop()
      Overrides:
      stop in class java.applet.Applet
    • paint

      public void paint​(java.awt.Graphics g)
      Overrides:
      paint in class java.awt.Container
    • update

      public void update​(java.awt.Graphics g)
      Overrides:
      update in class java.awt.Container
    • mouseEnter

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

      public boolean mouseExit​(java.awt.Event e, int x, int y)
      Overrides:
      mouseExit in class java.awt.Component
    • action

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

      public java.awt.Choice createModelChoice()
      override this method if we want a choice of models
    • selectModel

      public Object3dList selectModel​(java.lang.String choice)
      override this method if we want a choice of models
    • defaultModel

      public Object3dList defaultModel()
      defaultModel to display
    • urlDecode

      public java.lang.String urlDecode​(java.lang.String s)
      decode URL, replacing escapes like %20 and + with the appropriate char
    • getParameter

      public java.lang.String getParameter​(java.lang.String name)
      Overrides:
      getParameter in class java.applet.Applet
    • getDefaultParameters

      public java.lang.String[][] getDefaultParameters()
    • getColorParameter

      protected java.awt.Color getColorParameter​(java.lang.String name)
    • getDoubleParameter

      public double getDoubleParameter​(java.lang.String name, double deefault)
    • getIntParameter

      public int getIntParameter​(java.lang.String name, int deefault)
    • getIntVectorParameter

      public java.util.Vector getIntVectorParameter​(java.lang.String name)
    • getBoolParameter

      public boolean getBoolParameter​(java.lang.String name)
    • getParameterInfo

      public java.lang.String[][] getParameterInfo()
      Overrides:
      getParameterInfo in class java.applet.Applet
    • getAppletInfo

      public java.lang.String getAppletInfo()
      Overrides:
      getAppletInfo in class java.applet.Applet