A B C D E F G H I K L M O P R S T U W

A

actionListener - Variable in class com.colorpicker.swing.ColorPicker
 
actionListener - Variable in class com.colorpicker.swing.ColorSwatch
 
addChangeListener(ChangeListener) - Method in class com.colorpicker.swing.ColorPickerPanel
This listener will be notified when the current HSB or RGB values change, depending on what mode the user is in.
adjustingColorPanel - Variable in class com.colorpicker.swing.ColorPicker
Used to indicate when we're internally adjusting the selected color of the ColorPanel.
adjustingHexField - Variable in class com.colorpicker.swing.ColorPicker
Used to indicate when we're internally adjusting the value of the hex field.
adjustingOpacity - Variable in class com.colorpicker.swing.ColorPicker
Used to indicate when we're internally adjusting the value of the opacity.
adjustingSlider - Variable in class com.colorpicker.swing.ColorPicker
Used to indicate when we're internally adjusting the value of the slider.
adjustingSpinners - Variable in class com.colorpicker.swing.ColorPicker
Used to indicate when we're internally adjusting the value of the spinners.
alpha - Variable in class com.colorpicker.swing.ColorPicker
 
alpha - Variable in class com.colorpicker.swing.ColorPickerDialog
 
ARROW_HALF - Variable in class com.colorpicker.swing.ColorPickerSliderUI
Half of the height of the arrow

B

bi - Variable in class com.colorpicker.swing.ColorPickerSliderUI
 
blacks - Static variable in class com.colorpicker.awt.PaintUtils
Four shades of black, each with increasing opacity.
BLUE - Static variable in class com.colorpicker.swing.ColorPicker
Used to indicate when we're in "blue mode".
blue - Variable in class com.colorpicker.swing.ColorPicker
 
blue - Variable in class com.colorpicker.swing.ColorPickerPanel
 
BRI - Static variable in class com.colorpicker.swing.ColorPicker
Used to indicate when we're in "brightness mode".
bri - Variable in class com.colorpicker.swing.ColorPicker
 
bri - Variable in class com.colorpicker.swing.ColorPickerPanel
 
buttonListener - Variable in class com.colorpicker.swing.ColorPickerDialog
 

C

calculateThumbSize() - Method in class com.colorpicker.swing.ColorPickerSliderUI
 
calculateTrackRect() - Method in class com.colorpicker.swing.ColorPickerSliderUI
 
cancel - Variable in class com.colorpicker.swing.ColorPickerDialog
 
changedUpdate(DocumentEvent) - Method in class com.colorpicker.swing.ColorPicker.HexDocumentListener
 
changeListener - Variable in class com.colorpicker.swing.ColorPicker
 
changeListeners - Variable in class com.colorpicker.swing.ColorPickerPanel
 
checkerPaint - Static variable in class com.colorpicker.swing.ColorSwatch
 
colorPanel - Variable in class com.colorpicker.swing.ColorPicker
 
ColorPicker - Class in com.colorpicker.swing
This is a panel that offers a robust set of controls to pick a color.
ColorPicker() - Constructor for class com.colorpicker.swing.ColorPicker
Create a new ColorPicker with all controls visible except opacity.
ColorPicker(boolean, boolean) - Constructor for class com.colorpicker.swing.ColorPicker
Create a new ColorPicker.
colorPicker - Variable in class com.colorpicker.swing.ColorPickerSliderUI
 
ColorPicker.HexDocumentListener - Class in com.colorpicker.swing
 
ColorPicker.HexDocumentListener() - Constructor for class com.colorpicker.swing.ColorPicker.HexDocumentListener
 
ColorPicker.HexUpdateThread - Class in com.colorpicker.swing
This thread will wait a second or two before committing the text in the hex TextField.
ColorPicker.HexUpdateThread(long, String) - Constructor for class com.colorpicker.swing.ColorPicker.HexUpdateThread
 
ColorPicker.Option - Class in com.colorpicker.swing
 
ColorPicker.Option(String, int) - Constructor for class com.colorpicker.swing.ColorPicker.Option
 
ColorPickerDialog - Class in com.colorpicker.swing
This wraps a ColorPicker in a simple dialog with "OK" and "Cancel" options.
ColorPickerDialog(Frame, Color, boolean) - Constructor for class com.colorpicker.swing.ColorPickerDialog
 
ColorPickerDialog(Dialog, Color, boolean) - Constructor for class com.colorpicker.swing.ColorPickerDialog
 
