gnu.x11.extension.glx
Class Application
java.lang.Object
gnu.app.Application
gnu.x11.Application
gnu.x11.extension.glx.Application
public abstract class Application
- extends Application
OpenGL application.
Fields inherited from class gnu.app.Application |
exit_now, help_option |
Constructor Summary |
protected |
Application(java.lang.String[] args,
int event_mask)
|
Method Summary |
protected void |
about(java.lang.String version,
java.lang.String description,
java.lang.String author,
java.lang.String url,
java.lang.String extra)
Check if print "about" and possible options and then exit. |
protected void |
exec()
|
protected void |
handle_button(int key,
int state,
int x,
int y)
|
protected boolean |
handle_delete()
|
protected boolean |
handle_event(Event event)
|
protected abstract void |
handle_expose()
|
protected void |
handle_keyboard(int key,
int state,
int x,
int y)
|
protected void |
handle_motion(int state,
int x,
int y)
|
protected void |
handle_resize(int width,
int height)
|
protected void |
init_window(int width,
int height)
|
protected void |
mark_window_dirty()
|
Methods inherited from class gnu.app.Application |
about, exit |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EVENT_BIT
protected static final int EVENT_BIT
- See Also:
- Constant Field Values
DELETE_BIT
protected static final int DELETE_BIT
- See Also:
- Constant Field Values
BUTTON_PRESS_BIT
protected static final int BUTTON_PRESS_BIT
- See Also:
- Constant Field Values
BUTTON_MOTION_BIT
protected static final int BUTTON_MOTION_BIT
- See Also:
- Constant Field Values
BUTTON1_MOTION_BIT
protected static final int BUTTON1_MOTION_BIT
- See Also:
- Constant Field Values
BUTTON2_MOTION_BIT
protected static final int BUTTON2_MOTION_BIT
- See Also:
- Constant Field Values
BUTTON3_MOTION_BIT
protected static final int BUTTON3_MOTION_BIT
- See Also:
- Constant Field Values
BUTTON4_MOTION_BIT
protected static final int BUTTON4_MOTION_BIT
- See Also:
- Constant Field Values
BUTTON5_MOTION_BIT
protected static final int BUTTON5_MOTION_BIT
- See Also:
- Constant Field Values
KEYBOARD_BIT
protected static final int KEYBOARD_BIT
- See Also:
- Constant Field Values
POINTER_MOTION_BIT
protected static final int POINTER_MOTION_BIT
- See Also:
- Constant Field Values
RESIZE_BIT
protected static final int RESIZE_BIT
- See Also:
- Constant Field Values
event_mask
protected int event_mask
event
protected Event event
gl
protected GL gl
glu
protected GLU glu
glut
protected GLUT glut
glx
protected GLX glx
leave_display_open
protected boolean leave_display_open
visual_config
protected VisualConfig visual_config
window
protected Window window
window_dirty
protected boolean window_dirty
Application
protected Application(java.lang.String[] args,
int event_mask)
handle_expose
protected abstract void handle_expose()
mark_window_dirty
protected void mark_window_dirty()
handle_button
protected void handle_button(int key,
int state,
int x,
int y)
handle_delete
protected boolean handle_delete()
handle_event
protected boolean handle_event(Event event)
handle_keyboard
protected void handle_keyboard(int key,
int state,
int x,
int y)
handle_motion
protected void handle_motion(int state,
int x,
int y)
handle_resize
protected void handle_resize(int width,
int height)
init_window
protected void init_window(int width,
int height)
about
protected void about(java.lang.String version,
java.lang.String description,
java.lang.String author,
java.lang.String url,
java.lang.String extra)
- Description copied from class:
gnu.app.Application
- Check if print "about" and possible options and then exit. This method
should be called only once after all options are specified.
- Overrides:
about
in class gnu.app.Application
exec
protected void exec()