|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--quicktime.std.movies.FullScreen
The FullScreen class implements the behavior for converting a screen to full screen mode and back to normal mode. Unlike the C API the QTJava implementation of the FullScreen calls does NOT allow QuickTime to create the window for you. The QTJava API allows you to put the specified screen into full screen mode and then a java window can be used to fill the screen and allow the full capabilities of Java to use the entire screen. The FullScreen can be used with Signed Applets also.
quicktime.app.display.FullScreenFrame
Fields inherited from interface quicktime.jdirect.QuickTimeLib |
JDirect_MacOSX, libraryInstance, name |
Constructor Summary | |
FullScreen()
This constructor creates a new FullScreen object. |
Method Summary | |
java.awt.Dimension |
begin(GDevice gd,
int desiredWidth,
int desiredHeight,
int flags)
Deprecated. as of QTJava 4.0 see beginFullScreen |
java.awt.Dimension |
begin(int flags)
Deprecated. as of QTJava 4.0 see beginFullScreen |
QDDimension |
beginFullScreen(GDevice gd,
int desiredWidth,
int desiredHeight,
int flags)
This method converts the main screen to full screen mode. |
QDDimension |
beginFullScreen(int flags)
This method converts the main screen to full screen mode by hiding menu bars, control strips, task bars, etc. |
void |
end()
This method converts the main screen from full screen mode to normal mode. |
void |
endFullScreen()
This method converts the main screen from full screen mode to normal mode. |
java.awt.Dimension |
getMainScreenSize()
Deprecated. as of QTJava 4.0 see getSizeOfMainScreen |
QDDimension |
getPreflightSize(GDevice gd,
int width,
int height)
Returns the closest size to the specified size for the specified screen. |
java.awt.Dimension |
getScreenSize(GDevice gd)
Deprecated. as of QTJava 4.0 see getSizeOfScreen |
QDDimension |
getSizeOfMainScreen()
Returns the current size in pixels of the main screen. |
QDDimension |
getSizeOfScreen(GDevice gd)
Returns the current size in pixels of the screen that is associated with the specified GDevice. |
java.awt.Dimension |
preflightSize(GDevice gd,
int width,
int height)
Deprecated. as of QTJava 4.0 see sizeOfScreen |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FullScreen()
Method Detail |
public java.awt.Dimension getMainScreenSize() throws StdQTException
public QDDimension getSizeOfMainScreen() throws StdQTException
public java.awt.Dimension getScreenSize(GDevice gd) throws StdQTException
public QDDimension getSizeOfScreen(GDevice gd) throws StdQTException
public java.awt.Dimension preflightSize(GDevice gd, int width, int height) throws StdQTException
gd
- the GDevice for the desired screen or null for the main screenwidth
- the desired width or 0 to retrieve the current width in pixels of the specified screenheight
- the desired height or 0 to retrieve the current height in pixels of the specified screenpublic QDDimension getPreflightSize(GDevice gd, int width, int height) throws StdQTException
gd
- the GDevice for the desired screen or null for the main screenwidth
- the desired width or 0 to retrieve the current width in pixels of the specified screenheight
- the desired height or 0 to retrieve the current height in pixels of the specified screenpublic java.awt.Dimension begin(int flags) throws StdQTException
flags
- controls the operation of this method.public QDDimension beginFullScreen(int flags) throws StdQTException
flags
- controls the operation of this method.public java.awt.Dimension begin(GDevice gd, int desiredWidth, int desiredHeight, int flags) throws StdQTException
desiredWidth
- Specifies the resolution width to be displayed for that screen.desiredHeight
- Specifies the resolution height to be displayed for that screen.flags
- Controls the operation of this method.public QDDimension beginFullScreen(GDevice gd, int desiredWidth, int desiredHeight, int flags) throws StdQTException
desiredWidth
- Specifies the resolution width to be displayed for that screen.desiredHeight
- Specifies the resolution height to be displayed for that screen.flags
- Controls the operation of this method.public void endFullScreen() throws StdQTException
public void end() throws StdQTException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |