com.sun.javafx.newt
Class Screen
java.lang.Object
com.sun.javafx.newt.Screen
public abstract class Screen
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
display
protected Display display
aScreen
protected AbstractGraphicsScreen aScreen
width
protected int width
height
protected int height
usrWidth
protected static int usrWidth
usrHeight
protected static int usrHeight
Screen
public Screen()
create
protected static Screen create(String type,
Display display,
int idx)
destroy
public void destroy()
wrapHandle
protected static Screen wrapHandle(String type,
Display display,
AbstractGraphicsScreen aScreen)
createNative
protected abstract void createNative(int index)
closeNative
protected abstract void closeNative()
setScreenSize
protected void setScreenSize(int w,
int h)
getDisplay
public Display getDisplay()
getIndex
public int getIndex()
getGraphicsScreen
public AbstractGraphicsScreen getGraphicsScreen()
getWidth
public int getWidth()
- The actual implementation shall return the detected display value,
if not we return 800.
This can be overwritten with the user property 'newt.ws.swidth',
getHeight
public int getHeight()
- The actual implementation shall return the detected display value,
if not we return 480.
This can be overwritten with the user property 'newt.ws.sheight',
Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.