public class GLApplet extends javax.swing.JApplet implements IApplication, MouseListener
| Constructor and Description |
|---|
GLApplet() |
| Modifier and Type | Method and Description |
|---|---|
void |
attachGui(ApplicationGui gui) |
void |
destroy()
Destroy this application
|
void |
exit()
Destroy this application and exit
|
Point |
getAppLocation() |
Size |
getAppSize() |
ISceneTarget |
getSceneTarget() |
void |
init() |
void |
init(ISceneTarget sceneTarget)
Initialize this
IApplication with the specified ISceneTarget. |
boolean |
mouseClicked(MouseEvent me) |
void |
mouseEntered(MouseEvent me) |
void |
mouseExited(MouseEvent e) |
boolean |
mousePressed(MouseEvent e) |
boolean |
mouseReleased(MouseEvent e) |
void |
run() |
void |
setAppLocation(Point location) |
void |
setAppSize(Size size) |
void |
setDisplayMode(DisplayMode displayMode) |
void |
setTitle(java.lang.String title) |
void |
setVisible(boolean visible) |
void |
start() |
void |
stop() |
getAccessibleContext, getContentPane, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, remove, repaint, setContentPane, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setTransferHandler, updategetAppletContext, getAppletInfo, getAudioClip, getAudioClip, getCodeBase, getDocumentBase, getImage, getImage, getLocale, getParameter, getParameterInfo, isActive, isValidateRoot, newAudioClip, play, play, resize, resize, setStub, showStatusadd, add, add, add, add, addContainerListener, 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, paint, paintComponents, preferredSize, print, printComponents, remove, removeAll, removeContainerListener, removeNotify, setComponentZOrder, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusDownCycle, validateaction, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, dispatchEvent, enable, enable, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, 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, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocusInWindow, reshape, revalidate, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCyclepublic void init()
init in class java.applet.Appletpublic void start()
start in class java.applet.Appletpublic void run()
run in interface java.lang.Runnablepublic void stop()
stop in class java.applet.Appletpublic void destroy()
IApplicationdestroy in interface IApplicationdestroy in class java.applet.Appletpublic void exit()
IApplicationexit in interface IApplicationpublic void setAppLocation(Point location)
setAppLocation in interface IApplicationlocation - the location of the application window (or applet)public Point getAppLocation()
getAppLocation in interface IApplicationpublic void setAppSize(Size size)
setAppSize in interface IApplicationsize - the size of the application window (or applet)public Size getAppSize()
getAppSize in interface IApplicationpublic void setDisplayMode(DisplayMode displayMode)
setDisplayMode in interface IApplicationdisplayMode - a DisplayMode for fullscreen or null for window'ed/applet modepublic void setTitle(java.lang.String title)
setTitle in interface IApplicationtitle - the title (window bar title)public void attachGui(ApplicationGui gui)
public void init(ISceneTarget sceneTarget)
IApplicationIApplication with the specified ISceneTarget.init in interface IApplicationpublic ISceneTarget getSceneTarget()
getSceneTarget in interface IApplicationISceneTargetISceneTarget,
ISceneTarget.getScene()public void setVisible(boolean visible)
setVisible in class java.awt.Componentpublic void mouseEntered(MouseEvent me)
mouseEntered in interface MouseListenerme - the MouseEventpublic boolean mouseClicked(MouseEvent me)
mouseClicked in interface MouseListenerme - the MouseEventpublic void mouseExited(MouseEvent e)
mouseExited in interface MouseListenere - the MouseEventpublic boolean mousePressed(MouseEvent e)
mousePressed in interface MouseListenere - the MouseEventpublic boolean mouseReleased(MouseEvent e)
mouseReleased in interface MouseListenere - the MouseEventBonzai Engine 1.3.4 11/12/2015 - A Java OpenGL engine and tools for Windows/Mac/Linux/Android
Copyright © 2007-2015 Jérôme Jouvie bonzaiengine.com contact@bonzaiengine.com