|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.awt.Component
|
+--java.awt.Container
|
+--javax.swing.JComponent
|
+--javax.swing.JPanel
|
+--uci.beans.editors.ColorPickerGrid
A small window that allows the user to choose a color. This window is slave to a ColorEditor (a small colored tile that appears in a PropSheet). Whenever the user choose a color, this object notifies its master ColorEditor.
| Inner classes inherited from class javax.swing.JPanel |
JPanel.AccessibleJPanel |
| Inner classes inherited from class javax.swing.JComponent |
JComponent.AccessibleJComponent |
| Field Summary | |
protected ColorEditor |
_peColor
The ColorEditor that is master to this slave window. |
protected JLabel |
_statusLabel
Text to be displayed in the status bar area of this window. |
protected static ColorPickerGrid |
_theInstance
PATTERN: singleton |
protected ColorTilePanel |
_tiles
An array printf tiny colored squares. |
| Fields inherited from class javax.swing.JComponent |
accessibleContext,
listenerList,
TOOL_TIP_TEXT_KEY,
ui,
UNDEFINED_CONDITION,
WHEN_ANCESTOR_OF_FOCUSED_COMPONENT,
WHEN_FOCUSED,
WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT,
CENTER_ALIGNMENT,
LEFT_ALIGNMENT,
RIGHT_ALIGNMENT,
TOP_ALIGNMENT |
| Constructor Summary | |
ColorPickerGrid(Color orig)
|
|
| Method Summary | |
void |
actionPerformed(ActionEvent ae)
|
void |
setColor(Color c)
|
void |
setPEColor(ColorEditor pec)
|
void |
updateStatusLabel()
|
| Methods inherited from class javax.swing.JPanel |
getAccessibleContext,
getUIClassID,
paramString,
updateUI |
| Methods inherited from class java.awt.Container |
add,
add,
add,
add,
add,
addContainerListener,
addImpl,
countComponents,
deliverEvent,
doLayout,
findComponentAt,
findComponentAt,
getComponent,
getComponentAt,
getComponentAt,
getComponentCount,
getComponents,
getLayout,
insets,
invalidate,
isAncestorOf,
layout,
list,
list,
locate,
minimumSize,
paintComponents,
preferredSize,
print,
printComponents,
processContainerEvent,
processEvent,
remove,
remove,
removeAll,
removeContainerListener,
setLayout,
validate,
validateTree |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Field Detail |
protected ColorTilePanel _tiles
protected ColorEditor _peColor
protected static ColorPickerGrid _theInstance
protected JLabel _statusLabel
| Constructor Detail |
public ColorPickerGrid(Color orig)
| Method Detail |
public void setPEColor(ColorEditor pec)
public void setColor(Color c)
public void actionPerformed(ActionEvent ae)
public void updateStatusLabel()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||