Window
.
The peer interfaces are intended only for use in porting
the AWT. They are not intended for use by application
developers, and developers should not implement peers
nor invoke any of the peer methods directly on the peer
instances.
Modifier and Type | Method and Description |
---|---|
public GraphicsConfiguration | Returns: a graphics configuration that best suits this Windowthe requested graphics configuration gc)Requests a GC that best suits this Window. |
public void | |
public void | setModalBlocked(Dialog
the blocking modal dialog blocker, boolean true to block the window, false
to unblock itSets if this window is blocked by a modal dialog or not. |
public void | |
public void | setOpaque(boolean
whether or not per-pixel alpha support is
enabled isOpaque)Enables the per-pixel alpha support for the window. |
public void | |
public void | |
public void | |
public void | |
public void | |
public void | |
public void |
getAppropriateGraphicsConfiguration | back to summary |
---|---|
public GraphicsConfiguration getAppropriateGraphicsConfiguration(GraphicsConfiguration gc) Requests a GC that best suits this Window. The returned GC may differ from the requested GC passed as the argument to this method. This method must return a non-null value (given the argument is non-null as well).
|
repositionSecurityWarning | back to summary |
---|---|
public void repositionSecurityWarning() Instructs the peer to update the position of the security warning. |
setModalBlocked | back to summary |
---|---|
public void setModalBlocked(Dialog blocker, boolean blocked) Sets if this window is blocked by a modal dialog or not.
|
setOpacity | back to summary |
---|---|
public void setOpacity(float opacity) Sets the level of opacity for the window.
|
setOpaque | back to summary |
---|---|
public void setOpaque(boolean isOpaque) Enables the per-pixel alpha support for the window.
|
toBack | back to summary |
---|---|
public void toBack() Makes this window the bottommost window on the desktop.
|
toFront | back to summary |
---|---|
public void toFront() Makes this window the topmost window on the desktop.
|
updateAlwaysOnTopState | back to summary |
---|---|
public void updateAlwaysOnTopState() Updates the window's always-on-top state. Sets if the window should always stay on top of all other windows or not. |
updateFocusableWindowState | back to summary |
---|---|
public void updateFocusableWindowState() Updates the window's focusable state. |
updateIconImages | back to summary |
---|---|
public void updateIconImages() Updates the icons for the window.
|
updateMinimumSize | back to summary |
---|---|
public void updateMinimumSize() Updates the minimum size on the peer.
|
updateWindow | back to summary |
---|---|
public void updateWindow() Updates the native part of non-opaque window.
|