|
BioLegato 0.7.5 Core API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.biolegato.menu.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 |
void |
display(java.awt.Container dest)
Displays the text widget |
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 void display(java.awt.Container dest)
display in interface Widgetdest - the destination to display the text widgetpublic java.lang.Object getValue()
getValue in interface Widgetpublic void close()
Widget
close in interface Widget
|
BioLegato 0.7.5 Core API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||