public class ReferenceEditorSource extends java.lang.Object implements IEditorSource
Modifier and Type | Field and Description |
---|---|
protected boolean |
includeNullOption |
Constructor and Description |
---|
ReferenceEditorSource(boolean includeNullOption) |
Modifier and Type | Method and Description |
---|---|
static ReferenceEditorSource |
getNullOptionInstance()
Returns an IEditorSource that creates ReferenceEditors that include the null option
|
static ReferenceEditorSource |
getSharedInstance()
Returns an IEditorSource that creates ReferenceEditors that don't include the null option
|
boolean |
isIncludeNullOption() |
org.apache.wicket.Component |
newEditorComponent(java.lang.String id,
RecordEditMode editMode,
SRecordInstance record,
FormMeta formMeta) |
public static ReferenceEditorSource getNullOptionInstance()
public static ReferenceEditorSource getSharedInstance()
public boolean isIncludeNullOption()
public org.apache.wicket.Component newEditorComponent(java.lang.String id, RecordEditMode editMode, SRecordInstance record, FormMeta formMeta)
newEditorComponent
in interface IEditorSource