APIdia Launch Partner
Top Description Inners Fields Constructors Methods
sun.tools.jconsole

public Class InternalDialog

extends JInternalFrame
Class Inheritance
Known Direct Subclasses
sun.tools.jconsole.AboutDialog, sun.tools.jconsole.ConnectDialog, sun.tools.jconsole.CreateMBeanDialog
Annotations
@SuppressWarnings:serial
Imports
java.awt.*, java.awt.event.*, javax.swing.*

Used instead of JDialog in a JDesktopPane/JInternalFrame environment.

Nested and Inner Type Summary

Modifier and TypeClass and Description
protected class

Field Summary

Modifier and TypeField and Description
protected JLabel
Inherited from javax.swing.JInternalFrame:
closableCONTENT_PANE_PROPERTYdesktopIconFRAME_ICON_PROPERTYframeIconGLASS_PANE_PROPERTYiconableIS_CLOSED_PROPERTYIS_ICON_PROPERTYIS_MAXIMUM_PROPERTYIS_SELECTED_PROPERTYisClosedisIconisMaximumisSelectedLAYERED_PANE_PROPERTYmaximizableMENU_BAR_PROPERTYresizableROOT_PANE_PROPERTYrootPanerootPaneCheckingEnabledtitleTITLE_PROPERTY

Constructor Summary

AccessConstructor and Description
public
InternalDialog(JConsole jConsole, String title, boolean modal)

Method Summary

Modifier and TypeMethod and Description
public void
Inherited from javax.swing.JInternalFrame:
addImpladdInternalFrameListenercreateRootPanedisposedoDefaultCloseActionfireInternalFrameEventgetAccessibleContextgetContentPanegetDefaultCloseOperationgetDesktopIcongetDesktopPanegetFocusCycleRootAncestorgetFocusOwnergetFrameIcongetGlassPanegetInternalFrameListenersgetJMenuBargetLastCursorgetLayergetLayeredPanegetMenuBargetMostRecentFocusOwnergetNormalBoundsgetRootPanegetTitlegetUIgetUIClassIDgetWarningStringhideisClosableisClosedisFocusCycleRootisIconisIconifiableisMaximizableisMaximumisResizableisRootPaneCheckingEnabledisSelectedmoveToBackmoveToFrontpackpaintComponentparamStringremoveremoveInternalFrameListenerreshaperestoreSubcomponentFocussetClosablesetClosedsetContentPanesetCursorsetDefaultCloseOperationsetDesktopIconsetFocusCycleRootsetFrameIconsetGlassPanesetIconsetIconifiablesetJMenuBarsetLayersetLayersetLayeredPanesetLayoutsetMaximizablesetMaximumsetMenuBarsetNormalBoundssetResizablesetRootPanesetRootPaneCheckingEnabledsetSelectedsetTitlesetUIshowtoBacktoFrontupdateUI

Field Detail

statusBarback to summary
protected JLabel statusBar

Constructor Detail

InternalDialogback to summary
public InternalDialog(JConsole jConsole, String title, boolean modal)

Method Detail

setLocationRelativeToback to summary
public void setLocationRelativeTo(Component c)
sun.tools.jconsole back to summary

protected Class InternalDialog.MastheadIcon

extends Object
implements Icon
Class Inheritance
All Implemented Interfaces
javax.swing.Icon

Field Summary

Modifier and TypeField and Description
private Font
private int
private ImageIcon
private ImageIcon
private String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public int
getIconHeight()

Implements javax.swing.Icon.getIconHeight.

Returns the icon's height.

public int
getIconWidth()

Implements javax.swing.Icon.getIconWidth.

Returns the icon's width.

public synchronized void
paintIcon(Component c, Graphics g, int x, int y)

Implements javax.swing.Icon.paintIcon.

Draw the icon at the specified location.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

fontback to summary
private Font font
gapback to summary
private int gap
leftIconback to summary
private ImageIcon leftIcon
rightIconback to summary
private ImageIcon rightIcon
titleback to summary
private String title

Constructor Detail

MastheadIconback to summary
public MastheadIcon(String title)

Method Detail

getIconHeightback to summary
public int getIconHeight()

Implements javax.swing.Icon.getIconHeight.

Doc from javax.swing.Icon.getIconHeight.

Returns the icon's height.

getIconWidthback to summary
public int getIconWidth()

Implements javax.swing.Icon.getIconWidth.

Doc from javax.swing.Icon.getIconWidth.

Returns the icon's width.

paintIconback to summary
public synchronized void paintIcon(Component c, Graphics g, int x, int y)

Implements javax.swing.Icon.paintIcon.

Doc from javax.swing.Icon.paintIcon.

Draw the icon at the specified location. Icon implementations may use the Component argument to get properties useful for painting, e.g. the foreground or background color.