|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.diamondspin.DSApplication
public class DSApplication
DSApplication provides all the basic features to start an application using DiamondSpin.
Copyright 2002-2009 DiamondSpin project. All Rights Reserved. Permission to use, copy, modify and distribute this software and its documentation for educational, research and non-profit purposes, without fee, and without a written agreement is hereby granted, provided that the above copyright notice and the following three paragraphs appear in all copies. To request Permission to incorporate this software into commercial products contact one of the authors of the project.
IN NO EVENT SHALL THE AUTHORS BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE AUTHORS HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. THE AUTHORS SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE AUTHORS HAS NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. |
Nested Class Summary | |
---|---|
static class |
DSApplication.CursorInfo
|
protected class |
DSApplication.LogAngle
|
Field Summary | |
---|---|
protected static int[] |
cursorState
|
protected static DisplayMode |
dispMode
|
protected static int |
doubleTapBetweenTapTime
|
protected static int |
doubleTapDistTolerance
|
protected static int |
doubleTapShortTapTime
|
protected static Properties |
DSprops
|
protected static DSTabletopPane |
dsTabletopPane
|
protected static String |
evtsource
|
protected static GraphicsDevice |
graphicDevice
|
static boolean |
integrationWithTime
|
protected static Point[] |
lastDragPosition
|
protected static List<DSApplication.LogAngle>[] |
lastFingerAngles
|
protected static Point[] |
lastPressPosition
|
protected static long[] |
lastPressTime
|
protected static Point[] |
lastReleasePosition
|
protected static long[] |
lastReleaseTime
|
static int |
MAX_FINGER_ANGLES
|
static int |
MAX_FINGERS
|
static int |
MAX_USERS
|
protected static int[] |
tapCount
|
protected static Window |
window
|
Constructor Summary | |
---|---|
DSApplication()
|
Method Summary | |
---|---|
static void |
displayInfos()
display usefull information when the program begins |
static void |
exit()
exit the application |
static String |
getEvtsource()
|
static int |
getFingerSize()
Gets the window attribute of the DSApplication class |
static GraphicsDevice |
getGraphicsDevice()
|
static Window |
getWindow()
Gets the window attribute of the DSApplication class |
static void |
init(DSTabletopPane dsTabletopPane_Arg,
boolean Fullscreen_Arg,
int bitNumber_Arg)
initialize an application using a given DSTabletopPane. |
static boolean |
isFullscreen()
|
static void |
setEvtsource(String aEvtsource)
|
static void |
setFullscreen(boolean Fullscreen_Arg)
set the application in fullscreen mode or in windowed mode |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static Properties DSprops
protected static Window window
protected static DSTabletopPane dsTabletopPane
protected static DisplayMode dispMode
protected static GraphicsDevice graphicDevice
public static final int MAX_USERS
public static final int MAX_FINGERS
protected static int doubleTapBetweenTapTime
protected static int doubleTapShortTapTime
protected static int doubleTapDistTolerance
protected static Point[] lastPressPosition
protected static Point[] lastReleasePosition
protected static Point[] lastDragPosition
public static int MAX_FINGER_ANGLES
public static boolean integrationWithTime
protected static List<DSApplication.LogAngle>[] lastFingerAngles
protected static int[] cursorState
protected static long[] lastPressTime
protected static long[] lastReleaseTime
protected static int[] tapCount
protected static String evtsource
Constructor Detail |
---|
public DSApplication()
Method Detail |
---|
public static String getEvtsource()
public static void setEvtsource(String aEvtsource)
aEvtsource
- the evtsource to setpublic static GraphicsDevice getGraphicsDevice()
public static void exit()
public static void init(DSTabletopPane dsTabletopPane_Arg, boolean Fullscreen_Arg, int bitNumber_Arg)
dsTabletopPane_Arg
- the DSTabletopPaneFullscreen_Arg
- whether it runs fullscreenpublic static void setFullscreen(boolean Fullscreen_Arg)
Fullscreen_Arg
- The new fullscreen valuepublic static boolean isFullscreen()
public static void displayInfos()
public static Window getWindow()
public static int getFingerSize()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |