Index

A B C D E F G H I J K L M N O P R S U Y 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

actionPerformed(ActionEvent) - Method in class com.bric.swing.DialogFooter.ClickAction
 
addActionListener(ActionListener) - Method in class com.bric.swing.DialogFooter
Adds an ActionListener.
addChangeListener(ChangeListener) - Method in class com.bric.swing.ColorPickerPanel
This listener will be notified when the current HSB or RGB values change.
autoClose - Variable in class com.bric.swing.DialogFooter
 

B

BLUE - Static variable in class com.bric.swing.ColorPicker
Used to indicate when we're in "blue mode".
BRI - Static variable in class com.bric.swing.ColorPicker
Used to indicate when we're in "brightness mode".

C

calculateThumbSize() - Method in class com.bric.plaf.ColorPickerSliderUI
 
calculateTrackRect() - Method in class com.bric.plaf.ColorPickerSliderUI
 
CANCEL_OPTION - Static variable in class com.bric.swing.DialogFooter
Used to indicate the user selected "Cancel" in a dialog.
ClickAction(JButton) - Constructor for class com.bric.swing.DialogFooter.ClickAction
 
closeDialogAndDisposeAction - Static variable in class com.bric.swing.DialogFooter
This action takes the Window associated with the source of this event, hides it, and then calls dispose() on it.
ColorPicker - Class in com.bric.swing
This is a panel that offers a robust set of controls to pick a color.
ColorPicker() - Constructor for class com.bric.swing.ColorPicker
Create a new ColorPicker with all controls visible except opacity.
ColorPicker(boolean, boolean) - Constructor for class com.bric.swing.ColorPicker
Create a new ColorPicker.
ColorPickerDemo - Class in com.bric.swing
A simple demo for the ColorPicker class.
ColorPickerDemo() - Constructor for class com.bric.swing.ColorPickerDemo
 
ColorPickerPanel - Class in com.bric.swing
This is the large graphic element in the ColorPicker that depicts a wide range of colors.
ColorPickerPanel() - Constructor for class com.bric.swing.ColorPickerPanel
Creates a new ColorPickerPanel
ColorPickerSliderUI - Class in com.bric.plaf
This is a SliderUI designed specifically for the ColorPicker.
ColorPickerSliderUI(JSlider, ColorPicker) - Constructor for class com.bric.plaf.ColorPickerSliderUI
 
ColorSwatch - Class in com.bric.swing
This is a square, opaque panel used to indicate a certain color.
ColorSwatch(int) - Constructor for class com.bric.swing.ColorSwatch
 
ColorSwatch(Color, int) - Constructor for class com.bric.swing.ColorSwatch
 
com.bric.plaf - package com.bric.plaf
 
com.bric.swing - package com.bric.swing
 
com.bric.util - package com.bric.util
 
createBlurbGraphic(Dimension) - Static method in class com.bric.swing.ColorPickerDemo
 
createCancelButton(boolean) - Static method in class com.bric.swing.DialogFooter
Creates a new "Cancel" button.
createDialogFooter(JComponent[], int, int) - Static method in class com.bric.swing.DialogFooter
Creates a DialogFooter and assigns a default button.
createDialogFooter(JComponent[], int, int, int) - Static method in class com.bric.swing.DialogFooter
Creates a DialogFooter.
createDontSaveButton() - Static method in class com.bric.swing.DialogFooter
Creates a new "Don't Save" button that is not triggered by the escape key.
createDontSaveButton(boolean) - Static method in class com.bric.swing.DialogFooter
Creates a new "Don't Save" button.
createNoButton() - Static method in class com.bric.swing.DialogFooter
Creates a new "No" button that is not triggered by the escape key.
createNoButton(boolean) - Static method in class com.bric.swing.DialogFooter
Creates a new "No" button.
createOKButton() - Static method in class com.bric.swing.DialogFooter
Creates a new "OK" button that is not triggered by the escape key.
createOKButton(boolean) - Static method in class com.bric.swing.DialogFooter
Creates a new "OK" button.
createSaveButton() - Static method in class com.bric.swing.DialogFooter
Creates a new "Save" button that is not triggered by the escape key.
createSaveButton(boolean) - Static method in class com.bric.swing.DialogFooter
Creates a new "Save" button.
createYesButton() - Static method in class com.bric.swing.DialogFooter
Creates a new "Yes" button that is not triggered by the escape key.
createYesButton(boolean) - Static method in class com.bric.swing.DialogFooter
Creates a new "Yes" button.

D

defaultButton - Variable in class com.bric.swing.DialogFooter
 
DelegateFocusTraversalPolicy - Class in com.bric.swing
A simple FocusTraversalPolicy object that delegates to another object.
DelegateFocusTraversalPolicy(FocusTraversalPolicy) - Constructor for class com.bric.swing.DelegateFocusTraversalPolicy
 
DialogFooter - Class in com.bric.swing
This is a row of buttons, intended to be displayed at the bottom of a dialog.
DialogFooter(JComponent[], JComponent[], boolean, JButton) - Constructor for class com.bric.swing.DialogFooter
Create a new DialogFooter.
DialogFooter.ClickAction - Class in com.bric.swing
This action calls button.doClick().
dismissControls - Variable in class com.bric.swing.DialogFooter
 
DONT_SAVE_OPTION - Static variable in class com.bric.swing.DialogFooter
Used to indicate the user selected "Don't Save" in a dialog.
drawBevel(Graphics2D, Rectangle) - Static method in class com.bric.plaf.PlafPaintUtils
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).

E

ESCAPE_KEY_DOES_NOTHING - Static variable in class com.bric.swing.DialogFooter
This (the default behavior) does nothing when the escape key is pressed.
ESCAPE_KEY_TRIGGERS_CANCEL - Static variable in class com.bric.swing.DialogFooter
This triggers the cancel button when the escape key is pressed.
ESCAPE_KEY_TRIGGERS_DEFAULT - Static variable in class com.bric.swing.DialogFooter
This triggers the default button when the escape key is pressed.
ESCAPE_KEY_TRIGGERS_NONDEFAULT - Static variable in class com.bric.swing.DialogFooter
This triggers the non-default button when the escape key is pressed.

F

fireChangeListeners() - Method in class com.bric.swing.ColorPickerPanel
 
FocusArrowListener - Class in com.bric.plaf
This listens for arrow keys and shifts the keyboard focus accordingly.
FocusArrowListener() - Constructor for class com.bric.plaf.FocusArrowListener
 

G

getButton(int) - Method in class com.bric.swing.DialogFooter
Finds a certain type of button, if it is available.
getCheckerBoard(int) - Static method in class com.bric.plaf.PlafPaintUtils
 
getColor() - Method in class com.bric.swing.ColorPicker
 
getColorPanel() - Method in class com.bric.swing.ColorPicker
 
getComponentAfter(Container, Component) - Method in class com.bric.swing.DelegateFocusTraversalPolicy
 
getComponentBefore(Container, Component) - Method in class com.bric.swing.DelegateFocusTraversalPolicy
 
getDefaultComponent(Container) - Method in class com.bric.swing.DelegateFocusTraversalPolicy
 
getDismissControls() - Method in class com.bric.swing.DialogFooter
Returns a copy of the dismissControls array used to construct this footer.
getExpertControls() - Method in class com.bric.swing.ColorPicker
This returns the panel with several rows of spinner controls.
getFirstComponent(Container) - Method in class com.bric.swing.DelegateFocusTraversalPolicy
 
getFocusableComponents(Component) - Static method in class com.bric.plaf.FocusArrowListener
Returns a set of all the components that can have the keyboard focus.
getFocusRingColor() - Static method in class com.bric.plaf.PlafPaintUtils
 
getHSB() - Method in class com.bric.swing.ColorPicker
 
getHSB() - Method in class com.bric.swing.ColorPickerPanel
 
getHSB(Point) - Method in class com.bric.swing.ColorPickerPanel
Returns the color at the indicated point in HSB values.
getLastComponent(Container) - Method in class com.bric.swing.DelegateFocusTraversalPolicy
 
getLastSelectedComponent() - Method in class com.bric.swing.DialogFooter
Returns the component last used to dismiss the dialog.
getLeftControls() - Method in class com.bric.swing.DialogFooter
Returns a copy of the leftControls array used to construct this footer.
getMajorJavaVersion() - Static method in class com.bric.util.JVM
This converts the system property "java.version" to a float value.
getMajorJavaVersion(boolean) - Static method in class com.bric.util.JVM
 
getMode() - Method in class com.bric.swing.ColorPicker
 
getOpacity() - Method in class com.bric.swing.ColorPicker
Returns the currently selected opacity (a float between 0 and 1).
getProfile() - Static method in class com.bric.util.JVM
Gets basic information about this session's JVM: the OS name invalid input: '&' version, the Java version, and (on Mac) whether Quartz is being used.
getRGB() - Method in class com.bric.swing.ColorPicker
 
getRGB() - Method in class com.bric.swing.ColorPickerPanel
 
