|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bbn.openmap.omGraphics.OMColorChooser
public class OMColorChooser
A wrapper class that pops up a modified JColorChooser class. The modification involves replacing the preview panel with a slider that modifies the alpha transparency part of the color.
Constructor Summary | |
---|---|
OMColorChooser()
|
Method Summary | |
---|---|
static void |
main(java.lang.String[] argv)
|
static java.awt.Color |
showDialog(java.awt.Component component,
java.lang.String title,
java.awt.Color startingColor)
Displays a dialog that lets you change a color. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OMColorChooser()
Method Detail |
---|
public static java.awt.Color showDialog(java.awt.Component component, java.lang.String title, java.awt.Color startingColor)
component
- the source component.title
- the String title for the window.startingColor
- the initial color.public static void main(java.lang.String[] argv)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |