Serialized Form


Package com.bric.swing

Class com.bric.swing.ColorPicker extends JPanel implements Serializable

serialVersionUID: 3L

Serialized Fields

slider

JSlider slider
The vertical slider


currentRed

int currentRed

currentGreen

int currentGreen

currentBlue

int currentBlue

changeListener

ChangeListener changeListener

actionListener

ActionListener actionListener

hexDocListener

com.bric.swing.ColorPicker.HexDocumentListener hexDocListener

alpha

com.bric.swing.ColorPicker.Option alpha

hue

com.bric.swing.ColorPicker.Option hue

sat

com.bric.swing.ColorPicker.Option sat

bri

com.bric.swing.ColorPicker.Option bri

red

com.bric.swing.ColorPicker.Option red

green

com.bric.swing.ColorPicker.Option green

blue

com.bric.swing.ColorPicker.Option blue

preview

ColorSwatch preview

hexLabel

JLabel hexLabel

hexField

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

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


colorPanel

ColorPickerPanel colorPanel

opacitySlider

JSlider opacitySlider

opacityLabel

JLabel opacityLabel

lastOpacity

int lastOpacity

Class com.bric.swing.ColorPickerDemo extends JApplet implements Serializable

serialVersionUID: 1L

Class com.bric.swing.ColorPickerPanel extends JPanel implements Serializable

serialVersionUID: 1L

Serialized Fields

mode

int mode
This controls how the colors are displayed.


point

Point point
The point used to indicate the selected color.


changeListeners

Vector<E> changeListeners

hue

float hue

sat

float sat

bri

float bri

red

int red

green

int green

blue

int blue

mouseListener

MouseInputListener mouseListener

keyListener

KeyListener keyListener

focusListener

FocusListener focusListener

componentListener

ComponentListener componentListener

image

BufferedImage image

imagePadding

Insets imagePadding

row

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

Class com.bric.swing.ColorSwatch extends JPanel implements Serializable

serialVersionUID: 1L

Serialized Fields

menu

JPopupMenu menu

copyItem

JMenuItem copyItem

mouseListener

MouseListener mouseListener

actionListener

ActionListener actionListener

w

int w

Class com.bric.swing.DialogFooter extends JPanel implements Serializable

serialVersionUID: 1L

Serialized Fields

leftControls

JComponent[] leftControls

dismissControls

JComponent[] dismissControls

lastSelectedComponent

JComponent lastSelectedComponent

autoClose

boolean autoClose

defaultButton

JButton defaultButton

innerActionListener

ActionListener innerActionListener

hierarchyListener

HierarchyListener hierarchyListener
This addresses code that must involve the parent RootPane and Window.


listeners

Vector<E> listeners

Class com.bric.swing.DialogFooter.ClickAction extends AbstractAction implements Serializable

serialVersionUID: 1L

Serialized Fields

button

JButton button