public class DialogWrapperPeerImpl extends DialogWrapperPeer
HAVE_INITIAL_SELECTION
Modifier | Constructor and Description |
---|---|
protected |
DialogWrapperPeerImpl(DialogWrapper wrapper,
boolean canBeParent) |
protected |
DialogWrapperPeerImpl(DialogWrapper wrapper,
java.awt.Component parent,
boolean canBeParent) |
protected |
DialogWrapperPeerImpl(DialogWrapper wrapper,
Project project,
boolean canBeParent)
Creates modal
DialogWrapper . |
protected |
DialogWrapperPeerImpl(DialogWrapper wrapper,
Project project,
boolean canBeParent,
DialogWrapper.IdeModalityType ideModalityType) |
protected |
DialogWrapperPeerImpl(DialogWrapper wrapper,
java.awt.Window owner,
boolean canBeParent,
DialogWrapper.IdeModalityType ideModalityType) |
Modifier and Type | Method and Description |
---|---|
void |
addKeyListener(java.awt.event.KeyListener listener) |
void |
addMouseListener(java.awt.event.MouseListener listener) |
void |
addMouseListener(java.awt.event.MouseMotionListener listener) |
void |
centerInParent() |
protected void |
dispose()
Dispose the wrapped and releases all resources allocated be the wrapper to help
more efficient garbage collection.
|
java.awt.Container |
getContentPane() |
java.lang.Object[] |
getCurrentModalEntities() |
java.awt.Point |
getLocation() |
java.awt.Window |
getOwner() |
java.awt.Dimension |
getPreferredSize() |
javax.swing.JRootPane |
getRootPane() |
java.awt.Dimension |
getSize() |
java.lang.String |
getTitle() |
java.awt.Window |
getWindow() |
boolean |
isHeadless() |
static boolean |
isHeadlessEnv() |
boolean |
isModal() |
void |
isResizable() |
boolean |
isShowing() |
boolean |
isVisible() |
void |
pack() |
void |
repaint() |
void |
setAppIcons() |
void |
setAutoRequestFocus(boolean b) |
void |
setContentPane(javax.swing.JComponent content) |
void |
setLocation(int x,
int y) |
void |
setLocation(java.awt.Point p) |
void |
setModal(boolean modal) |
void |
setResizable(boolean resizable) |
void |
setSize(int width,
int height) |
void |
setTitle(java.lang.String title) |
void |
setUndecorated(boolean undecorated) |
ActionCallback |
show() |
void |
toBack() |
void |
toFront() |
void |
validate() |
protected DialogWrapperPeerImpl(DialogWrapper wrapper, Project project, boolean canBeParent, DialogWrapper.IdeModalityType ideModalityType)
protected DialogWrapperPeerImpl(DialogWrapper wrapper, Project project, boolean canBeParent)
DialogWrapper
. The currently active window will be the dialog's parent.project
- parent window for the dialog will be calculated based on focused window for the
specified project
. This parameter can be null
. In this case parent window
will be suggested based on current focused window.canBeParent
- specifies whether the dialog can be parent for other windows. This parameter is used
by WindowManager
.protected DialogWrapperPeerImpl(DialogWrapper wrapper, boolean canBeParent)
protected DialogWrapperPeerImpl(DialogWrapper wrapper, java.awt.Component parent, boolean canBeParent)
parent
- parent component (must be showing) which is used to calculate heavy weight window ancestor.protected DialogWrapperPeerImpl(DialogWrapper wrapper, java.awt.Window owner, boolean canBeParent, DialogWrapper.IdeModalityType ideModalityType)
public static boolean isHeadlessEnv()
public boolean isHeadless()
isHeadless
in class DialogWrapperPeer
public java.lang.Object[] getCurrentModalEntities()
getCurrentModalEntities
in class DialogWrapperPeer
public void setUndecorated(boolean undecorated)
setUndecorated
in class DialogWrapperPeer
public void addMouseListener(java.awt.event.MouseListener listener)
addMouseListener
in class DialogWrapperPeer
Component.addMouseListener(java.awt.event.MouseListener)
public void addMouseListener(java.awt.event.MouseMotionListener listener)
addMouseListener
in class DialogWrapperPeer
Component.addMouseMotionListener(java.awt.event.MouseMotionListener)
public void addKeyListener(java.awt.event.KeyListener listener)
addKeyListener
in class DialogWrapperPeer
Component.addKeyListener(java.awt.event.KeyListener)
public void toFront()
toFront
in class DialogWrapperPeer
Window.toFront()
public void toBack()
toBack
in class DialogWrapperPeer
Window.toBack()
protected void dispose()
DialogWrapperPeer
dispose
.dispose
in class DialogWrapperPeer
public java.awt.Container getContentPane()
getContentPane
in class DialogWrapperPeer
JDialog.getContentPane()
public void validate()
validate
in class DialogWrapperPeer
Container.validate()
public void repaint()
repaint
in class DialogWrapperPeer
JDialog.repaint(long, int, int, int, int)
public java.awt.Window getOwner()
getOwner
in class DialogWrapperPeer
Window.getOwner()
public java.awt.Window getWindow()
getWindow
in class DialogWrapperPeer
public javax.swing.JRootPane getRootPane()
getRootPane
in class DialogWrapperPeer
JDialog.getRootPane()
public java.awt.Dimension getSize()
getSize
in class DialogWrapperPeer
Component.getSize()
public java.lang.String getTitle()
getTitle
in class DialogWrapperPeer
Dialog.getTitle()
public void pack()
pack
in class DialogWrapperPeer
Window.pack()
public void setAppIcons()
setAppIcons
in class DialogWrapperPeer
public java.awt.Dimension getPreferredSize()
getPreferredSize
in class DialogWrapperPeer
public void setModal(boolean modal)
setModal
in class DialogWrapperPeer
public boolean isModal()
isModal
in class DialogWrapperPeer
public boolean isVisible()
isVisible
in class DialogWrapperPeer
Component.isVisible()
public boolean isShowing()
isShowing
in class DialogWrapperPeer
Window.isShowing()
public void setSize(int width, int height)
setSize
in class DialogWrapperPeer
Window.setSize(java.awt.Dimension)
public void setTitle(java.lang.String title)
setTitle
in class DialogWrapperPeer
Dialog.setTitle(java.lang.String)
public void isResizable()
isResizable
in class DialogWrapperPeer
Dialog.isResizable()
public void setResizable(boolean resizable)
setResizable
in class DialogWrapperPeer
Dialog.setResizable(boolean)
public java.awt.Point getLocation()
getLocation
in class DialogWrapperPeer
Component.getLocation()
public void setLocation(java.awt.Point p)
setLocation
in class DialogWrapperPeer
Window.setLocation(java.awt.Point)
public void setLocation(int x, int y)
setLocation
in class DialogWrapperPeer
Window.setLocation(int,int)
public ActionCallback show()
show
in class DialogWrapperPeer
public void setContentPane(javax.swing.JComponent content)
setContentPane
in class DialogWrapperPeer
public void centerInParent()
centerInParent
in class DialogWrapperPeer
public void setAutoRequestFocus(boolean b)