# Serialized Form

## Package com.bric.swing

### Class com.bric.swing.ColorPicker

class ColorPicker extends JPanel implements Serializable

serialVersionUID:
  3L

#### Serialized Fields

##### actionListener

    ActionListener actionListener

##### 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.

##### 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.

##### 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.

##### alpha

    com.bric.swing.ColorPicker.Option alpha

##### blue

    com.bric.swing.ColorPicker.Option blue

##### bri

    com.bric.swing.ColorPicker.Option bri

##### changeListener

    ChangeListener changeListener

##### colorPanel

    ColorPickerPanel colorPanel

##### currentBlue

    int currentBlue

##### currentGreen

    int currentGreen

##### currentRed

    int currentRed

##### expertControls

    JPanel expertControls

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

##### green

    com.bric.swing.ColorPicker.Option green

##### hexDocListener

    com.bric.swing.ColorPicker.HexDocumentListener hexDocListener

##### hexField

    JTextField hexField

##### hexLabel

    JLabel hexLabel

##### hue

    com.bric.swing.ColorPicker.Option hue

##### lastOpacity

    int lastOpacity

##### opacityLabel

    JLabel opacityLabel

##### opacitySlider

    JSlider opacitySlider

##### preview

    ColorSwatch preview

##### red

    com.bric.swing.ColorPicker.Option red

##### sat

    com.bric.swing.ColorPicker.Option sat

##### slider

    JSlider slider

The vertical slider

### Class com.bric.swing.ColorPickerDemo

class ColorPickerDemo extends JApplet implements Serializable

serialVersionUID:
  1L

### Class com.bric.swing.ColorPickerPanel

class ColorPickerPanel extends JPanel implements Serializable

serialVersionUID:
  1L

#### Serialized Fields

##### blue

    int blue

##### bri

    float bri

##### changeListeners

    Vector changeListeners

##### componentListener

    ComponentListener componentListener

##### focusListener

    FocusListener focusListener

##### green

    int green

##### hue

    float hue

##### image

    BufferedImage image

##### imagePadding

    Insets imagePadding

##### keyListener

    KeyListener keyListener

##### mode

    int mode

This controls how the colors are displayed.

##### mouseListener

    MouseInputListener mouseListener

##### point

    Point point

The point used to indicate the selected color.

##### red

    int red

##### row

    int[] row

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

##### sat

    float sat

### Class com.bric.swing.ColorSwatch

class ColorSwatch extends JPanel implements Serializable

serialVersionUID:
  1L

#### Serialized Fields

##### actionListener

    ActionListener actionListener

##### copyItem

    JMenuItem copyItem

##### menu

    JPopupMenu menu

##### mouseListener

    MouseListener mouseListener

##### w

    int w

### Class com.bric.swing.DialogFooter

class DialogFooter extends JPanel implements Serializable

serialVersionUID:
  1L

#### Serialized Fields

##### autoClose

    boolean autoClose

##### defaultButton

    JButton defaultButton

##### dismissControls

    JComponent[] dismissControls

##### hierarchyListener

    HierarchyListener hierarchyListener

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

##### innerActionListener

    ActionListener innerActionListener

##### lastSelectedComponent

    JComponent lastSelectedComponent

##### leftControls

    JComponent[] leftControls

##### listeners

    Vector listeners

### Class com.bric.swing.DialogFooter.ClickAction

class ClickAction extends AbstractAction implements Serializable

serialVersionUID:
  1L

#### Serialized Fields

##### button

    JButton button