KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > javax > swing > JColorChooser

javax.swing
Class JColorChooser

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by javax.swing.JComponent
              extended by javax.swing.JColorChooser
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible
See Also:
Top Examples, Source Code, XMLEncoder

protected AccessibleContext accessibleContext
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void addChooserPanel(AbstractColorChooserPanel panel)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final String CHOOSER_PANELS_PROPERTY
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static JDialog createDialog(Component c,
                                   String title,
                                   boolean modal,
                                   JColorChooser chooserPane,
                                   ActionListener okListener,
                                   ActionListener cancelListener)
                            throws HeadlessException
See Also:
GraphicsEnvironment.isHeadless()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public AccessibleContext getAccessibleContext()
See Also:
JComponent, Accessible
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public AbstractColorChooserPanel[] getChooserPanels()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Color getColor()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean getDragEnabled()
See Also:
setDragEnabled(boolean)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public JComponent getPreviewPanel()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public ColorSelectionModel getSelectionModel()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public ColorChooserUI getUI()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public String getUIClassID()
See Also:
UIDefaults.getUI(javax.swing.JComponent), JComponent
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public JColorChooser()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public JColorChooser(Color initialColor)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public JColorChooser(ColorSelectionModel model)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected String paramString()
See Also:
JComponent
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final String PREVIEW_PANEL_PROPERTY
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public AbstractColorChooserPanel removeChooserPanel(AbstractColorChooserPanel panel)
See Also:
IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final String SELECTION_MODEL_PROPERTY
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setChooserPanels(AbstractColorChooserPanel[] panels)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setColor(int c)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setColor(int r,
                     int g,
                     int b)
See Also:
Color, IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setColor(Color color)
See Also:
Container.addPropertyChangeListener(java.beans.PropertyChangeListener)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setDragEnabled(boolean b)
See Also:
TransferHandler, JComponent.setTransferHandler(javax.swing.TransferHandler), getDragEnabled(), GraphicsEnvironment.isHeadless(), HeadlessException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setPreviewPanel(JComponent preview)
See Also:
Container.addPropertyChangeListener(java.beans.PropertyChangeListener)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setSelectionModel(ColorSelectionModel newModel)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setUI(ColorChooserUI ui)
See Also:
UIDefaults.getUI(javax.swing.JComponent)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static Color showDialog(Component component,
                               String title,
                               Color initialColor)
                        throws HeadlessException
See Also:
GraphicsEnvironment.isHeadless()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void updateUI()
See Also:
JComponent
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags