2002-07-17 04:07:32 +08:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
< HTML >
< HEAD >
2002-08-29 22:29:49 +08:00
< TITLE > class OSGGA_EXPORT osgGA::GUIEventAdapter< / TITLE >
2002-07-17 04:07:32 +08:00
< META NAME = "GENERATOR" CONTENT = "DOC++ 3.4.8" >
< / HEAD >
< BODY BGCOLOR = "#ffffff" >
2002-08-29 22:29:49 +08:00
< H2 > class OSGGA_EXPORT < A HREF = "#DOC.DOCU" > osgGA::GUIEventAdapter< / A > < / H2 > < / H2 > < BLOCKQUOTE > Pure virtual base class for adapting platform specific events into generic keyboard and mouse events.< / BLOCKQUOTE >
2002-07-17 04:07:32 +08:00
< HR >
< H2 > Inheritance:< / H2 >
< APPLET CODE = "ClassGraph.class" WIDTH = 600 HEIGHT = 65 >
< param name = classes value = "Mosg::Referenced,M,CGUIEventAdapter,MGUIEventAdapter.html" >
< param name = before value = "M,M" >
< param name = after value = "Md_,M" >
< param name = indent value = "0,1" >
< param name = arrowdir value = "down" >
< / APPLET >
< HR >
< DL >
< P > < DL >
< DT > < H3 > Public Methods< / H3 > < DD > < DT >
2002-08-29 22:29:49 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual <!1> < A HREF = "GUIEventAdapter.html#DOC.2.5.2" > EventType< / A > < B > < A HREF = "#DOC.2.5.3" > getEventType< / A > < / B > () const = 0
2002-07-17 04:07:32 +08:00
< DD > < I > Get the EventType of the GUI event< / I >
< DT >
2002-08-29 22:29:49 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual int < B > < A HREF = "#DOC.2.5.4" > getKey< / A > < / B > () const = 0
< DD > < I > key pressed, return -1 if inappr opriate for this event.< / I >
2002-07-17 04:07:32 +08:00
< DT >
2002-08-29 22:29:49 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual int < B > < A HREF = "#DOC.2.5.5" > getButton< / A > < / B > () const = 0
2002-07-17 04:07:32 +08:00
< DD > < I > button pressed/released, return -1 if inappropriate for this event< / I >
< DT >
2002-08-29 22:29:49 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual int < B > < A HREF = "#DOC.2.5.6" > getXmin< / A > < / B > () const = 0
2002-07-17 04:07:32 +08:00
< DD > < I > window minimum x.< / I >
< DT >
2002-08-29 22:29:49 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual int < B > < A HREF = "#DOC.2.5.7" > getXmax< / A > < / B > () const = 0
2002-07-17 04:07:32 +08:00
< DD > < I > window maximum x.< / I >
< DT >
2002-08-29 22:29:49 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual int < B > < A HREF = "#DOC.2.5.8" > getYmin< / A > < / B > () const = 0
2002-07-17 04:07:32 +08:00
< DD > < I > window minimum y.< / I >
< DT >
2002-08-29 22:29:49 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual int < B > < A HREF = "#DOC.2.5.9" > getYmax< / A > < / B > () const = 0
2002-07-17 04:07:32 +08:00
< DD > < I > window maximum y.< / I >
< DT >
2002-08-29 22:29:49 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual int < B > < A HREF = "#DOC.2.5.10" > getX< / A > < / B > () const = 0
2002-07-17 04:07:32 +08:00
< DD > < I > current mouse x position< / I >
< DT >
2002-08-29 22:29:49 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual int < B > < A HREF = "#DOC.2.5.11" > getY< / A > < / B > () const = 0
2002-07-17 04:07:32 +08:00
< DD > < I > current mouse y position< / I >
< DT >
2002-08-29 22:29:49 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual unsigned int < B > < A HREF = "#DOC.2.5.12" > getButtonMask< / A > < / B > () const = 0
2002-07-17 04:07:32 +08:00
< DD > < I > current mouse button state < / I >
< DT >
2002-08-29 22:29:49 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual double < B > < A HREF = "#DOC.2.5.13" > time< / A > < / B > () const = 0
2002-07-17 04:07:32 +08:00
< DD > < I > time in seconds of event.< / I >
< / DL > < / P >
< P > < DL >
< DT > < H3 > Public Members< / H3 > < DD > < DT >
2002-08-29 22:29:49 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > enum < B > < A HREF = "#DOC.2.5.1" > MouseButtonMask< / A > < / B >
2002-07-17 04:07:32 +08:00
< DT >
2002-08-29 22:29:49 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > enum < B > < A HREF = "#DOC.2.5.2" > EventType< / A > < / B >
2002-07-17 04:07:32 +08:00
< / DL > < / P >
< P > < DL >
< DT > < H3 > Protected Methods< / H3 > < DD > < DT >
2002-08-29 22:29:49 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > < B > < A HREF = "#DOC.2.5.14" > GUIEventAdapter< / A > < / B > ()
< DT >
2002-07-17 04:07:32 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual < B > < A HREF = "#DOC.2.5.15" > ~GUIEventAdapter< / A > < / B > ()
< DD > < I > Force users to create on heap, so that multiple referencing is safe< / I >
< / DL > < / P >
< / DL >
< A NAME = "DOC.DOCU" > < / A >
< HR >
< H2 > Documentation< / H2 >
2002-08-29 22:29:49 +08:00
< BLOCKQUOTE >
Pure virtual base class for adapting platform specific events into
2002-07-17 04:07:32 +08:00
generic keyboard and mouse events.
2002-08-29 22:29:49 +08:00
< P > Used as GUI toolkit-independent input into GUIEventAdapters. Viewer
writers should subclass this base class to implement the functionality
to translate one of their GUI events, e.g. a Qt Event or an MFC Event,
as appropriate.< / BLOCKQUOTE >
2002-07-17 04:07:32 +08:00
< DL >
< A NAME = "MouseButtonMask" > < / A >
2002-08-29 22:29:49 +08:00
< A NAME = "DOC.2.5.1" > < / A >
2002-07-17 04:07:32 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > enum MouseButtonMask< / B > < / TT >
< DL > < DT > < DD > < / DL > < P > < DL >
< A NAME = "LEFT_MOUSE_BUTTON" > < / A >
2002-08-29 22:29:49 +08:00
< A NAME = "DOC.2.5.1.1" > < / A >
2002-07-17 04:07:32 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > LEFT_MOUSE_BUTTON< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "MIDDLE_MOUSE_BUTTON" > < / A >
2002-08-29 22:29:49 +08:00
< A NAME = "DOC.2.5.1.2" > < / A >
2002-07-17 04:07:32 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > MIDDLE_MOUSE_BUTTON< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "RIGHT_MOUSE_BUTTON" > < / A >
2002-08-29 22:29:49 +08:00
< A NAME = "DOC.2.5.1.3" > < / A >
2002-07-17 04:07:32 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > RIGHT_MOUSE_BUTTON< / B > < / TT >
< DL > < DT > < DD > < / DL > < P > < / DL >
< A NAME = "EventType" > < / A >
2002-08-29 22:29:49 +08:00
< A NAME = "DOC.2.5.2" > < / A >
2002-07-17 04:07:32 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > enum EventType< / B > < / TT >
< DL > < DT > < DD > < / DL > < P > < DL >
< A NAME = "PUSH" > < / A >
2002-08-29 22:29:49 +08:00
< A NAME = "DOC.2.5.2.1" > < / A >
2002-07-17 04:07:32 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > PUSH< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "RELEASE" > < / A >
2002-08-29 22:29:49 +08:00
< A NAME = "DOC.2.5.2.2" > < / A >
2002-07-17 04:07:32 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > RELEASE< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "DRAG" > < / A >
2002-08-29 22:29:49 +08:00
< A NAME = "DOC.2.5.2.3" > < / A >
2002-07-17 04:07:32 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > DRAG< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "MOVE" > < / A >
2002-08-29 22:29:49 +08:00
< A NAME = "DOC.2.5.2.4" > < / A >
2002-07-17 04:07:32 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > MOVE< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "KEYBOARD" > < / A >
2002-08-29 22:29:49 +08:00
< A NAME = "DOC.2.5.2.5" > < / A >
2002-07-17 04:07:32 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > KEYBOARD< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "FRAME" > < / A >
2002-08-29 22:29:49 +08:00
< A NAME = "DOC.2.5.2.6" > < / A >
2002-07-17 04:07:32 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > FRAME< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "RESIZE" > < / A >
2002-08-29 22:29:49 +08:00
< A NAME = "DOC.2.5.2.7" > < / A >
2002-07-17 04:07:32 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > RESIZE< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "NONE" > < / A >
2002-08-29 22:29:49 +08:00
< A NAME = "DOC.2.5.2.8" > < / A >
2002-07-17 04:07:32 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > NONE< / B > < / TT >
< DL > < DT > < DD > < / DL > < P > < / DL >
< A NAME = "getEventType" > < / A >
2002-08-29 22:29:49 +08:00
< A NAME = "DOC.2.5.3" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual <!1> < A HREF = "GUIEventAdapter.html#DOC.2.5.2" > EventType< / A > getEventType() const = 0< / B > < / TT >
2002-07-17 04:07:32 +08:00
< DD > Get the EventType of the GUI event
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getKey" > < / A >
2002-08-29 22:29:49 +08:00
< A NAME = "DOC.2.5.4" > < / A >
2002-07-17 04:07:32 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual int getKey() const = 0< / B > < / TT >
2002-08-29 22:29:49 +08:00
< DD > key pressed, return -1 if inappr opriate for this event.
2002-07-17 04:07:32 +08:00
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getButton" > < / A >
2002-08-29 22:29:49 +08:00
< A NAME = "DOC.2.5.5" > < / A >
2002-07-17 04:07:32 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual int getButton() const = 0< / B > < / TT >
< DD > button pressed/released, return -1 if inappropriate for this event
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getXmin" > < / A >
2002-08-29 22:29:49 +08:00
< A NAME = "DOC.2.5.6" > < / A >
2002-07-17 04:07:32 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual int getXmin() const = 0< / B > < / TT >
< DD > window minimum x.
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getXmax" > < / A >
2002-08-29 22:29:49 +08:00
< A NAME = "DOC.2.5.7" > < / A >
2002-07-17 04:07:32 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual int getXmax() const = 0< / B > < / TT >
< DD > window maximum x.
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getYmin" > < / A >
2002-08-29 22:29:49 +08:00
< A NAME = "DOC.2.5.8" > < / A >
2002-07-17 04:07:32 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual int getYmin() const = 0< / B > < / TT >
< DD > window minimum y.
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getYmax" > < / A >
2002-08-29 22:29:49 +08:00
< A NAME = "DOC.2.5.9" > < / A >
2002-07-17 04:07:32 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual int getYmax() const = 0< / B > < / TT >
< DD > window maximum y.
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getX" > < / A >
2002-08-29 22:29:49 +08:00
< A NAME = "DOC.2.5.10" > < / A >
2002-07-17 04:07:32 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual int getX() const = 0< / B > < / TT >
< DD > current mouse x position
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getY" > < / A >
2002-08-29 22:29:49 +08:00
< A NAME = "DOC.2.5.11" > < / A >
2002-07-17 04:07:32 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual int getY() const = 0< / B > < / TT >
< DD > current mouse y position
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getButtonMask" > < / A >
2002-08-29 22:29:49 +08:00
< A NAME = "DOC.2.5.12" > < / A >
2002-07-17 04:07:32 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual unsigned int getButtonMask() const = 0< / B > < / TT >
< DD > current mouse button state
< DL > < DT > < DD > < / DL > < P >
< A NAME = "time" > < / A >
2002-08-29 22:29:49 +08:00
< A NAME = "DOC.2.5.13" > < / A >
2002-07-17 04:07:32 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual double time() const = 0< / B > < / TT >
< DD > time in seconds of event.
< DL > < DT > < DD > < / DL > < P >
2002-08-29 22:29:49 +08:00
< A NAME = "GUIEventAdapter" > < / A >
< A NAME = "DOC.2.5.14" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > GUIEventAdapter()< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
2002-07-17 04:07:32 +08:00
< A NAME = "~GUIEventAdapter" > < / A >
< A NAME = "DOC.2.5.15" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual ~GUIEventAdapter()< / B > < / TT >
< DD > Force users to create on heap, so that multiple referencing is safe
< DL > < DT > < DD > < / DL > < P > < / DL >
< HR > < DL > < DT > < B > This class has no child classes.< / B > < / DL >
< DL > < DT > < DD > < / DL > < P > < P > < I > < A HREF = "index.html" > Alphabetic index< / A > < / I > < I > < A HREF = "HIER.html" > HTML hierarchy of classes< / A > or < A HREF = "HIERjava.html" > Java< / A > < / I > < / P > < HR >
< BR >
This page was generated with the help of < A HREF = "http://docpp.sourceforge.net" > DOC++< / A > .
< / BODY >
< / HTML >