Package de.willuhn.jameica.gui.input
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 de.willuhn.jameica.gui.input.Input
DATAKEY_TOOLTIP
-
Constructor Summary
ConstructorsConstructorDescriptionct.QueryInput
(int maxLength) ct.QueryInput
(int maxLength, String hint) ct. -
Method Summary
Modifier and TypeMethodDescriptionabstract void
Fuehrt die Suche durch.protected org.eclipse.swt.widgets.Text
Erzeugt das Text-Widget.Methods inherited from class de.willuhn.jameica.gui.input.TextInput
disable, enable, focus, getControl, getHint, getValue, isEnabled, setEnabled, setHint, setMaxLength, setValue
Methods inherited from class de.willuhn.jameica.gui.input.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
ct.- Parameters:
maxLength
-hint
-
-
-
Method Details
-
getTextWidget
protected org.eclipse.swt.widgets.Text getTextWidget()Description copied from class:TextInput
Erzeugt das Text-Widget. Ist eine extra Funktion damit es zum Beispiel von TextAreaInput ueberschriebn werden kann.- Overrides:
getTextWidget
in classTextInput
- Returns:
- das Text-Widget.
- See Also:
-
doSearch
Fuehrt die Suche durch.- Parameters:
query
- der Suchbegriff.
-