Package de.willuhn.jameica.gui.input
Class PasswordInput
- java.lang.Object
-
- de.willuhn.jameica.gui.input.AbstractInput
-
- de.willuhn.jameica.gui.input.TextInput
-
- de.willuhn.jameica.gui.input.PasswordInput
-
-
Field Summary
-
Fields inherited from interface de.willuhn.jameica.gui.input.Input
DATAKEY_TOOLTIP
-
-
Constructor Summary
Constructors Constructor Description PasswordInput(java.lang.String value)Erzeugt ein neues Eingabe-Feld und schreibt den uebergebenen Wert rein.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.swt.widgets.ControlgetControl()Liefert das eigentliche Eingabecontrol.voidsetShowPassword(boolean showPassword)Legt fest, ob das Passwort bei der Eingabe angezeigt werden soll.-
Methods inherited from class de.willuhn.jameica.gui.input.TextInput
disable, enable, focus, getHint, getTextWidget, getValue, isEnabled, setEnabled, setHint, setMaxLength, setValue
-
Methods inherited from class de.willuhn.jameica.gui.input.AbstractInput
addListener, getData, getName, getParent, getStyleBits, hasChanged, isMandatory, paint, paint, setComment, setData, setInvalidChars, setMandatory, setName, setValidChars, update
-
-
-
-
Method Detail
-
getControl
public org.eclipse.swt.widgets.Control getControl()
Description copied from interface:InputLiefert das eigentliche Eingabecontrol. Es muss von jeder abgeleiteten Klasse implementiert werden und das Eingabe-Feld zurueckliefern.Da der Implementierer das Composite benoetigt, in dem das Control positioniert werden soll, kann er sich der Methode
AbstractInput.getParent()in dieser Klasse bedienen.- Specified by:
getControlin interfaceInput- Overrides:
getControlin classTextInput- Returns:
- das zu zeichnende Control.
- See Also:
Input.getControl()
-
setShowPassword
public void setShowPassword(boolean showPassword)
Legt fest, ob das Passwort bei der Eingabe angezeigt werden soll. Default: false.- Parameters:
showPassword-
-
-