ColorPickerPanel - Class in com.colorpicker.swing
This is the large graphic element in the ColorPicker that depicts a wide range of colors.
ColorPickerPanel() - Constructor for class com.colorpicker.swing.ColorPickerPanel
Creates a new ColorPickerPanel
ColorPickerSliderUI - Class in com.colorpicker.swing
This is a non-public SliderUI designed specifically for the ColorPicker.
ColorPickerSliderUI(JSlider, ColorPicker) - Constructor for class com.colorpicker.swing.ColorPickerSliderUI
 
ColorSwatch - Class in com.colorpicker.swing
This is a square, opaque panel used to indicate a certain color.
ColorSwatch(int) - Constructor for class com.colorpicker.swing.ColorSwatch
 
com.colorpicker.awt - package com.colorpicker.awt
 
com.colorpicker.swing - package com.colorpicker.swing
 
componentListener - Variable in class com.colorpicker.swing.ColorPickerPanel
 
contains(Object) - Method in class com.colorpicker.swing.ColorPicker.Option
 
copyItem - Variable in class com.colorpicker.swing.ColorSwatch
 
cp - Variable in class com.colorpicker.swing.ColorPickerDialog
 

D

drawBevel(Graphics, Rectangle) - Static method in class com.colorpicker.awt.PaintUtils
Uses translucent shades of white and black to draw highlights and shadows around a rectangle, and then frames the rectangle with a shade of gray (120).
drawColors(Color[], Graphics, int, int, int, int, int) - Static method in class com.colorpicker.awt.PaintUtils
 

E

expertControls - Variable in class com.colorpicker.swing.ColorPicker
The "expert" controls are the controls on the right side of this panel: the labels/spinners/radio buttons.

F

fireChangeListeners() - Method in class com.colorpicker.swing.ColorPickerPanel
 
focusListener - Variable in class com.colorpicker.swing.ColorPickerPanel
 

G

getCheckerPaint() - Static method in class com.colorpicker.swing.ColorSwatch
 
getColor() - Method in class com.colorpicker.swing.ColorPicker
 
getColor() - Method in class com.colorpicker.swing.ColorPickerDialog
 
getColorPanel() - Method in class com.colorpicker.swing.ColorPicker
 
getExpertControls() - Method in class com.colorpicker.swing.ColorPicker
This returns the panel with several rows of spinner controls.
getFloatValue() - Method in class com.colorpicker.swing.ColorPicker.Option
 
getFocusRingColor() - Static method in class com.colorpicker.awt.PaintUtils
 
getHSB() - Method in class com.colorpicker.swing.ColorPicker
 
getHSB() - Method in class com.colorpicker.swing.ColorPickerPanel
 
getIntValue() - Method in class com.colorpicker.swing.ColorPicker.Option
 
getMaximum() - Method in class com.colorpicker.swing.ColorPicker.Option
 
getMode() - Method in class com.colorpicker.swing.ColorPicker
 
getOpacity() - Method in class com.colorpicker.swing.ColorPicker
Returns the currently selected opacity (a float between 0 and 1).
getRGB() - Method in class com.colorpicker.swing.ColorPicker
 
getRGB() - Method in class com.colorpicker.swing.ColorPickerPanel
 
getSelectedOption() - Method in class com.colorpicker.swing.ColorPicker
 
getTransferData(DataFlavor) - Method in class com.colorpicker.swing.ImageTransferable
 
getTransferDataFlavors() - Method in class com.colorpicker.swing.ImageTransferable
 
GREEN - Static variable in class com.colorpicker.swing.ColorPicker
Used to indicate when we're in "green mode".
green - Variable in class com.colorpicker.swing.ColorPicker
 
green - Variable in class com.colorpicker.swing.ColorPickerPanel
 

H

HEX_COLOR_PROPERTY - Static variable in class com.colorpicker.swing.ColorPicker
PropertyChangeEvents will be triggered when the Hexadecimal value changes.
hexDocListener - Variable in class com.colorpicker.swing.ColorPicker
 
hexField - Variable in class com.colorpicker.swing.ColorPicker
 
hexLabel - Variable in class com.colorpicker.swing.ColorPicker
 
HUE - Static variable in class com.colorpicker.swing.ColorPicker
Used to indicate when we're in "hue mode".
hue - Variable in class com.colorpicker.swing.ColorPicker
 
hue - Variable in class com.colorpicker.swing.ColorPickerPanel
 

I

image - Variable in class com.colorpicker.swing.ColorPickerPanel
 
imagePadding - Variable in class com.colorpicker.swing.ColorPickerPanel
 
ImageTransferable - Class in com.colorpicker.swing
 
ImageTransferable(Image) - Constructor for class com.colorpicker.swing.ImageTransferable
 
img - Variable in class com.colorpicker.swing.ImageTransferable
 
