Serialized Form


Package com.colorpicker.swing

Class com.colorpicker.swing.ColorPicker extends javax.swing.JPanel implements Serializable

serialVersionUID: 3L

Serialized Fields

slider

javax.swing.JSlider slider
The vertical slider


changeListener

javax.swing.event.ChangeListener changeListener

actionListener

java.awt.event.ActionListener actionListener

hexDocListener

ColorPicker.HexDocumentListener hexDocListener

alpha

ColorPicker.Option alpha

hue

ColorPicker.Option hue

sat

ColorPicker.Option sat

bri

ColorPicker.Option bri

red

ColorPicker.Option red

green

ColorPicker.Option green

blue

ColorPicker.Option blue

preview

ColorSwatch preview

hexLabel

javax.swing.JLabel hexLabel

hexField

javax.swing.JTextField hexField

adjustingSpinners

int adjustingSpinners
Used to indicate when we're internally adjusting the value of the spinners. If this equals zero, then incoming events are triggered by the user and must be processed. If this is not equal to zero, then incoming events are triggered by another method that's already responding to the user's actions.


adjustingSlider

int adjustingSlider
Used to indicate when we're internally adjusting the value of the slider. If this equals zero, then incoming events are triggered by the user and must be processed. If this is not equal to zero, then incoming events are triggered by another method that's already responding to the user's actions.


adjustingColorPanel

int adjustingColorPanel
Used to indicate when we're internally adjusting the selected color of the ColorPanel. If this equals zero, then incoming events are triggered by the user and must be processed. If this is not equal to zero, then incoming events are triggered by another method that's already responding to the user's actions.


adjustingHexField

int adjustingHexField
Used to indicate when we're internally adjusting the value of the hex field. If this equals zero, then incoming events are triggered by the user and must be processed. If this is not equal to zero, then incoming events are triggered by another method that's already responding to the user's actions.


adjustingOpacity

int adjustingOpacity
Used to indicate when we're internally adjusting the value of the opacity. If this equals zero, then incoming events are triggered by the user and must be processed. If this is not equal to zero, then incoming events are triggered by another method that's already responding to the user's actions.


expertControls

javax.swing.JPanel expertControls
The "expert" controls are the controls on the right side of this panel: the labels/spinners/radio buttons.


colorPanel

ColorPickerPanel colorPanel

opacitySlider

javax.swing.JSlider opacitySlider

opacityLabel

javax.swing.JLabel opacityLabel

lastOpacity

float lastOpacity

Class com.colorpicker.swing.ColorPickerPanel extends javax.swing.JPanel implements Serializable

serialVersionUID: 1L

Serialized Fields

mode

int mode

point

java.awt.Point point

changeListeners

java.util.Vector<E> changeListeners

hue

float hue

sat

float sat

bri

float bri

red

int red

green

int green

blue

int blue

mouseListener

javax.swing.event.MouseInputListener mouseListener

keyListener

java.awt.event.KeyListener keyListener

focusListener

java.awt.event.FocusListener focusListener

componentListener

java.awt.event.ComponentListener componentListener

image

java.awt.image.BufferedImage image

imagePadding

java.awt.Insets imagePadding

row

int[] row
A row of pixel data we recycle every time we regenerate this image.

Class com.colorpicker.swing.ColorSwatch extends javax.swing.JPanel implements Serializable

serialVersionUID: 1L

Serialized Fields

menu

javax.swing.JPopupMenu menu

copyItem

javax.swing.JMenuItem copyItem

mouseListener

java.awt.event.MouseListener mouseListener

actionListener

java.awt.event.ActionListener actionListener

w

int w