getRGB(Point) - Method in class com.bric.swing.ColorPickerPanel
Returns the color at the indicated point in RGB values.
GREEN - Static variable in class com.bric.swing.ColorPicker
Used to indicate when we're in "green mode".

H

HUE - Static variable in class com.bric.swing.ColorPicker
Used to indicate when we're in "hue mode".

I

installListeners(JSlider) - Method in class com.bric.plaf.ColorPickerSliderUI
 
isMac - Static variable in class com.bric.swing.DialogFooter
 
isMac - Static variable in class com.bric.util.JVM
Whether this session is on a Mac.
isVista - Static variable in class com.bric.swing.DialogFooter
 
isVista - Static variable in class com.bric.util.JVM
Whether this session is on Vista.
isWindows - Static variable in class com.bric.util.JVM
Whether this session is on Windows.

J

javaVersion - Static variable in class com.bric.util.JVM
The major Java version being used (1.4, 1.5, 1.6, etc.), or -1 if this value couldn't be correctly determined.
JVM - Class in com.bric.util
Static methods relating to the JVM environment.
JVM() - Constructor for class com.bric.util.JVM
 

K

keyPressed(KeyEvent) - Method in class com.bric.plaf.FocusArrowListener
 

L

lastSelectedComponent - Variable in class com.bric.swing.DialogFooter
 
leftControls - Variable in class com.bric.swing.DialogFooter
 

M

main(String[]) - Static method in class com.bric.swing.ColorPickerDemo
This demonstrates how to customize a small ColorPicker component.
makeEscapeKeyActivate(AbstractButton) - Static method in class com.bric.swing.DialogFooter
This guarantees that when the escape key is pressed (if its parent window has the keyboard focus) this button is clicked.
MAX_SIZE - Static variable in class com.bric.swing.ColorPickerPanel
The maximum size the graphic will be.
MODE_CONTROLS_VISIBLE_PROPERTY - Static variable in class com.bric.swing.ColorPicker
PropertyChangeEvents will be triggered for this property when setModeControlsVisible() is called.
MODE_PROPERTY - Static variable in class com.bric.swing.ColorPicker
PropertyChangeEvents will be triggered when the mode changes.

N

NO_OPTION - Static variable in class com.bric.swing.DialogFooter
Used to indicate the user selected "No" in a dialog.
normalizeButtons(JButton[]) - Static method in class com.bric.swing.DialogFooter
This takes a set of buttons and gives them all the width/height of the largest button among them.

O

OK_CANCEL_OPTION - Static variable in class com.bric.swing.DialogFooter
Used to indicate a dialog should present a "OK" and "Cancel" option.
OK_OPTION - Static variable in class com.bric.swing.DialogFooter
Used to indicate the user selected "OK" in a dialog.
OPACITY_PROPERTY - Static variable in class com.bric.swing.ColorPicker
PropertyChangeEvents will be triggered when the opacity value is adjusted.

P

paint(Graphics) - Method in class com.bric.swing.ColorPickerPanel
 
paint(Graphics) - Method in class com.bric.swing.ColorSwatch
 
paintFocus(Graphics) - Method in class com.bric.plaf.ColorPickerSliderUI
 
paintFocus(Graphics2D, Shape, int) - Static method in class com.bric.plaf.PlafPaintUtils
Paints 3 different strokes around a shape to indicate focus.
paintThumb(Graphics) - Method in class com.bric.plaf.ColorPickerSliderUI
 
paintTrack(Graphics) - Method in class com.bric.plaf.ColorPickerSliderUI
 
PlafPaintUtils - Class in com.bric.plaf
Some static methods for some common painting functions.
PlafPaintUtils() - Constructor for class com.bric.plaf.PlafPaintUtils
 
Platform Differences - Search tag in class com.bric.swing.DialogFooter
Section
Preset Options - Search tag in class com.bric.swing.DialogFooter
Section
printProfile() - Static method in class com.bric.util.JVM
Prints basic information about this session's JVM: the OS name invalid input: '&' version, the Java version, and (on Mac) whether Quartz is being used.
PROPERTY_META_SHORTCUT - Static variable in class com.bric.swing.DialogFooter
This client property is used to impose a meta-shortcut to click a button.
PROPERTY_OPTION - Static variable in class com.bric.swing.DialogFooter
This is the client property of buttons created in static methods by this class.
PROPERTY_UNSAFE - Static variable in class com.bric.swing.DialogFooter
This client property is used to indicate a button is "unsafe".
propertyChange(PropertyChangeEvent) - Method in class com.bric.swing.ColorPickerDemo
 

R

RED - Static variable in class com.bric.swing.ColorPicker
Used to indicate when we're in "red mode".
removeActionListener(ActionListener) - Method in class com.bric.swing.DialogFooter
Removes an ActionListener.
removeChangeListener(ChangeListener) - Method in class com.bric.swing.ColorPickerPanel
Remove a ChangeListener so it is no longer notified when the selected color changes.
reset() - Method in class com.bric.swing.DialogFooter
This resets the value of lastSelectedComponent to null.
reverseButtonOrder - Static variable in class com.bric.swing.DialogFooter
This indicates whether the dismiss controls should be displayed in reverse order.

S

SAT - Static variable in class com.bric.swing.ColorPicker
Used to indicate when we're in "saturation mode".
SAVE_DONT_SAVE_CANCEL_OPTION - Static variable in class com.bric.swing.DialogFooter
Used to indicate a dialog should present a "Save", "Don't Save", and "Cancel" option.
SAVE_OPTION - Static variable in class com.bric.swing.DialogFooter
Used to indicate the user selected "Save" in a dialog.
SELECTED_COLOR_PROPERTY - Static variable in class com.bric.swing.ColorPicker
PropertyChangeEvents will be triggered for this property when the selected color changes.
setColor(Color) - Method in class com.bric.swing.ColorPicker
Sets the current color of this ColorPicker.
setExpertControlsVisible(boolean) - Method in class com.bric.swing.ColorPicker
The labels/spinners/buttons on the right side of a ColorPicker are optional.
setHexControlsVisible(boolean) - Method in class com.bric.swing.ColorPicker
This controls whether the hex field (and label) are visible or not.
setHSB(float, float, float) - Method in class com.bric.swing.ColorPicker
Sets the current color of this ColorPicker
setHSB(float, float, float) - Method in class com.bric.swing.ColorPickerPanel
Sets the selected color of this panel.
setHSBControlsVisible(boolean) - Method in class com.bric.swing.ColorPicker
This shows or hides the HSB spinner controls.
setMode(int) - Method in class com.bric.swing.ColorPicker
Sets the mode of this ColorPicker.
setMode(int) - Method in class com.bric.swing.ColorPickerPanel
Set the mode of this panel.
setModeControlsVisible(boolean) - Method in class com.bric.swing.ColorPicker
This controls whether the radio buttons that adjust the mode are visible.
setOpacity(int) - Method in class com.bric.swing.ColorPicker
Sets the currently selected opacity.
setOpacityVisible(boolean) - Method in class com.bric.swing.ColorPicker
This shows or hides the alpha controls.
setPreviewSwatchVisible(boolean) - Method in class com.bric.swing.ColorPicker
This controls whether the preview swatch visible or not.
setRGB(int, int, int) - Method in class com.bric.swing.ColorPicker
Sets the current color of this ColorPicker
setRGB(int, int, int) - Method in class com.bric.swing.ColorPickerPanel
Sets the selected color of this panel.
setRGBControlsVisible(boolean) - Method in class com.bric.swing.ColorPicker
This shows or hides the RGB spinner controls.
shiftFocus(int, int, Component) - Static method in class com.bric.plaf.FocusArrowListener
Shifts the focus in a certain direction.
showDialog(Window, Color) - Static method in class com.bric.swing.ColorPicker
This creates a modal dialog prompting the user to select a color.
showDialog(Window, Color, boolean) - Static method in class com.bric.swing.ColorPicker
This creates a modal dialog prompting the user to select a color.
showDialog(Window, String, Color, boolean) - Static method in class com.bric.swing.ColorPicker
This creates a modal dialog prompting the user to select a color.
strings - Static variable in class com.bric.swing.ColorPicker
The localized strings used in this (and related) panel(s).
strings - Static variable in class com.bric.swing.DialogFooter
The localized strings used in dialogs.

U

uninstallListeners(JSlider) - Method in class com.bric.plaf.ColorPickerSliderUI
 
usingQuartz - Static variable in class com.bric.util.JVM
If on a Mac: whether Quartz is the rendering pipeline.

Y

YES_NO_CANCEL_OPTION - Static variable in class com.bric.swing.DialogFooter
Used to indicate a dialog should present a "Yes", "No", and "Cancel" option.
YES_NO_OPTION - Static variable in class com.bric.swing.DialogFooter
Used to indicate a dialog should present a "Yes" and "No" option.
YES_OPTION - Static variable in class com.bric.swing.DialogFooter
Used to indicate the user selected "Yes" in a dialog.
A B C D E F G H I J K L M N O P R S U Y 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form