Class AbstractEntityTableConditionPanel

    • Constructor Detail

      • AbstractEntityTableConditionPanel

        public AbstractEntityTableConditionPanel​(EntityTableConditionModel tableConditionModel,
                                                 Collection<TableColumn> tableColumns)
        Instantiates a new AbstractEntityTableConditionPanel.
        Parameters:
        tableConditionModel - the table condition model
        tableColumns - the table columns
    • Method Detail

      • tableConditionModel

        public final EntityTableConditionModel tableConditionModel()
        Returns:
        the condition model this condition panel is based on
      • tableColumns

        public final Collection<TableColumn> tableColumns()
        Returns:
        all columns from the underlying column model
      • advancedState

        public final State advancedState()
        Returns:
        the state controlling the advanced state of this condition panel
      • controls

        public Controls controls()
        Returns:
        the controls provided by this condition panel, such as toggling the advanced mode and clearing the condition, an empty Controls instance in case of no controls.
      • hasAdvancedView

        public boolean hasAdvancedView()
        Returns:
        true if this panel has an advanced view which can be toggled on/off
      • selectConditionPanel

        public void selectConditionPanel()
        Selects a condition panel, if there are more than one available the user gets to choose.
      • addAdvancedViewListener

        public final void addAdvancedViewListener​(EventDataListener<Boolean> listener)
        Parameters:
        listener - a listener notified each time the advanced search state changes
      • removeAdvancedViewListener

        public final void removeAdvancedViewListener​(EventDataListener<Boolean> listener)
        Parameters:
        listener - the listener to remove
      • addFocusGainedListener

        public void addFocusGainedListener​(EventDataListener<Attribute<?>> listener)
        Parameters:
        listener - a listener notified when a condition panel receives focus, note this does not apply for custom search panels