|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--java.awt.Window | +--quicktime.app.display.FullScreenWindow
This class is provided for usage when the screen is put into full screen mode. The class manages a FullScreen object that will hide menu bars, task bars, etc. thus making available the entire screen for an application to use. The FullScreenWindow is the window which will fill that screen. As it is an extension of a java.awt.Window any usage of this window is congruous with the usage of a Window in Java applications.
FullScreen
, Serialized FormInner classes inherited from class java.awt.Window |
java.awt.Window.AccessibleAWTWindow |
Inner classes inherited from class java.awt.Container |
java.awt.Container.AccessibleAWTContainer |
Inner classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent |
Field Summary | |
protected boolean |
doNotify
This variable controls whether addNotify will actually call or fail - failing is silent. |
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
FullScreenWindow()
Creates a awt.Window for use in full screen mode. |
|
FullScreenWindow(FullScreen fs)
Creates a awt.Window for use in full screen mode. |
|
FullScreenWindow(FullScreen fs,
java.awt.Frame f)
Creates a awt.Window for use in full screen mode. |
Method Summary | |
void |
addNotify()
The addNotify method can only be successful in this class during or after the execution of the show method. |
int |
getFlags()
Returns the flags that will be used when the screen is placed in full screen mode with the show method. |
FullScreen |
getFullScreen()
This returns the FullScreen object that is used by the FullScreenWindow to place the screen into full screen mode when the show method is called, and to return the screen to normal mode when the hide method is called. |
GDevice |
getGDevice()
Returns the device that corresponds to the screen that will be placed in full screen mode with the show method. |
java.awt.Insets |
getInsets()
Returns insets of 0, 0, 0, 0 as a FullScreenWindow has no frame or border. |
java.awt.Dimension |
getPreferredSize()
This returns a previously set value of the requested size of the FullScreenWindow. |
void |
hide()
This method will return the specified screen to normal mode. |
void |
pack()
For a full screen window pack can only be called after the window has been shown. |
void |
setFlags(int flags)
Sets the flags that will be used when the screen is placed in full screen mode with the show method. |
void |
setGDevice(GDevice gDevice)
Sets the device that corresponds to the screen that will be placed in full screen mode with the show method. |
void |
setPreferredSize(int width,
int height)
The application can set the requested size of the full screen when the screen is placed into full screen mode. |
void |
show()
This method is used to place the specified screen, at the specified resolution and flags, into full screen mode. |
Methods inherited from class java.awt.Window |
addWindowListener, applyResourceBundle, applyResourceBundle, dispose, finalize, getAccessibleContext, getFocusOwner, getGraphicsConfiguration, getInputContext, getListeners, getLocale, getOwnedWindows, getOwner, getToolkit, getWarningString, isShowing, postEvent, processEvent, processWindowEvent, removeWindowListener, setCursor, toBack, toFront |
Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, addImpl, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getLayout, getMaximumSize, getMinimumSize, insets, invalidate, isAncestorOf, layout, list, list, locate, minimumSize, paint, paintComponents, paramString, preferredSize, print, printComponents, processContainerEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setFont, setLayout, update, validate, validateTree |
Methods inherited from class java.awt.Component |
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addPropertyChangeListener, addPropertyChangeListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentOrientation, getCursor, getDropTarget, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getInputMethodRequests, getLocation, getLocation, getLocationOnScreen, getName, getParent, getPeer, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isDisplayable, isDoubleBuffered, isEnabled, isFocusTraversable, isLightweight, isOpaque, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setDropTarget, setEnabled, setForeground, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, size, toString, transferFocus |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected boolean doNotify
Constructor Detail |
public FullScreenWindow() throws QTException
public FullScreenWindow(FullScreen fs) throws QTException
fs
- the QuickTime FullScreen objectpublic FullScreenWindow(FullScreen fs, java.awt.Frame f) throws QTException
fs
- the QuickTime FullScreen objectf
- the Frame that owns the Window object.Method Detail |
public FullScreen getFullScreen()
public java.awt.Dimension getPreferredSize()
getPreferredSize
in class java.awt.Container
public void setPreferredSize(int width, int height)
width
- the requested width or 0 to leave the screen at its current resolution when full screen
mode is activated with the show method.height
- the requested height or 0 to leave the screen at its current resolution when full screen
mode is activated with the show method.public int getFlags()
public void setFlags(int flags)
flags
- the full screen flagspublic void setGDevice(GDevice gDevice)
gDevice
- the gDevice of a screen of null to set the main screenpublic GDevice getGDevice()
public void show()
Due to the restrictions of the usage of addNotify() with this class, the pack() method is also called from this method (as is toFront). Thus the method does multiple things:
show
in class java.awt.Window
public void hide()
hide
in class java.awt.Window
public void addNotify()
addNotify
in class java.awt.Window
public void pack()
pack
in class java.awt.Window
public java.awt.Insets getInsets()
getInsets
in class java.awt.Container
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |