view
Class EditToolbar.ColorChoice
java.lang.Object
   view.EditToolbar.ColorChoice
view.EditToolbar.ColorChoice
- All Implemented Interfaces: 
- EditToolbar.ChoiceWithIcon
- Enclosing class:
- EditToolbar
- private class EditToolbar.ColorChoice 
- extends java.lang.Object- implements EditToolbar.ChoiceWithIcon
Nested class used to hold the per-item information for the entries in the combo box of color choices. Each item
 represents a color choice which is basically just a Color object and a name.
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
color
private java.awt.Color color
name
private java.lang.String name
icon
private EditToolbar.ColorIcon icon
EditToolbar.ColorChoice
public EditToolbar.ColorChoice(java.lang.String n,
                               java.awt.Color c)
setColor
public void setColor(java.awt.Color c)
- 
 
- 
 
getColor
public java.awt.Color getColor()
- 
 
- 
 
toString
public java.lang.String toString()
- 
- Overrides:
- toStringin class- java.lang.Object
 
- 
 
getIcon
public javax.swing.Icon getIcon()
- 
- Specified by:
- getIconin interface- EditToolbar.ChoiceWithIcon
 
- 
 
select
public void select()
- Description copied from interface: EditToolbar.ChoiceWithIcon
- Callback if this choice was selected.
 
- 
- Specified by:
- selectin interface- EditToolbar.ChoiceWithIcon
 
-