APIdia Launch Partner
Top Methods
sun.awt.X11

public Interface XModalityProtocol


Method Summary

Modifier and TypeMethod and Description
public boolean
isBlocked(XDialogPeer dialog, XWindowPeer win)

Returns whether or not modal dialog blocks win.

public boolean
setModal(XDialogPeer dialog, boolean modal)

Sets modality mode on the dialog.

Method Detail

isBlockedback to summary
public boolean isBlocked(XDialogPeer dialog, XWindowPeer win)

Returns whether or not modal dialog blocks win. If dialog is null checks whether or not this windows is blocked by any dialog

setModalback to summary
public boolean setModal(XDialogPeer dialog, boolean modal)

Sets modality mode on the dialog. Returns true if the call to this function made dialog visible, otherwise returns false