All Packages Class Hierarchy This Package Previous Next Index
Class jas.util.ColorMenu
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----javax.swing.JComponent
|
+----javax.swing.AbstractButton
|
+----javax.swing.JMenuItem
|
+----javax.swing.JMenu
|
+----jas.util.ColorMenu
- public class ColorMenu
- extends JMenu
-
BASIC_COLOR_NAMES
- An array containing the names of colors defined as constants in
java.awt.Color.
-
BASIC_COLORS
- An array containing the basic colors defined as constants in
java.awt.Color.
-
EXTENDED_COLOR_NAMES
- An array containing names of the expanded selection of colors.
-
EXTENDED_COLORS
- An array containing an expanded selection of colors.
-
ColorMenu(String)
-
-
ColorMenu(String, boolean)
-
-
ColorMenu(String, ColorSelectionModel)
-
-
ColorMenu(String, ColorSelectionModel, boolean)
-
-
ColorMenu(String, ColorSelectionModel, Color[], String[])
-
-
fireMenuSelected()
-
-
getColor()
-
-
getSelectionModel()
-
-
setColor(Color)
-
-
setSelectionModel(ColorSelectionModel)
-
BASIC_COLORS
public static final Color BASIC_COLORS[]
- An array containing the basic colors defined as constants in
java.awt.Color.
BASIC_COLOR_NAMES
public static final String BASIC_COLOR_NAMES[]
- An array containing the names of colors defined as constants in
java.awt.Color.
- See Also:
- BASIC_COLORS
EXTENDED_COLORS
public static final Color EXTENDED_COLORS[]
- An array containing an expanded selection of colors.
EXTENDED_COLOR_NAMES
public static final String EXTENDED_COLOR_NAMES[]
- An array containing names of the expanded selection of colors.
- See Also:
- EXTENDED_COLORS
ColorMenu
public ColorMenu(String name,
ColorSelectionModel model)
ColorMenu
public ColorMenu(String name)
ColorMenu
public ColorMenu(String name,
boolean extendedColors)
ColorMenu
public ColorMenu(String name,
ColorSelectionModel model,
boolean extendedColors)
ColorMenu
public ColorMenu(String name,
ColorSelectionModel model,
Color colors[],
String names[])
getSelectionModel
public ColorSelectionModel getSelectionModel()
setSelectionModel
public void setSelectionModel(ColorSelectionModel model)
getColor
public Color getColor()
setColor
public void setColor(Color color)
fireMenuSelected
protected void fireMenuSelected()
- Overrides:
- fireMenuSelected in class JMenu
All Packages Class Hierarchy This Package Previous Next Index