Class TextFieldEditorSource
- java.lang.Object
- 
- com.inductiveautomation.ignition.gateway.web.components.editors.TextFieldEditorSource
 
- 
- All Implemented Interfaces:
- IEditorSource,- java.io.Serializable,- org.apache.wicket.util.io.IClusterable
 - Direct Known Subclasses:
- ProviderTextFieldEditorSource,- TagHistoryNameEditorSource
 
 public class TextFieldEditorSource extends java.lang.Object implements IEditorSource - See Also:
- Serialized Form
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description classTextFieldEditorSource.StringEditor
 - 
Constructor SummaryConstructors Constructor 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.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TextFieldEditorSourcegetSharedInstance()Returns the shared instanceof of a normal text fieldstatic TextFieldEditorSourcegetWideInstance()Returns the shared instanceof of a wide text fieldorg.apache.wicket.ComponentnewEditorComponent(java.lang.String id, RecordEditMode editMode, SRecordInstance record, FormMeta formMeta)
 
- 
- 
- 
Constructor Detail- 
TextFieldEditorSourcepublic TextFieldEditorSource(int size) Creates a string editor source that will create an input of type "text", with the given size. The default size is 30
 - 
TextFieldEditorSourcepublic TextFieldEditorSource(int size, int maxLength)Creates a string editor source that will create an input of type "text", with the given size and maxlength.- Parameters:
- maxLength- Use a negative number to supress the maxLength attribute
 
 
- 
 - 
Method Detail- 
getSharedInstancepublic static TextFieldEditorSource getSharedInstance() Returns the shared instanceof of a normal text field
 - 
getWideInstancepublic static TextFieldEditorSource getWideInstance() Returns the shared instanceof of a wide text field
 - 
newEditorComponentpublic org.apache.wicket.Component newEditorComponent(java.lang.String id, RecordEditMode editMode, SRecordInstance record, FormMeta formMeta)- Specified by:
- newEditorComponentin interface- IEditorSource
 
 
- 
 
-