Class SinglePasswordEditorSource
- java.lang.Object
-
- com.inductiveautomation.ignition.gateway.web.components.editors.SinglePasswordEditorSource
-
- All Implemented Interfaces:
IEditorSource,java.io.Serializable,org.apache.wicket.util.io.IClusterable
public class SinglePasswordEditorSource extends java.lang.Object implements IEditorSource
AnIEditorSourcefor a password field that only presents one field, unlikePasswordEditorSource, which presents two.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classSinglePasswordEditorSource.StringEditor
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SinglePasswordEditorSourcegetSharedInstance()Returns the shared instanceof of a normal text fieldstatic SinglePasswordEditorSourcegetWideInstance()Returns the shared instanceof of a wide text fieldorg.apache.wicket.ComponentnewEditorComponent(java.lang.String id, RecordEditMode editMode, SRecordInstance record, FormMeta formMeta)
-
-
-
Constructor Detail
-
SinglePasswordEditorSource
public SinglePasswordEditorSource(int size)
Creates a string editor source that will create an input of type "text", with the given size. The default size is 30
-
SinglePasswordEditorSource
public SinglePasswordEditorSource(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
-
getSharedInstance
public static SinglePasswordEditorSource getSharedInstance()
Returns the shared instanceof of a normal text field
-
getWideInstance
public static SinglePasswordEditorSource getWideInstance()
Returns the shared instanceof of a wide text field
-
newEditorComponent
public org.apache.wicket.Component newEditorComponent(java.lang.String id, RecordEditMode editMode, SRecordInstance record, FormMeta formMeta)- Specified by:
newEditorComponentin interfaceIEditorSource
-
-