de.willuhn.jameica.gui.input
Class PasswordInput

java.lang.Object
  extended by de.willuhn.jameica.gui.input.AbstractInput
      extended by de.willuhn.jameica.gui.input.TextInput
          extended by de.willuhn.jameica.gui.input.PasswordInput
All Implemented Interfaces:
Input, Part

public class PasswordInput
extends TextInput

Ist zustaendig fuer Passwort-Eingabefelder.

Author:
willuhn

Field Summary
 
Fields inherited from class de.willuhn.jameica.gui.input.TextInput
text
 
Constructor Summary
PasswordInput(java.lang.String value)
          Erzeugt ein neues Eingabe-Feld und schreibt den uebergebenen Wert rein.
 
Method Summary
 org.eclipse.swt.widgets.Control getControl()
          Liefert das eigentliche Eingabecontrol.
 void setShowPassword(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, getValue, isEnabled, setEnabled, setMaxLength, setValue
 
Methods inherited from class de.willuhn.jameica.gui.input.AbstractInput
addListener, getName, getParent, getStyleBits, hasChanged, isMandatory, paint, paint, setComment, setInvalidChars, setMandatory, setName, setValidChars
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PasswordInput

public PasswordInput(java.lang.String value)
Erzeugt ein neues Eingabe-Feld und schreibt den uebergebenen Wert rein.

Parameters:
value -
Method Detail

getControl

public org.eclipse.swt.widgets.Control getControl()
Description copied from interface: Input
Liefert 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 getParent() in dieser Klasse bedienen.

Specified by:
getControl in interface Input
Overrides:
getControl in class TextInput
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 -