|
BioLegato 0.7.3 Core API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.biolegato.core.pcdmenu.widgets.TextWidget
public class TextWidget
A wrapper class used to abstract text fields within command windows.
| Field Summary | |
|---|---|
protected javax.swing.JTextField |
textfield
The textfield for obtaining the data |
| Constructor Summary | |
|---|---|
TextWidget(java.lang.String label,
java.lang.String value)
Creates a new instance of TextWidget |
|
| Method Summary | |
|---|---|
void |
close()
Notifies the variable that the program has now completed successfully, and it can perform any closing operations |
java.awt.Component |
display()
Displays the current object |
java.lang.Object |
getValue()
Returns the value of the variable. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected javax.swing.JTextField textfield
| Constructor Detail |
|---|
public TextWidget(java.lang.String label,
java.lang.String value)
scope - the scope to parse for the productions| Method Detail |
|---|
public java.awt.Component display()
Widget
display in interface Widgetpublic java.lang.Object getValue()
getValue in interface Widgetpublic void close()
Widget
close in interface Widget
|
BioLegato 0.7.3 Core API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||