public class XdevFullScreen extends XdevScreen implements XdevApplicationContainer
JWindow.AccessibleJWindow
Window.AccessibleAWTWindow, Window.Type
Container.AccessibleAWTContainer
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
XdevRootPaneContainer.Util
modal, owner, window
accessibleContext, rootPane, rootPaneCheckingEnabled
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, NORMAL
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
Constructor and Description |
---|
XdevFullScreen() |
Modifier and Type | Method and Description |
---|---|
URL |
getCodeBase()
Gets the base URL.
|
Image |
getImage(URL url)
Returns an
Image object that can then be painted on the
screen. |
void |
pack()
Causes this Window to be sized to fit the preferred size and layouts of
its subcomponents.
|
void |
setIconImage(Image img)
Sets the icon image of this
XdevApplicationContainer . |
void |
setLocationRelativeTo(Component arg0)
Sets the location of the
XdevRootPaneContainer relative to the
specified component. |
void |
setXdevWindow(XdevWindow window)
Sets the content of this
XdevRootPaneContainer . |
void |
showDocument(URL url)
Requests that the application container shows the Web page indicated by
the
url argument. |
void |
showDocument(URL url,
String target)
Requests that the application container shows the Web page indicated by
the
url argument. |
cleanup, close, getExtendedState, getWindow, getXdevWindow, setExtendedState, setResizable, setTitle, setVisible
addImpl, createRootPane, getAccessibleContext, getContentPane, getGlassPane, getGraphics, getLayeredPane, getRootPane, getTransferHandler, isRootPaneCheckingEnabled, paramString, remove, repaint, setContentPane, setGlassPane, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update, windowInit
addNotify, addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBackground, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOpacity, getOwnedWindows, getOwner, getOwnerlessWindows, getShape, getToolkit, getType, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, hide, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isAutoRequestFocus, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isOpaque, isShowing, isValidateRoot, paint, postEvent, processEvent, processWindowEvent, processWindowFocusEvent, processWindowStateEvent, removeNotify, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setAutoRequestFocus, setBackground, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImages, setLocation, setLocation, setLocationByPlatform, setMinimumSize, setModalExclusionType, setOpacity, setShape, setSize, setSize, setType, show, toBack, toFront
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusDownCycle, validate, validateTree
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, 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, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, revalidate, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getFontMetrics, getGraphics, getGraphicsConfiguration, getToolkit
addWindowListener, close, getBounds, getExtendedState, getLocation, getSize, getWindow, getXdevWindow, removeWindowListener, setBounds, setExtendedState, setLocation, setResizable, setTitle, setVisible, toBack, toFront
getContentPane, getGlassPane, getLayeredPane, getRootPane, setContentPane, setGlassPane, setLayeredPane
public void setXdevWindow(XdevWindow window)
XdevRootPaneContainer
.setXdevWindow
in interface XdevRootPaneContainer
setXdevWindow
in class XdevScreen
window
- the XdevWindow
for this XdevRootPaneContainer
public void setIconImage(Image img)
XdevApplicationContainer
.setIconImage
in interface XdevApplicationContainer
setIconImage
in class Window
img
- the image to be displayedpublic void pack()
If this container isn't a Window this method has no effect.
pack
in interface XdevRootPaneContainer
pack
in class Window
Component.isDisplayable()
public void setLocationRelativeTo(Component arg0)
XdevRootPaneContainer
relative to the
specified component.setLocationRelativeTo
in interface XdevRootPaneContainer
setLocationRelativeTo
in class Window
arg0
- the component in relation to which the
XdevRootPaneContainer
location is determinedpublic URL getCodeBase()
getCodeBase
in interface XdevApplicationContainer
URL
of the directory which contains
this XdevApplicationContainer.public Image getImage(URL url)
Image
object that can then be painted on the
screen. The url
that is passed as an argument must specify
an absolute URL.
This method always returns immediately, whether or not the image exists. When this XdevApplicationContainer attempts to draw the image on the screen, the data will be loaded. The graphics primitives that draw the image will incrementally paint on the screen.
getImage
in interface XdevApplicationContainer
url
- an absolute URL giving the location of the image.Image
public void showDocument(URL url)
url
argument. The browser or applet viewer determines
which window or frame to display the Web page.showDocument
in interface XdevApplicationContainer
url
- an absolute URL giving the location of the document.public void showDocument(URL url, String target)
url
argument. The target
argument indicates
in which HTML frame the document is to be displayed. The target argument
is interpreted as follows:
Target Argument | Description |
---|---|
"_self"
| Show in the window and frame that contain the applet. |
"_parent"
| Show in the applet's parent frame. If the applet's frame has no parent frame, acts the same as "_self". |
"_top"
| Show in the top-level frame of the applet's window. If the applet's frame is the top-level frame, acts the same as "_self". |
"_blank"
| Show in a new, unnamed top-level window. |
name | Show in the frame or window named name. If a target named name does not already exist, a new top-level window with the specified name is created, and the document is shown there. |
An applet viewer or browser is free to ignore this method.
showDocument
in interface XdevApplicationContainer
url
- an absolute URL giving the location of the document.target
- a String
indicating where to display the page.Copyright © 2003–2021 XDEV Software. All rights reserved.