| java.awt.Dialog javax.swing.JDialog
Inner Class :protected class AccessibleJDialog extends AccessibleAWTDialog | |
Constructor Summary | |
public | JDialog(Frame owner, String title, boolean modal, GraphicsConfiguration gc) Constructs a modal or non-modal dialog with the specified title and
with the specified owner. | public | JDialog(Dialog owner, String title, boolean modal, GraphicsConfiguration gc) Constructs a modal or on-modal dialog with the specified title and with
the specified owner. | public | JDialog(Frame owner, String title, boolean modal) Constructs a modal or non-modal dialog with the specified title and with
the specified owner. | public | JDialog(Frame owner, String title) Constructs a non-modal dialog with the specified title and with
the specified owner. | public | JDialog(Dialog owner, String title, boolean modal) Constructs a modal or on-modal dialog with the specified title and with
the specified owner. | public | JDialog(Dialog owner, String title) Constructs a non-modal dialog with the specified title and with
the specified owner. | public | JDialog(Frame owner, boolean modal) Constructs a non-modal dialog without a title and with
the specified owner. | public | JDialog(Frame owner) Constructs a non-modal dialog without a title and with
the specified owner. | public | JDialog(Dialog owner, boolean modal) Constructs a modal or non-modal dialog without a title and with
the specified owner. | public | JDialog(Dialog owner) Constructs a non-modal dialog without a title and with
the specified owner. | public | JDialog() Constructs a non-modal dialog without a title and without
a specified owner. |
rootPaneCheckingEnabled | protected boolean rootPaneCheckingEnabled(Code) | | |
JDialog | public JDialog(Frame owner, String title, boolean modal, GraphicsConfiguration gc)(Code) | | Constructs a modal or non-modal dialog with the specified title and
with the specified owner.
If the owner is null, the default shared owner will be used.
Parameters: owner - - the owner Parameters: title - - the title of the dialog Parameters: modal - - true for a modal dialog, false for a non-modal dialog Parameters: gc - - the GraphicsConfiguration of the target screen device.If gc is null, GraphicsConfiguration of the owner will be used. |
JDialog | public JDialog(Dialog owner, String title, boolean modal, GraphicsConfiguration gc) throws HeadlessException(Code) | | Constructs a modal or on-modal dialog with the specified title and with
the specified owner.
Parameters: owner - - the non-null owner Parameters: title - - the title of the dialog Parameters: modal - - true for a modal dialog, false for a non-modal dialog Parameters: gc - - the GraphicsConfiguration of the target screen device.If gc is null, GraphicsConfiguration of the owner will be used. throws: HeadlessException - - if GraphicsEnvironment.isHeadless() returnstrue. |
JDialog | public JDialog(Frame owner, String title, boolean modal) throws HeadlessException(Code) | | Constructs a modal or non-modal dialog with the specified title and with
the specified owner.
If the owner is null, the default shared owner will be used.
Parameters: owner - - the owner Parameters: title - - the title of the dialog Parameters: modal - - true for a modal dialog, false for a non-modal dialog throws: HeadlessException - - if GraphicsEnvironment.isHeadless()returns true. |
JDialog | public JDialog(Frame owner, String title) throws HeadlessException(Code) | | Constructs a non-modal dialog with the specified title and with
the specified owner. If the owner is null, the default shared owner
will be used.
Parameters: owner - - the owner Parameters: title - - the title of the dialog throws: HeadlessException - - if GraphicsEnvironment.isHeadless()returns true. |
JDialog | public JDialog(Dialog owner, String title, boolean modal) throws HeadlessException(Code) | | Constructs a modal or on-modal dialog with the specified title and with
the specified owner.
Parameters: owner - - the non-null owner Parameters: title - - the title of the dialog Parameters: modal - - true for a modal dialog, false for a non-modal dialog throws: HeadlessException - - if GraphicsEnvironment.isHeadless()returns true. |
JDialog | public JDialog(Dialog owner, String title) throws HeadlessException(Code) | | Constructs a non-modal dialog with the specified title and with
the specified owner.
Parameters: owner - - the non-null owner Parameters: title - - the title of the dialog throws: HeadlessException - - if GraphicsEnvironment.isHeadless()returns true. |
JDialog | public JDialog(Frame owner, boolean modal) throws HeadlessException(Code) | | Constructs a non-modal dialog without a title and with
the specified owner.
If the owner is null, the default shared owner will be used.
Parameters: owner - - the owner Parameters: modal - - true for a modal dialog, false for a non-modal dialog throws: HeadlessException - - if GraphicsEnvironment.isHeadless()returns true. |
JDialog | public JDialog(Frame owner) throws HeadlessException(Code) | | Constructs a non-modal dialog without a title and with
the specified owner.
If the owner is null, the default shared owner will be used.
Parameters: owner - - the owner throws: HeadlessException - - if GraphicsEnvironment.isHeadless()returns true. |
JDialog | public JDialog(Dialog owner, boolean modal) throws HeadlessException(Code) | | Constructs a modal or non-modal dialog without a title and with
the specified owner.
Parameters: owner - - the non-null owner Parameters: modal - - true for a modal dialog, false for a non-modal dialog throws: HeadlessException - - if GraphicsEnvironment.isHeadless()returns true. |
JDialog | public JDialog(Dialog owner) throws HeadlessException(Code) | | Constructs a non-modal dialog without a title and with
the specified owner.
Parameters: owner - - the non-null owner throws: HeadlessException - - if GraphicsEnvironment.isHeadless()returns true. |
JDialog | public JDialog() throws HeadlessException(Code) | | Constructs a non-modal dialog without a title and without
a specified owner. The default shared owner will be used.
throws: HeadlessException - - if GraphicsEnvironment.isHeadless()returns true. |
createRootPane | protected JRootPane createRootPane()(Code) | | Called by the constructors to create the default rootPane property.
default JRootPane |
dialogInit | protected void dialogInit()(Code) | | Called by the constructors to init JDialog
|
getAccessibleContext | public AccessibleContext getAccessibleContext()(Code) | | Returns the accessible context for the dialog.
the accessible context for the dialog |
getContentPane | public Container getContentPane()(Code) | | Returns the contentPane property.
the contentPane property |
getDefaultCloseOperation | public int getDefaultCloseOperation()(Code) | | Returns defaultCloseOperation value.
defaultCloseOperation value |
getGlassPane | public Component getGlassPane()(Code) | | Returns glassPane property.
glassPane property |
getJMenuBar | public JMenuBar getJMenuBar()(Code) | | Returns the menu bar for the frame
the menu bar for the frame |
getLayeredPane | public JLayeredPane getLayeredPane()(Code) | | Returns layeredPane property.
layeredPane property |
getRootPane | public JRootPane getRootPane()(Code) | | Get rootPane property.
rootPane property |
isDefaultLookAndFeelDecorated | public static boolean isDefaultLookAndFeelDecorated()(Code) | | |
isRootPaneCheckingEnabled | protected boolean isRootPaneCheckingEnabled()(Code) | | Returns rootPaneCheckingEnabled value.
value of rootPaneCheckingEnabled |
paramString | protected String paramString()(Code) | | Returns string representation of this dialog.
string representation of this dialog |
processWindowEvent | protected void processWindowEvent(WindowEvent e)(Code) | | Implements actions depending on defaultCloseOperation property.
Parameters: e - - window event |
setContentPane | public void setContentPane(Container contentPane)(Code) | | Sets contentPane property.
Parameters: contentPane - - new contentPane property value |
setDefaultCloseOperation | public void setDefaultCloseOperation(int operation)(Code) | | Sets defaultCloseOperation property.
Parameters: operation - - new defaultCloseOperation value |
setDefaultLookAndFeelDecorated | public static void setDefaultLookAndFeelDecorated(boolean defaultLookAndFeelDecorated)(Code) | | |
setGlassPane | public void setGlassPane(Component glassPane)(Code) | | Set glassPane property.
Parameters: glassPane - - new glassPane property value |
setJMenuBar | public void setJMenuBar(JMenuBar menuBar)(Code) | | Sets the menu bar for the frame
Parameters: menuBar - - menu bar to be placed in the frame |
setLayeredPane | public void setLayeredPane(JLayeredPane layeredPane)(Code) | | Sets layeredPane property.
Parameters: layeredPane - - new layeredPane property value |
setRootPane | protected void setRootPane(JRootPane root)(Code) | | Set rootPane property.
Parameters: root - - new rootPane property value |
setRootPaneCheckingEnabled | protected void setRootPaneCheckingEnabled(boolean enabled)(Code) | | Sets rootPaneCheckingEnabled.
Parameters: enabled - - new rootPaneCheckingEnabled value |
update | public void update(Graphics g)(Code) | | Just calls paint(g). This method was overridden to prevent
an unnecessary call to clear the background.
Parameters: g - - the graphics context to paint |
Fields inherited from java.awt.Dialog | final public static ModalityType DEFAULT_MODALITY_TYPE(Code)(Java Doc)
|
|
|