|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openbp.jaspira.option.OptionWidget
public abstract class OptionWidget
A option widget is a visual representation of an option. It has a visual component that allows display and editing of the option value. If the user edits the option value, an option widget event will be sent.
| Field Summary | |
|---|---|
protected Option |
option
Option this widget refers to |
| Constructor Summary | |
|---|---|
OptionWidget(Option option)
Constructor. |
|
| Method Summary | |
|---|---|
protected javax.swing.JLabel |
createHeading()
Creates a label that holds the option heading, if defined. |
javax.swing.JComponent |
getDescriptionComponent()
Gets the description component of the option. |
Option |
getOption()
Gets the option. |
abstract java.lang.Object |
getValue()
Returns the value of the option widget. |
abstract javax.swing.JComponent |
getWidgetComponent()
Gets the widget component that visualizes the option. |
void |
notifyOptionMgrOfOptionChange()
Notifies the option manager of an option change. |
abstract void |
setValue(java.lang.Object o)
Sets the value that will be displayed in the option widget. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Option option
| Constructor Detail |
|---|
public OptionWidget(Option option)
option - Option this widget refers to| Method Detail |
|---|
public Option getOption()
public javax.swing.JComponent getDescriptionComponent()
public void notifyOptionMgrOfOptionChange()
protected javax.swing.JLabel createHeading()
public abstract java.lang.Object getValue()
public abstract void setValue(java.lang.Object o)
public abstract javax.swing.JComponent getWidgetComponent()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||