public class CollectionEditor extends AbstractCollectionEditor implements DesktopRemovalAwareComponent
| Modifier and Type | Field and Description |
|---|---|
protected static String |
_100PERCENT |
protected AdditionalReferenceEditorListener |
additionalListener |
protected Div |
defaultEmptyLabelContainer |
protected static String |
DROP_DRAG_ID |
protected EditorListener |
editorListener |
protected static String |
HEIGHT |
protected static String |
MAX_COLLECTION_EDITOR_ROWS |
protected static String |
MIN_COLLECTION_EDITOR_ROWS |
protected CollectionSelectorController |
selectorController |
protected SimpleReferenceSelector |
simpleReferenceSelector |
protected static String |
WIDTH |
collectionControler| Constructor and Description |
|---|
CollectionEditor(EditorListener editorListener,
AdditionalReferenceEditorListener additionalListener) |
fireAddCollectionItem, fireAddCollectionItems, fireMoveCollectionItem, fireRemoveCollectionItem, fireRemoveCollectionItem, getCollectionControler, setCollectionControlerprotected static final String MIN_COLLECTION_EDITOR_ROWS
protected static final String MAX_COLLECTION_EDITOR_ROWS
protected static final String DROP_DRAG_ID
protected static final String WIDTH
protected static final String HEIGHT
protected static final String _100PERCENT
protected transient CollectionSelectorController selectorController
protected transient SimpleReferenceSelector simpleReferenceSelector
protected transient Div defaultEmptyLabelContainer
protected final EditorListener editorListener
protected AdditionalReferenceEditorListener additionalListener
public CollectionEditor(EditorListener editorListener, AdditionalReferenceEditorListener additionalListener)
public boolean update()
UIViewComponentupdate in interface UIViewComponenttrue if update was successful, false otherwisepublic void updateCollectionItems()
updateCollectionItems in class AbstractCollectionEditorprotected void loadDefaultEmptyLabel()
public boolean initialize()
UIViewComponentinitialize in interface UIViewComponenttrue if initialize was successful, false otherwisepublic void setModel(CollectionEditorModel model)
public CollectionEditorModel getModel()
getModel in class AbstractCollectionEditorpublic void desktopRemoved(Desktop desktop)
desktopRemoved in interface DesktopRemovalAwareComponentpublic void detach()
public void setParent(Component parent)
public void updateRootSearchTypeChanged()
updateRootSearchTypeChanged in class AbstractCollectionEditorpublic void updateRootTypeChanged()
updateRootTypeChanged in class AbstractCollectionEditorprotected void doCollectionItemDoubleClicked(TypedObject item)
protected void fireAbortAndCloseAdvancedMode()
protected void doCollectionItemEntered()
protected ListitemRenderer createCollectionItemListRenderer()
public void setAutocompletionSearchType(ObjectType autocompletionSearchType)
protected void parseInitialParameters(Map<String,? extends Object> parameters)
protected SimpleReferenceSelector initializeReferenceSelector()
public void doSimpleReferenceSelectorCollaped()
public void fireCancel()
public void addEventCollectionEditorListener(String event, EventListener listener)
public boolean isDisabled()
public void setDisabled(boolean disabled)
public void setCreateContext(CreateContext createContext)
public CreateContext getCreateContext()
public Boolean isAllowCreate()
public void setAllowCreate(Boolean allowCreate)
protected int getMinRowsNumber()
protected int getMaxRowsNumber()
public String getImageHeight()
public void setImageHeight(String imageHeight)
Copyright © 2017 SAP SE. All Rights Reserved.