Class NewFilterPopup

  • All Implemented Interfaces:
    com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.HasVisibility, com.google.gwt.user.client.ui.HasWidgets, com.google.gwt.user.client.ui.HasWidgets.ForIsWidget, com.google.gwt.user.client.ui.IndexedPanel, com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget, com.google.gwt.user.client.ui.IsWidget, Iterable<com.google.gwt.user.client.ui.Widget>, org.gwtbootstrap3.client.ui.base.HasId, org.gwtbootstrap3.client.ui.base.HasInlineStyle, org.gwtbootstrap3.client.ui.base.HasPull, org.gwtbootstrap3.client.ui.base.HasResponsiveness, org.gwtbootstrap3.client.ui.IsClosable

    @Dependent
    public class NewFilterPopup
    extends BaseModal
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject

        com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
      • Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgets

        com.google.gwt.user.client.ui.HasWidgets.ForIsWidget
      • Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.IndexedPanel

        com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget
    • Constructor Summary

      Constructors 
      Constructor Description
      NewFilterPopup()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addListBoxToFilter​(String label, String fieldName, boolean multiselect, HashMap<String,​String> listBoxInfo)  
      void addTextBoxToFilter​(String label, String fieldName)  
      void addTextBoxToFilter​(String label, String fieldName, String defaultValue)  
      void cleanFormValues​(List<org.gwtbootstrap3.client.ui.FormGroup> controlGroups)  
      void closePopup()  
      HashMap getFormValues()  
      void getFormValues​(List<org.gwtbootstrap3.client.ui.FormGroup> controlGroups)  
      void init()  
      void initColumns()  
      void refreshGrid()  
      void show​(org.uberfire.mvp.Command addfilterCommand, org.uberfire.mvp.Command refreshFilters, org.uberfire.ext.services.shared.preferences.GridPreferencesStore gridPreferenceStore)  
      • Methods inherited from class org.gwtbootstrap3.client.ui.Modal

        add, addHiddenHandler, addHideHandler, addShowHandler, addShownHandler, hide, isClosable, onHidden, onHide, onLoad, onShow, onShown, onUnload, setClosable, setDataBackdrop, setDataKeyboard, setFade, setHideOtherModals, setRemoveOnHide, setSize, setTitle, setWidth, toggle
      • Methods inherited from class org.gwtbootstrap3.client.ui.base.ComplexWidget

        getId, getPull, insert, insert, remove, setColor, setHiddenOn, setId, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddingTop, setPull, setVisibleOn
      • Methods inherited from class com.google.gwt.user.client.ui.ComplexPanel

        add, add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, iterator, remove
      • Methods inherited from class com.google.gwt.user.client.ui.Panel

        add, adopt, clear, doAttachChildren, doDetachChildren, orphan, remove
      • Methods inherited from class com.google.gwt.user.client.ui.Widget

        addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
      • Methods inherited from class com.google.gwt.user.client.ui.UIObject

        addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setVisible, setVisible, sinkBitlessEvent, toString
    • Field Detail

      • FILTER_NAME_PARAM

        public static String FILTER_NAME_PARAM
      • tabAdd

        @UiField
        public org.gwtbootstrap3.client.ui.TabListItem tabAdd
      • tabManagement

        @UiField
        public org.gwtbootstrap3.client.ui.TabListItem tabManagement
      • horizontalForm

        @UiField
        public org.gwtbootstrap3.client.ui.Form horizontalForm
      • existingFiltersPanel

        @UiField
        public com.google.gwt.user.client.ui.FlowPanel existingFiltersPanel
      • errorMessages

        @UiField
        public org.gwtbootstrap3.client.ui.HelpBlock errorMessages
      • errorMessagesGroup

        @UiField
        public org.gwtbootstrap3.client.ui.FormGroup errorMessagesGroup
      • dataProvider

        protected com.google.gwt.view.client.AsyncDataProvider<DataGridFilterSummary> dataProvider
    • Constructor Detail

      • NewFilterPopup

        public NewFilterPopup()
    • Method Detail

      • show

        public void show​(org.uberfire.mvp.Command addfilterCommand,
                         org.uberfire.mvp.Command refreshFilters,
                         org.uberfire.ext.services.shared.preferences.GridPreferencesStore gridPreferenceStore)
      • init

        public void init()
      • cleanFormValues

        public void cleanFormValues​(List<org.gwtbootstrap3.client.ui.FormGroup> controlGroups)
      • closePopup

        public void closePopup()
      • getFormValues

        public void getFormValues​(List<org.gwtbootstrap3.client.ui.FormGroup> controlGroups)
      • getFormValues

        public HashMap getFormValues()
      • addTextBoxToFilter

        public void addTextBoxToFilter​(String label,
                                       String fieldName)
      • addTextBoxToFilter

        public void addTextBoxToFilter​(String label,
                                       String fieldName,
                                       String defaultValue)
      • initColumns

        public void initColumns()
      • refreshGrid

        public void refreshGrid()