name.panitz.eliza
Interface ButtonLogic

All Known Implementing Classes:
Eliza

public interface ButtonLogic

Contains the two necessary methods for determining the logic of the simple GUI framework: Dialogue.


Method Summary
 java.lang.String eval(java.lang.String x)
          Describes how the text in the input field is converted into a text for the output field.
 java.lang.String getDescription()
          The label text on the Button in the GUI.
 

Method Detail

getDescription

java.lang.String getDescription()
The label text on the Button in the GUI.

Returns:
the button label text.

eval

java.lang.String eval(java.lang.String x)
Describes how the text in the input field is converted into a text for the output field.

Parameters:
x - is the text as read from the input field.
Returns:
the text to be written into the output field.