de.guibuilder.framework
Class GuiPassword

java.lang.Object
  extended by de.guibuilder.framework.GuiMember
      extended by de.guibuilder.framework.GuiElement
          extended by de.guibuilder.framework.GuiComponent
              extended by de.guibuilder.framework.GuiPassword
All Implemented Interfaces:
IDatasetComponent, IDatasetMember, MemberAble, MemberPopupAble

public final class GuiPassword
extends GuiComponent

Implementierung einer Password Eingabe.

Since:
0.8.2a

Field Summary
 
Fields inherited from class de.guibuilder.framework.GuiComponent
BOOLEAN, DATA_TYPE_NAMES, DATE, ENUM, INTEGER, MULTILINE, NUMBER, STRING, TABLE, TIME, TREE
 
Fields inherited from class de.guibuilder.framework.GuiMember
GUI_ACTION, GUI_COMPONENT, GUI_CONTAINER, GUI_TABLE, GUI_TREE, GUI_TYPE_NAMES, OID
 
Constructor Summary
GuiPassword()
           
GuiPassword(java.lang.String label)
           
 
Method Summary
 int getDataType()
          Liefert den Datentyp der Componente.
 int getHorizontalAlignment()
           
 javax.swing.JComponent getJComponent()
          Liefert die Swing-Komponente zu diesem Oberflächen-Objekt (Delegation).
 java.lang.String getTag()
          Liefert den XML-Element-Tag für den Member.
 java.lang.Object getUnformatedValue()
          Liefert den unformatierten Inhalt dieser Componente.
 java.lang.Object getValue()
          Liefert den Inhalt der Componente als String.
 void lostFocus(java.awt.event.FocusEvent e)
          Überschrieben wegen msgLostFocus
 void reset()
          Setzt die Komponente in den Default-Zustand; Methode new()
 void setColumns(int i)
           
 void setHorizontalAlignment(int i)
           
 void setValue(java.lang.Object val)
          Setzt den Inhalt der Componente NICHT!
 
Methods inherited from class de.guibuilder.framework.GuiComponent
commitChanges, getDatasetValues, getDatasetValues, getDataTypeName, getGuiComponent, getGuiType, getLabel, getMaxlen, getMinlen, isModified, isNotnull, postProc, setDatasetValues, setMaxlen, setMinlen, setModified, setNotnull, toString, verify
 
Methods inherited from class de.guibuilder.framework.GuiElement
getFileName, getHint, getMsgChange, getMsgClick, getMsgDblClick, getParentTable, getRootPane, hasTabstop, isEnabled, requestFocus, setEnabled, setHint, setMsgChange, setMsgClick, setMsgDblClick, setMsgLostFocus, setParentTable, setTabstop
 
Methods inherited from class de.guibuilder.framework.GuiMember
addSetter, click, d_click, getAwtComponent, getBackground, getConstraints, getControler, getController, getDropTarget, getElementName, getElementPath, getFont, getForeground, getFullName, getGuiParent, getGuiTypeName, getMaximumSize, getMemberElement, getMinimumSize, getMsgDragEnter, getMsgDragExit, getMsgDragOver, getMsgDrop, getMsgFileDrop, getMsgMouseOver, getMsgPopup, getName, getOid, getParentNames, getParentTab, getPopupMenu, getPreferences, getPreferredSize, getRef, getToolTipText, getUserObject, isRootElement, isVisible, setBackground, setConstraints, setControler, setController, setDrag, setElementName, setFont, setForeground, setGuiParent, setLabel, setMaximumSize, setMinimumSize, setMsgDragEnter, setMsgDragExit, setMsgDragOver, setMsgDrop, setMsgFileDrop, setMsgMouseMoved, setMsgMouseOver, setMsgPopup, setName, setOid, setPopupMenu, setPreferences, setPreferredSize, setRef, setStateAttributes, setToolTipText, setUserObject, setVisible, showPopupMenu, showPopupMenu
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface de.guibuilder.framework.IDatasetMember
getElementName, getElementPath, isRootElement, setElementName
 

Constructor Detail

GuiPassword

public GuiPassword()

GuiPassword

public GuiPassword(java.lang.String label)
Method Detail

getTag

public final java.lang.String getTag()
Description copied from class: GuiMember
Liefert den XML-Element-Tag für den Member.

Specified by:
getTag in interface MemberAble
Specified by:
getTag in class GuiMember

getJComponent

public javax.swing.JComponent getJComponent()
Description copied from class: GuiMember
Liefert die Swing-Komponente zu diesem Oberflächen-Objekt (Delegation).

Es ist möglich, auf die jeweilige Swing-Klasse (JCombo, JTextField, JPanel, ...) zu casten; die Swing-Methoden können so genutzt werden.

Bei einem HiddenField und OptionGroup wird null geliefert!

Specified by:
getJComponent in class GuiMember

getDataType

public final int getDataType()
Description copied from class: GuiComponent
Liefert den Datentyp der Componente.

Denkbare Werte sind:

Specified by:
getDataType in class GuiComponent

lostFocus

public void lostFocus(java.awt.event.FocusEvent e)
Description copied from class: GuiComponent
Überschrieben wegen msgLostFocus

See Also:
GuiElement.setMsgLostFocus(java.lang.String), GuiRootPane.obj_LostFocus(de.guibuilder.framework.GuiElement, java.lang.String, java.lang.Object, java.awt.event.FocusEvent)

setValue

public void setValue(java.lang.Object val)
Setzt den Inhalt der Componente NICHT!

Overrides:
setValue in class GuiComponent
See Also:
GuiComponent.setModified(boolean), GuiComponent.isModified()

getUnformatedValue

public java.lang.Object getUnformatedValue()
Description copied from class: GuiComponent
Liefert den unformatierten Inhalt dieser Componente.

Specified by:
getUnformatedValue in class GuiComponent

getValue

public java.lang.Object getValue()
Liefert den Inhalt der Componente als String.

Specified by:
getValue in class GuiComponent

reset

public void reset()
Description copied from class: GuiMember
Setzt die Komponente in den Default-Zustand; Methode new()

Specified by:
reset in class GuiMember

setHorizontalAlignment

public void setHorizontalAlignment(int i)

getHorizontalAlignment

public int getHorizontalAlignment()

setColumns

public void setColumns(int i)