A C F G I K N P R S U

A

addActionListener(ActionListener) - Method in class net.java.dev.colorchooser.ColorChooser
Registers ActionListener to receive events.

C

ColorChooser - Class in net.java.dev.colorchooser
A color chooser which can pop up a pluggable set of palettes.
ColorChooser() - Constructor for class net.java.dev.colorchooser.ColorChooser
Create a color chooser
ColorChooser(Color) - Constructor for class net.java.dev.colorchooser.ColorChooser
Create a color chooser initialized to the passed color, defaulted to show a continuous palette on initial click.
ColorChooser(Palette[], Color) - Constructor for class net.java.dev.colorchooser.ColorChooser
Create a color chooser with the passed array of 8 palettes and initialized with the passed color.
ColorChooser(Palette[]) - Constructor for class net.java.dev.colorchooser.ColorChooser
Create a color chooser with the passed array of 8 or fewer palettes.
ColorChooserBeanInfo - Class in net.java.dev.colorchooser
 
ColorChooserBeanInfo() - Constructor for class net.java.dev.colorchooser.ColorChooserBeanInfo
 
ColorChooserUI - Class in net.java.dev.colorchooser
Parent class of UI delegates for color choosers.
ColorChooserUI() - Constructor for class net.java.dev.colorchooser.ColorChooserUI
Creates a new instance of ColorChooserUI
colorToString(Color) - Static method in class net.java.dev.colorchooser.ColorChooser
Get a string representation of a color, if possible returning a named, localized constant if the passed color matches one of the SVG constants; else returning a String representing RGB values.
createContinuousPalette(String, Dimension, float) - Static method in class net.java.dev.colorchooser.Palette
 
createPredefinedPalette(String, Color[], String[]) - Static method in class net.java.dev.colorchooser.Palette
 

F

fireColorChanged(ColorChooser) - Method in class net.java.dev.colorchooser.ColorChooserUI
Cause the passed color chooser to fire an action event to its listeners notifying them that the color has changed.

G

getBeanDescriptor() - Method in class net.java.dev.colorchooser.ColorChooserBeanInfo
Gets the bean's BeanDescriptors.
getColor() - Method in class net.java.dev.colorchooser.ColorChooser
Get the color currently represented by this component.
getColorAt(int, int) - Method in class net.java.dev.colorchooser.Palette
Returns the color at the specified point, or null if the point is beyond the bounds of the palette or in an area that does not indicate a color
getColorName(Color) - Static method in class net.java.dev.colorchooser.ColorChooser
Returns the SVG or Swing constant name for the passed color, if the color exactly matches a color in the Swing UIManager constants or the SVG/X-Windows constants.
getDefaultEventIndex() - Method in class net.java.dev.colorchooser.ColorChooserBeanInfo
A bean may have a "default" event that is the event that will mostly commonly be used by human's when using the bean.
getDefaultPalettes(boolean) - Static method in class net.java.dev.colorchooser.Palette
Get the default set of 8 palettes used by the color chooser.
getDefaultPropertyIndex() - Method in class net.java.dev.colorchooser.ColorChooserBeanInfo
A bean may have a "default" property that is the property that will mostly commonly be initially chosen for update by human's who are customizing the bean.
getDisplayName() - Method in class net.java.dev.colorchooser.Palette
Get a localized name for this palette or null if a display name is not warranted
getEventSetDescriptors() - Method in class net.java.dev.colorchooser.ColorChooserBeanInfo
Gets the bean's EventSetDescriptors.
getIcon(int) - Method in class net.java.dev.colorchooser.ColorChooserBeanInfo
This method returns an image object that can be used to represent the bean in toolboxes, toolbars, etc.
getMaximumSize(JComponent) - Method in class net.java.dev.colorchooser.ColorChooserUI
 
getMethodDescriptors() - Method in class net.java.dev.colorchooser.ColorChooserBeanInfo
Gets the bean's MethodDescriptors.
getMinimumSize(JComponent) - Method in class net.java.dev.colorchooser.ColorChooserUI
 
getNameAt(int, int) - Method in class net.java.dev.colorchooser.Palette
Returns a string description of the color at the point.
getPalettes() - Method in class net.java.dev.colorchooser.ColorChooser
Get the array of palettes that will be displayed when the user clicks this color chooser component and holds down various keys.
getPreferredSize(JComponent) - Method in class net.java.dev.colorchooser.ColorChooserUI
 
