APIdia Launch Partner
Top Inners Fields Constructors Methods
javax.swing

pack-priv Class ColorChooserDialog

Located in compilation unit of javax.swing.JColorChooser.

extends JDialog
Class Inheritance
Annotations
@SuppressWarnings:serial

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv class
pack-priv static class

Field Summary

Modifier and TypeField and Description
private JButton
private JColorChooser
private Color
Inherited from javax.swing.JDialog:
accessibleContextrootPanerootPaneCheckingEnabled

Constructor Summary

AccessConstructor and Description
public
ColorChooserDialog(Dialog owner, String title, boolean modal, Component c, JColorChooser chooserPane, ActionListener okListener, ActionListener cancelListener)

public
ColorChooserDialog(Frame owner, String title, boolean modal, Component c, JColorChooser chooserPane, ActionListener okListener, ActionListener cancelListener)

Method Summary

Modifier and TypeMethod and Description
protected void
initColorChooserDialog(Component c, JColorChooser chooserPane, ActionListener okListener, ActionListener cancelListener)

public void
public void
show()

Overrides java.awt.Dialog.show.

Makes the Dialog visible.

Inherited from javax.swing.JDialog:
addImplcreateRootPanedialogInitgetAccessibleContextgetContentPanegetDefaultCloseOperationgetGlassPanegetGraphicsgetJMenuBargetLayeredPanegetRootPanegetTransferHandlerisDefaultLookAndFeelDecoratedisRootPaneCheckingEnabledparamStringprocessWindowEventremoverepaintsetContentPanesetDefaultCloseOperationsetDefaultLookAndFeelDecoratedsetGlassPanesetJMenuBarsetLayeredPanesetLayoutsetRootPanesetRootPaneCheckingEnabledsetTransferHandlerupdate

Field Detail

cancelButtonback to summary
private JButton cancelButton
chooserPaneback to summary
private JColorChooser chooserPane
initialColorback to summary
private Color initialColor

Constructor Detail

ColorChooserDialogback to summary
public ColorChooserDialog(Dialog owner, String title, boolean modal, Component c, JColorChooser chooserPane, ActionListener okListener, ActionListener cancelListener) throws HeadlessException
ColorChooserDialogback to summary
public ColorChooserDialog(Frame owner, String title, boolean modal, Component c, JColorChooser chooserPane, ActionListener okListener, ActionListener cancelListener) throws HeadlessException

Method Detail

initColorChooserDialogback to summary
protected void initColorChooserDialog(Component c, JColorChooser chooserPane, ActionListener okListener, ActionListener cancelListener)
resetback to summary
public void reset()
showback to summary
public void show()

Overrides java.awt.Dialog.show.

Doc from java.awt.Dialog.show.

Makes the Dialog visible. If the dialog and/or its owner are not yet displayable, both are made displayable. The dialog will be validated prior to being made visible. If the dialog is already visible, this will bring the dialog to the front.

If the dialog is modal and is not already visible, this call will not return until the dialog is hidden by calling hide or dispose. It is permissible to show modal dialogs from the event dispatching thread because the toolkit will ensure that another event pump runs while the one which invoked this method is blocked.

Annotations
@SuppressWarnings:deprecation
javax.swing back to summary

pack-priv Class ColorChooserDialog.Closer

extends WindowAdapter
implements Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable
Annotations
@SuppressWarnings:serial

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public void
windowClosing(WindowEvent e)

Overrides java.awt.event.WindowAdapter.windowClosing.

Implements java.awt.event.WindowListener.windowClosing.

Invoked when a window is in the process of being closed.

Inherited from java.awt.event.WindowAdapter:
windowActivatedwindowClosedwindowDeactivatedwindowDeiconifiedwindowGainedFocuswindowIconifiedwindowLostFocuswindowOpenedwindowStateChanged

Constructor Detail

Closerback to summary
pack-priv Closer()

Method Detail

windowClosingback to summary
public void windowClosing(WindowEvent e)

Overrides java.awt.event.WindowAdapter.windowClosing.

Implements java.awt.event.WindowListener.windowClosing.

Doc from java.awt.event.WindowAdapter.windowClosing.

Invoked when a window is in the process of being closed. The close operation can be overridden at this point.

Annotations
@SuppressWarnings:deprecation
javax.swing back to summary

pack-priv Class ColorChooserDialog.DisposeOnClose

extends ComponentAdapter
implements Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable
Annotations
@SuppressWarnings:serial

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public void
Inherited from java.awt.event.ComponentAdapter:
componentMovedcomponentResizedcomponentShown

Constructor Detail

DisposeOnCloseback to summary
pack-priv DisposeOnClose()

Method Detail

componentHiddenback to summary
public void componentHidden(ComponentEvent e)

Overrides java.awt.event.ComponentAdapter.componentHidden.

Implements java.awt.event.ComponentListener.componentHidden.

Doc from java.awt.event.ComponentAdapter.componentHidden.

Invoked when the component has been made invisible.