|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.gui.ColorField
public class ColorField
A basic convenience wrapper around a JColorChooser.
Copyright 2005 Partner Software, Inc.
| Constructor Summary | |
|---|---|
ColorField()
|
|
| Method Summary | |
|---|---|
void |
doAction()
This does different things depending on the field; for example in a text field it indicates return was hit. |
javax.swing.JComponent |
getGUI()
Returns the GUI component for this field. |
javax.swing.JColorChooser |
getJColorChooser()
|
StringField |
getStringField()
|
java.lang.Object |
getValue()
Returns the current value for this field. |
void |
openChooser()
|
void |
setValue(java.lang.Object newValue)
Sets the current value for this field. |
void |
valueChanged(java.lang.Object newValue)
When the value changes, this is run. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ColorField()
| Method Detail |
|---|
public javax.swing.JComponent getGUI()
GUIField
getGUI in interface GUIFieldpublic javax.swing.JColorChooser getJColorChooser()
public StringField getStringField()
public void openChooser()
public void doAction()
GUIField
doAction in interface GUIFieldpublic java.lang.Object getValue()
GUIField
getValue in interface GUIFieldpublic void setValue(java.lang.Object newValue)
GUIField
setValue in interface GUIFieldpublic void valueChanged(java.lang.Object newValue)
GUIField
valueChanged in interface GUIField
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||