getPropertyDescriptors() - Method in class net.java.dev.colorchooser.ColorChooserBeanInfo
Gets the bean's PropertyDescriptors.
getSize() - Method in class net.java.dev.colorchooser.Palette
Get the on-screen size of this palette
getTransientColor() - Method in class net.java.dev.colorchooser.ColorChooser
Returns the currently displayed color which may not be the same as the value of getColor() but is the color currently displayed as the user moves the mouse to select the color.
getUIClassId() - Method in class net.java.dev.colorchooser.ColorChooser
Overridden to return UI_CLASS_ID

I

init(ColorChooser) - Method in class net.java.dev.colorchooser.ColorChooserUI
Optional initialization method called from installUI()
installListeners(ColorChooser) - Method in class net.java.dev.colorchooser.ColorChooserUI
Begin listening for mouse events on the passed component
installUI(JComponent) - Method in class net.java.dev.colorchooser.ColorChooserUI
 
isContinuousPalettePreferred() - Method in class net.java.dev.colorchooser.ColorChooser
Determine whether the initial palette shown when clicked with no keys pressed is one showing a continuous (rainbow) palette or a set of tiles with different colors.

K

keyboardInvoke(ColorChooser) - Method in class net.java.dev.colorchooser.ColorChooserUI
Called when the color chooser is invoked from the keyboard (user pressed space or enter).

N

net.java.dev.colorchooser - package net.java.dev.colorchooser
 

P

paintTo(Graphics) - Method in class net.java.dev.colorchooser.Palette
Paint this palette to a graphics context.
Palette - Class in net.java.dev.colorchooser
Model for a palette that can be painted, and from which colors may be selected.
Palette() - Constructor for class net.java.dev.colorchooser.Palette
 
paletteIndexFromKeyCode(KeyEvent) - Method in class net.java.dev.colorchooser.ColorChooserUI
Map a key event to an integer used to index into the array of available palettes, used to change which palette is displayed on the fly.
paletteIndexFromModifiers(InputEvent) - Method in class net.java.dev.colorchooser.ColorChooserUI
Map the modifiers on an input event to an integer used to index into the array of available palettes, used to change which palette is displayed on the fly.
PROP_COLOR - Static variable in class net.java.dev.colorchooser.ColorChooser
Property name for property fired when the color property changes.
PROP_CONTINUOUS_PALETTE - Static variable in class net.java.dev.colorchooser.ColorChooser
Fired when the value of the continuous palette changes.
PROP_PICKER_VISIBLE - Static variable in class net.java.dev.colorchooser.ColorChooser
Property indicating the visibility of the popup palette.
PROP_TRANSIENT_COLOR - Static variable in class net.java.dev.colorchooser.ColorChooser
Property name for property fired when the transient color property (the color while the user is selecting) changes.

R

removeActionListener(ActionListener) - Method in class net.java.dev.colorchooser.ColorChooser
Removes ActionListener from the list of listeners.

S

setColor(Color) - Method in class net.java.dev.colorchooser.ColorChooser
Set the color this color chooser currently represents.
setContinuousPalettePreferred(boolean) - Method in class net.java.dev.colorchooser.ColorChooser
Set whether the initial palette shown when clicked with no keys pressed is one showing a continuous (rainbow) palette or a set of tiles with different colors.
setPalettes(Palette[]) - Method in class net.java.dev.colorchooser.ColorChooser
Set the Palette objects this color chooser will display.

U

UI_CLASS_ID - Static variable in class net.java.dev.colorchooser.ColorChooser
UI Class ID under which the UI delegate class is stored in UIManager (see UIManager.getUI()).
uninit(ColorChooser) - Method in class net.java.dev.colorchooser.ColorChooserUI
Optional initialization method called from uninstallUI()
uninstallListeners(ColorChooser) - Method in class net.java.dev.colorchooser.ColorChooserUI
Stop listening for mouse events on the passed component
uninstallUI(JComponent) - Method in class net.java.dev.colorchooser.ColorChooserUI
 
updateUI() - Method in class net.java.dev.colorchooser.ColorChooser
 

A C F G I K N P R S U