public class AdvancedSearchView extends AbstractAdvancedSearchView
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
CLEAR_BTN_IMG |
protected static java.lang.String |
EDIT_BTN_IMG |
protected static java.lang.String |
EDIT_BTN_IMG_ACTIVE |
protected boolean |
initialized |
protected static java.lang.String |
SEARCH_MAGNIFIER_BTN_IMG |
| Constructor and Description |
|---|
AdvancedSearchView() |
AdvancedSearchView(java.util.List<? extends Component> leftButtons,
java.util.List<? extends Component> rightButtons) |
| Modifier and Type | Method and Description |
|---|---|
protected Component |
createEditSearchFieldEntry(SearchField field) |
protected EditSearchGroupComponent |
createEditSearchGroupComponent(SearchFieldGroup group) |
protected Component |
createSearchFieldRowComponent(SearchField field) |
protected SearchGroupComponent |
createSearchGroupComponent(SearchFieldGroup group) |
protected void |
createSimpleRowComponent(Component parent,
java.lang.Object rawInitialValue,
PropertyDescriptor propertyDescriptor,
SearchField field,
UIEditor editor) |
protected void |
fireActionPerformed(java.lang.String actionCode,
SearchField field) |
AdvancedSearchModel |
getModel()
Returns this view component's model.
|
AdvancedSearchParameterContainer |
getParameterContainer() |
boolean |
initialize()
Initializes this view component.
|
protected void |
renderEditArea(Component parent) |
protected void |
renderEditSearchFieldEntries(java.util.Collection<SearchField> entries,
Component parent) |
protected void |
resizeCorrespondingContentBrowser() |
void |
setEditMode(boolean value) |
void |
setModel(AdvancedSearchModel model)
Sets the model of this view component to
model and initializes the view (if model is not
null). |
boolean |
update()
Updates this view component completely.
|
void |
updateSearchField(SearchField searchField,
java.lang.Object value)
Called whenever the view corresponding to a specific search field needs to be updated.
|
void |
updateSearchFields()
Called whenever a search field's visibility has changed.
|
void |
updateSearchGroups()
Called whenever a search field group's visibility has changed.
|
void |
updateSelectedType()
Called whenever the selected search type has changed.
|
void |
updateSortFields()
Called whenever the list of available sort fields, selected sort field or sort direction has changed.
|
void |
updateTypes()
Called whenever the list of available search types has changed.
|
addAdvancedSearchViewListener, fireAddSortField, fireChangeSelectedType, fireHideSearchField, fireHideSearchFieldGroup, fireRemoveSortField, fireSearch, fireShowSearchField, fireShowSearchFieldGroup, isInEditMode, removeAdvancedSearchViewListenerprotected boolean initialized
protected static final java.lang.String SEARCH_MAGNIFIER_BTN_IMG
protected static final java.lang.String EDIT_BTN_IMG
protected static final java.lang.String EDIT_BTN_IMG_ACTIVE
protected static final java.lang.String CLEAR_BTN_IMG
public AdvancedSearchView()
public AdvancedSearchView(java.util.List<? extends Component> leftButtons,
java.util.List<? extends Component> rightButtons)
public final boolean initialize()
UIViewComponenttrue if initialize was successful, false otherwiseprotected void renderEditArea(Component parent)
protected void renderEditSearchFieldEntries(java.util.Collection<SearchField> entries, Component parent)
protected SearchGroupComponent createSearchGroupComponent(SearchFieldGroup group)
protected EditSearchGroupComponent createEditSearchGroupComponent(SearchFieldGroup group)
protected Component createEditSearchFieldEntry(SearchField field)
protected void createSimpleRowComponent(Component parent,
java.lang.Object rawInitialValue,
PropertyDescriptor propertyDescriptor,
SearchField field,
UIEditor editor)
protected void fireActionPerformed(java.lang.String actionCode,
SearchField field)
protected Component createSearchFieldRowComponent(SearchField field)
public AdvancedSearchModel getModel()
UIAdvancedSearchViewpublic void setModel(AdvancedSearchModel model)
UIAdvancedSearchViewmodel and initializes the view (if model is not
null).model - the modelpublic void updateSearchField(SearchField searchField, java.lang.Object value)
UIAdvancedSearchViewsearchField - the search field which has changedvalue - the value to setpublic void updateSearchFields()
UIAdvancedSearchViewpublic void updateSearchGroups()
UIAdvancedSearchViewpublic void updateSelectedType()
UIAdvancedSearchViewpublic void updateTypes()
UIAdvancedSearchViewpublic void updateSortFields()
UIAdvancedSearchViewpublic void setEditMode(boolean value)
setEditMode in class AbstractAdvancedSearchViewprotected void resizeCorrespondingContentBrowser()
public boolean update()
UIViewComponenttrue if update was successful, false otherwisepublic AdvancedSearchParameterContainer getParameterContainer()
getParameterContainer in class AbstractAdvancedSearchViewCopyright © 2018 SAP SE. All Rights Reserved.