initialize(Component, Color, boolean) - Method in class com.colorpicker.swing.ColorPickerDialog
 
insertUpdate(DocumentEvent) - Method in class com.colorpicker.swing.ColorPicker.HexDocumentListener
 
installListeners(JSlider) - Method in class com.colorpicker.swing.ColorPickerSliderUI
 
intArray - Variable in class com.colorpicker.swing.ColorPickerSliderUI
 
isDataFlavorSupported(DataFlavor) - Method in class com.colorpicker.swing.ImageTransferable
 
isVisible() - Method in class com.colorpicker.swing.ColorPicker.Option
 

K

keyListener - Variable in class com.colorpicker.swing.ColorPickerPanel
 

L

label - Variable in class com.colorpicker.swing.ColorPicker.Option
 
lastMode - Variable in class com.colorpicker.swing.ColorPickerSliderUI
 
lastOpacity - Variable in class com.colorpicker.swing.ColorPicker
 
lastTimeStamp - Variable in class com.colorpicker.swing.ColorPicker.HexDocumentListener
 

M

main(String[]) - Static method in class com.colorpicker.swing.ColorPicker
This demonstrates how to customize a small ColorPicker component.
MAX_SIZE - Static variable in class com.colorpicker.swing.ColorPickerPanel
The maximum size the graphic will be.
menu - Variable in class com.colorpicker.swing.ColorSwatch
 
mode - Variable in class com.colorpicker.swing.ColorPickerPanel
 
MODE_CONTROLS_VISIBLE_PROPERTY - Static variable in class com.colorpicker.swing.ColorPicker
PropertyChangeEvents will be triggered for this property when setModeControlsVisible() is called.
MODE_PROPERTY - Static variable in class com.colorpicker.swing.ColorPicker
PropertyChangeEvents will be triggered when the mode changes.
mouseListener - Variable in class com.colorpicker.swing.ColorPickerPanel
 
mouseListener - Variable in class com.colorpicker.swing.ColorSwatch
 
myMouseListener - Variable in class com.colorpicker.swing.ColorPickerSliderUI
This overrides the default behavior for this slider and sets the thumb to where the user clicked.
myStamp - Variable in class com.colorpicker.swing.ColorPicker.HexUpdateThread
 

O

ok - Variable in class com.colorpicker.swing.ColorPickerDialog
 
OPACITY_PROPERTY - Static variable in class com.colorpicker.swing.ColorPicker
PropertyChangeEvents will be triggered when the opacity value is adjusted.
opacityLabel - Variable in class com.colorpicker.swing.ColorPicker
 
opacitySlider - Variable in class com.colorpicker.swing.ColorPicker
 

P

paint(Graphics) - Method in class com.colorpicker.swing.ColorPickerPanel
 
paint(Graphics) - Method in class com.colorpicker.swing.ColorSwatch
 
paintFocus(Graphics2D, Shape, int) - Static method in class com.colorpicker.awt.PaintUtils
Paints 3 different strokes around a shape to indicate focus.
paintFocus(Graphics) - Method in class com.colorpicker.swing.ColorPickerSliderUI
 
paintThumb(Graphics) - Method in class com.colorpicker.swing.ColorPickerSliderUI
 
paintTrack(Graphics) - Method in class com.colorpicker.swing.ColorPickerSliderUI
 
PaintUtils - Class in com.colorpicker.awt
Some static methods for some common painting functions.
PaintUtils() - Constructor for class com.colorpicker.awt.PaintUtils
 
point - Variable in class com.colorpicker.swing.ColorPickerPanel
 
preview - Variable in class com.colorpicker.swing.ColorPicker
 

R

radioButton - Variable in class com.colorpicker.swing.ColorPicker.Option
 
RED - Static variable in class com.colorpicker.swing.ColorPicker
Used to indicate when we're in "red mode".
red - Variable in class com.colorpicker.swing.ColorPicker
 
red - Variable in class com.colorpicker.swing.ColorPickerPanel
 
regenerateImage() - Method in class com.colorpicker.swing.ColorPickerPanel
Regenerates the image.
regeneratePoint() - Method in class com.colorpicker.swing.ColorPickerPanel
Recalculates the (x,y) point used to indicate the selected color.
removeChangeListener(ChangeListener) - Method in class com.colorpicker.swing.ColorPickerPanel
Remove a ChangeListener so it is no longer notified when the selected color changes.
removeUpdate(DocumentEvent) - Method in class com.colorpicker.swing.ColorPicker.HexDocumentListener
 
returnValue - Variable in class com.colorpicker.swing.ColorPickerDialog
 
