Class QueryInput
java.lang.Object
de.willuhn.jameica.gui.input.AbstractInput
de.willuhn.jameica.gui.input.TextInput
de.willuhn.jameica.gui.input.QueryInput
Vorkonfiguriertes Input-Feld mit einer Lupe.
-
Field Summary
Fields inherited from interface Input
DATAKEY_TOOLTIP -
Constructor Summary
ConstructorsConstructorDescriptionct.QueryInput(int maxLength) ct.QueryInput(int maxLength, String hint) ct. -
Method Summary
Modifier and TypeMethodDescriptionabstract voidFuehrt die Suche durch.protected org.eclipse.swt.widgets.TextErzeugt das Text-Widget.Methods inherited from class TextInput
disable, enable, focus, getControl, getHint, getValue, isEnabled, setEnabled, setHint, setMaxLength, setValueMethods inherited from class AbstractInput
addListener, addListener, getData, getName, getParent, getStyleBits, hasChanged, isMandatory, paint, paint, setComment, setData, setInvalidChars, setMandatory, setName, setValidChars, update
-
Constructor Details
-
QueryInput
public QueryInput()ct. -
QueryInput
public QueryInput(int maxLength) ct.- Parameters:
maxLength-
-
QueryInput
-
-
Method Details
-
getTextWidget
protected org.eclipse.swt.widgets.Text getTextWidget()Description copied from class:TextInputErzeugt das Text-Widget. Ist eine extra Funktion damit es zum Beispiel von TextAreaInput ueberschriebn werden kann.- Overrides:
getTextWidgetin classTextInput- Returns:
- das Text-Widget.
- See Also:
-
doSearch
Fuehrt die Suche durch.- Parameters:
query- der Suchbegriff.
-