public interface DialogPeer extends WindowPeer
Dialog
. This adds a couple of dialog specific
features to the WindowPeer
interface.
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 |
blockWindows(List<Window> windows)
Block the specified windows.
|
void |
setResizable(boolean resizeable)
Sets if the dialog should be resizable or not.
|
void |
setTitle(String title)
Sets the title on the dialog window.
|
repositionSecurityWarning, setModalBlocked, setOpacity, setOpaque, toBack, toFront, updateAlwaysOnTopState, updateFocusableWindowState, updateIconImages, updateMinimumSize, updateWindow
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 setTitle(String title)
title
- the title to setDialog.setTitle(String)
void setResizable(boolean resizeable)
resizeable
- true
when the dialog should be resizable,
false
if notDialog.setResizable(boolean)
void blockWindows(List<Window> windows)
windows
- the windows to blockDialog.modalShow()
,
Dialog#blockWindows()
Dracula Javadoc Sample, Made with Allan Im.