javax.rad.ui.component
Interface IPasswordField

All Superinterfaces:
IAlignmentConstants, IComponent, ILabel, INamedObject, IResource, ITextField
All Known Implementing Classes:
SwingPasswordField, UIPasswordField

public interface IPasswordField
extends ITextField

Platform and technology independent password field definition. It is designed for use with AWT, Swing, SWT, JSP, JSF, ... .

See Also:
ITextField

Field Summary
 
Fields inherited from interface javax.rad.ui.IAlignmentConstants
ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_LEFT, ALIGN_RIGHT, ALIGN_STRETCH, ALIGN_TOP
 
Method Summary
 char getEchoChar()
          Returns the character to be used for echoing.
 void setEchoChar(char pChar)
          Sets the echo character for this JPasswordField.
 
Methods inherited from interface javax.rad.ui.component.ITextField
getColumns, isBorderVisible, isEditable, selectAll, setBorderVisible, setColumns, setEditable
 
Methods inherited from interface javax.rad.ui.component.ILabel
getText, setText
 
Methods inherited from interface javax.rad.ui.IComponent
capture, eventComponentMoved, eventComponentResized, eventKeyPressed, eventKeyReleased, eventKeyTyped, eventMouseClicked, eventMouseEntered, eventMouseExited, eventMousePressed, eventMouseReleased, getBackground, getBounds, getCursor, getEventSource, getFactory, getFont, getForeground, getLocation, getLocationRelativeTo, getMaximumSize, getMinimumSize, getName, getParent, getPreferredSize, getSize, getToolTipText, isBackgroundSet, isCursorSet, isEnabled, isFocusable, isFontSet, isForegroundSet, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isVisible, requestFocus, setBackground, setBounds, setCursor, setEnabled, setEventSource, setFocusable, setFont, setForeground, setLocation, setLocationRelativeTo, setMaximumSize, setMinimumSize, setName, setParent, setPreferredSize, setSize, setToolTipText, setVisible
 
Methods inherited from interface javax.rad.ui.IResource
getResource
 
Methods inherited from interface javax.rad.ui.IAlignmentConstants
getHorizontalAlignment, getVerticalAlignment, setHorizontalAlignment, setVerticalAlignment
 

Method Detail

getEchoChar

char getEchoChar()
Returns the character to be used for echoing. The default is '*'.

Returns:
the echo character, 0 if unset

setEchoChar

void setEchoChar(char pChar)
Sets the echo character for this JPasswordField. Note that this is largely a suggestion, since the view that gets installed can use whatever graphic techniques it desires to represent the field. Setting a value of 0 indicates that you wish to see the text as it is typed, similar to the behavior of a standard JTextField.

Parameters:
pChar - the echo character to display


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.