row - Variable in class com.colorpicker.swing.ColorPickerPanel
A row of pixel data we recycle every time we regenerate this image.
run() - Method in class com.colorpicker.swing.ColorPicker.HexUpdateThread
 

S

SAT - Static variable in class com.colorpicker.swing.ColorPicker
Used to indicate when we're in "saturation mode".
sat - Variable in class com.colorpicker.swing.ColorPicker
 
sat - Variable in class com.colorpicker.swing.ColorPickerPanel
 
SELECTED_COLOR_PROPERTY - Static variable in class com.colorpicker.swing.ColorPicker
PropertyChangeEvents will be triggered for this property when the selected color changes.
serialVersionUID - Static variable in class com.colorpicker.swing.ColorPicker
 
serialVersionUID - Static variable in class com.colorpicker.swing.ColorPickerDialog
 
serialVersionUID - Static variable in class com.colorpicker.swing.ColorPickerPanel
 
serialVersionUID - Static variable in class com.colorpicker.swing.ColorSwatch
 
setColor(Color) - Method in class com.colorpicker.swing.ColorPicker
Sets the current color of this ColorPicker.
setExpertControlsVisible(boolean) - Method in class com.colorpicker.swing.ColorPicker
The labels/spinners/buttons on the right side of a ColorPicker are optional.
setHexControlsVisible(boolean) - Method in class com.colorpicker.swing.ColorPicker
This controls whether the hex field (and label) are visible or not.
setHSB(float, float, float) - Method in class com.colorpicker.swing.ColorPicker
Sets the current color of this ColorPicker
setHSB(float, float, float) - Method in class com.colorpicker.swing.ColorPickerPanel
Sets the selected color of this panel.
setHSBControlsVisible(boolean) - Method in class com.colorpicker.swing.ColorPicker
This shows or hides the HSB spinner controls.
setMode(int) - Method in class com.colorpicker.swing.ColorPicker
Sets the mode of this ColorPicker.
setMode(int) - Method in class com.colorpicker.swing.ColorPickerPanel
Set the mode of this panel.
setModeControlsVisible(boolean) - Method in class com.colorpicker.swing.ColorPicker
This controls whether the radio buttons that adjust the mode are visible.
setOpacity(float) - Method in class com.colorpicker.swing.ColorPicker
Sets the currently selected opacity.
setOpacityVisible(boolean) - Method in class com.colorpicker.swing.ColorPicker
This shows or hides the alpha controls.
setPreviewSwatchVisible(boolean) - Method in class com.colorpicker.swing.ColorPicker
This controls whether the preview swatch visible or not.
setRGB(int, int, int) - Method in class com.colorpicker.swing.ColorPicker
Sets the current color of this ColorPicker
setRGB(int, int, int) - Method in class com.colorpicker.swing.ColorPickerPanel
Sets the selected color of this panel.
setRGBControlsVisible(boolean) - Method in class com.colorpicker.swing.ColorPicker
This shows or hides the RGB spinner controls.
setValue(int) - Method in class com.colorpicker.swing.ColorPicker.Option
 
setVisible(boolean) - Method in class com.colorpicker.swing.ColorPicker.Option
 
showDialog(Window, Color) - Static method in class com.colorpicker.swing.ColorPicker
This creates a modal dialog prompting the user to select a color.
showDialog(Window, Color, boolean) - Static method in class com.colorpicker.swing.ColorPicker
This creates a modal dialog prompting the user to select a color.
showDialog(Window, String, Color, boolean) - Static method in class com.colorpicker.swing.ColorPicker
This creates a modal dialog prompting the user to select a color.
slider - Variable in class com.colorpicker.swing.ColorPicker.Option
 
slider - Variable in class com.colorpicker.swing.ColorPicker
The vertical slider
spinner - Variable in class com.colorpicker.swing.ColorPicker.Option
 
strings - Static variable in class com.colorpicker.swing.ColorPicker
The localized strings used in this (and related) panel(s).
stripToHex(String) - Method in class com.colorpicker.swing.ColorPicker.HexDocumentListener
Strips a string down to only uppercase hex-supported characters.

T

text - Variable in class com.colorpicker.swing.ColorPicker.HexUpdateThread
 

U

uninstallListeners(JSlider) - Method in class com.colorpicker.swing.ColorPickerSliderUI
 
updateHexField() - Method in class com.colorpicker.swing.ColorPicker
 
updateSlider() - Method in class com.colorpicker.swing.ColorPicker
 

W

w - Variable in class com.colorpicker.swing.ColorSwatch
 
whites - Static variable in class com.colorpicker.awt.PaintUtils
Four shades of white, each with increasing opacity.

A B C D E F G H I K L M O P R S T U W