APIdia Launch Partner
Top Description Methods
java.awt.peer

public Interface DialogPeer

extends WindowPeer
Known Direct Subinterfaces
java.awt.peer.FileDialogPeer
Known Direct Implementers
sun.awt.X11.XDialogPeer
Imports
java.awt.*

The peer interface for 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.

Method Summary

Modifier and TypeMethod and Description
public void
blockWindows(List<Window>
the windows to block
windows
)

Block the specified windows.

public void
setResizable(boolean
true when the dialog should be resizable, false if not
resizeable
)

Sets if the dialog should be resizable or not.

public void
setTitle(String
the title to set
title
)

Sets the title on the dialog window.

Inherited from java.awt.peer.WindowPeer:
getAppropriateGraphicsConfigurationsetModalBlockedsetOpacitysetOpaquetoBacktoFrontupdateAlwaysOnTopStateupdateFocusableWindowStateupdateIconImagesupdateMinimumSizeupdateWindow

Method Detail

blockWindowsback to summary
public void blockWindows(List<Window> windows)

Block the specified windows. This is used for modal dialogs.

Parameters
windows:List<Window>

the windows to block

See Also
Dialog#modalShow()
setResizableback to summary
public void setResizable(boolean resizeable)

Sets if the dialog should be resizable or not.

Parameters
resizeable:boolean

true when the dialog should be resizable, false if not

See Also
Dialog#setResizable(boolean)
setTitleback to summary
public void setTitle(String title)

Sets the title on the dialog window.

Parameters
title:String

the title to set

See Also
Dialog#setTitle(String)