public class InputHint
extends java.lang.Object
Constructor and Description |
---|
InputHint(java.lang.String text,
java.lang.String label,
java.lang.String description)
Creates a new input hint with the given data
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription()
Returns the description to be displayed in a tooltip of an input hint.
|
java.lang.String |
getLabel()
Returns the label to be displayed of an input hint.
|
java.lang.String |
getText()
Returns the text to be inserted of an input hint.
|
void |
setDescription(java.lang.String description)
Sets the label to be displayed in a tooltip of an input hint.
|
void |
setLabel(java.lang.String label)
Sets the label to be displayed of an input hint.
|
void |
setText(java.lang.String text)
Sets the text to be inserted of an input hint.
|
public InputHint(java.lang.String text, java.lang.String label, java.lang.String description)
text
- text to be insertedlabel
- label to be displayeddescription
- description to be displayed in a tooltippublic java.lang.String getText()
public void setText(java.lang.String text)
label
- a text, may contain operation expressionspublic java.lang.String getLabel()
public void setLabel(java.lang.String label)
label
- a label text, may contain TeX commandspublic java.lang.String getDescription()
public void setDescription(java.lang.String description)
label
- a description textFurther documentation and examples can be found under www.mathletfactory.de.