|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openbp.jaspira.option.OptionWidget
org.openbp.jaspira.option.widget.ColorWidget
public class ColorWidget
Option widget that supports the selection of a color.
| Field Summary |
|---|
| Fields inherited from class org.openbp.jaspira.option.OptionWidget |
|---|
option |
| Constructor Summary | |
|---|---|
ColorWidget(Option option)
Constructor. |
|
| Method Summary | |
|---|---|
java.lang.Object |
getValue()
Get the selected color. |
javax.swing.JComponent |
getWidgetComponent()
Get the panel for the color widget. |
void |
setValue(java.lang.Object o)
Set a new color. |
| Methods inherited from class org.openbp.jaspira.option.OptionWidget |
|---|
createHeading, getDescriptionComponent, getOption, notifyOptionMgrOfOptionChange |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ColorWidget(Option option)
option - Option the widget refers to| Method Detail |
|---|
public java.lang.Object getValue()
getValue in class OptionWidgetColor objectpublic javax.swing.JComponent getWidgetComponent()
getWidgetComponent in class OptionWidgetpublic void setValue(java.lang.Object o)
setValue in class OptionWidgeto - The Color object to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||