public class SinglePasswordEditorSource extends java.lang.Object implements IEditorSource
IEditorSource for a password field that only presents one field, unlike PasswordEditorSource,
which presents two.| Modifier and Type | Class and Description |
|---|---|
class |
SinglePasswordEditorSource.StringEditor |
| Constructor and Description |
|---|
SinglePasswordEditorSource(int size)
Creates a string editor source that will create an input of type "text", with the
given size.
|
SinglePasswordEditorSource(int size,
int maxLength)
Creates a string editor source that will create an input of type "text", with the
given size and
maxlength.
|
| Modifier and Type | Method and Description |
|---|---|
static SinglePasswordEditorSource |
getSharedInstance()
Returns the shared instanceof of a normal text field
|
static SinglePasswordEditorSource |
getWideInstance()
Returns the shared instanceof of a wide text field
|
org.apache.wicket.Component |
newEditorComponent(java.lang.String id,
RecordEditMode editMode,
SRecordInstance record,
FormMeta formMeta) |
public SinglePasswordEditorSource(int size)
public SinglePasswordEditorSource(int size,
int maxLength)
maxLength - Use a negative number to supress the maxLength attributepublic static SinglePasswordEditorSource getSharedInstance()
public static SinglePasswordEditorSource getWideInstance()
public org.apache.wicket.Component newEditorComponent(java.lang.String id,
RecordEditMode editMode,
SRecordInstance record,
FormMeta formMeta)
newEditorComponent in interface IEditorSource