Class ReferenceEditorSource
- java.lang.Object
-
- com.inductiveautomation.ignition.gateway.web.components.editors.ReferenceEditorSource
-
- All Implemented Interfaces:
IEditorSource,java.io.Serializable,org.apache.wicket.util.io.IClusterable
public class ReferenceEditorSource extends java.lang.Object implements IEditorSource
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanincludeNullOption
-
Constructor Summary
Constructors Constructor Description ReferenceEditorSource(boolean includeNullOption)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ReferenceEditorSourcegetNullOptionInstance()Returns an IEditorSource that creates ReferenceEditors that include the null optionstatic ReferenceEditorSourcegetSharedInstance()Returns an IEditorSource that creates ReferenceEditors that don't include the null optionbooleanisIncludeNullOption()org.apache.wicket.ComponentnewEditorComponent(java.lang.String id, RecordEditMode editMode, SRecordInstance record, FormMeta formMeta)
-
-
-
Method Detail
-
getNullOptionInstance
public static ReferenceEditorSource getNullOptionInstance()
Returns an IEditorSource that creates ReferenceEditors that include the null option
-
getSharedInstance
public static ReferenceEditorSource getSharedInstance()
Returns an IEditorSource that creates ReferenceEditors that don't include the null option
-
isIncludeNullOption
public boolean isIncludeNullOption()
-
newEditorComponent
public org.apache.wicket.Component newEditorComponent(java.lang.String id, RecordEditMode editMode, SRecordInstance record, FormMeta formMeta)- Specified by:
newEditorComponentin interfaceIEditorSource
-
-