public interface WindowPeer extends ContainerPeer
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.DEFAULT_OPERATION, NO_EMBEDDED_CHECK, RESET_OPERATION, SET_BOUNDS, SET_CLIENT_SIZE, SET_LOCATION, SET_SIZE
Modifier and Type | Method and Description |
---|---|
void |
repositionSecurityWarning()
Instructs the peer to update the position of the security warning.
|
void |
setModalBlocked(Dialog blocker,
boolean blocked)
Sets if this window is blocked by a modal dialog or not.
|
void |
setOpacity(float opacity)
Sets the level of opacity for the window.
|
void |
setOpaque(boolean isOpaque)
Enables the per-pixel alpha support for the window.
|
void |
toBack()
Makes this window the bottommost window on the desktop.
|
void |
toFront()
Makes this window the topmost window on the desktop.
|
void |
updateAlwaysOnTopState()
Updates the window's always-on-top state.
|
void |
updateFocusableWindowState()
Updates the window's focusable state.
|
void |
updateIconImages()
Updates the icons for the window.
|
void |
updateMinimumSize()
Updates the minimum size on the peer.
|
void |
updateWindow()
Updates the native part of non-opaque window.
|
beginLayout, beginValidate, endLayout, endValidate, getInsets
applyShape, canDetermineObscurity, checkImage, coalescePaintEvent, createBuffers, createImage, createImage, createVolatileImage, destroyBuffers, dispose, flip, getBackBuffer, getColorModel, getFontMetrics, getGraphics, getGraphicsConfiguration, getLocationOnScreen, getMinimumSize, getPreferredSize, handleEvent, handlesWheelScrolling, isFocusable, isObscured, isReparentSupported, layout, paint, prepareImage, print, reparent, requestFocus, setBackground, setBounds, setEnabled, setFont, setForeground, setVisible, setZOrder, updateCursorImmediately, updateGraphicsData
void toFront()
Window.toFront()
void toBack()
Window.toBack()
void updateAlwaysOnTopState()
Window#getAlwaysOnTop()
,
Window.setAlwaysOnTop(boolean)
void updateFocusableWindowState()
Window.setFocusableWindowState(boolean)
void setModalBlocked(Dialog blocker, boolean blocked)
blocker
- the blocking modal dialogblocked
- true
to block the window, false
to unblock itvoid updateMinimumSize()
Window.setMinimumSize(Dimension)
void updateIconImages()
Window.setIconImages(java.util.List)
void setOpacity(float opacity)
Window.setOpacity(float)
void setOpaque(boolean isOpaque)
Window.setBackground(Color)
void updateWindow()
Window.setBackground(Color)
void repositionSecurityWarning()
Dracula Javadoc Sample, Made with Allan Im.