public class TextFieldEditorSource extends java.lang.Object implements IEditorSource
Modifier and Type | Class and Description |
---|---|
class |
TextFieldEditorSource.StringEditor |
Constructor and Description |
---|
TextFieldEditorSource(int size)
Creates a string editor source that will create an input of type "text", with the given size.
|
TextFieldEditorSource(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 TextFieldEditorSource |
getSharedInstance()
Returns the shared instanceof of a normal text field
|
static TextFieldEditorSource |
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 TextFieldEditorSource(int size)
public TextFieldEditorSource(int size, int maxLength)
maxLength
- Use a negative number to supress the maxLength attributepublic static TextFieldEditorSource getSharedInstance()
public static TextFieldEditorSource getWideInstance()
public org.apache.wicket.Component newEditorComponent(java.lang.String id, RecordEditMode editMode, SRecordInstance record, FormMeta formMeta)
newEditorComponent
in interface IEditorSource