Class EntityConditionPanelFactory

java.lang.Object
is.codion.swing.framework.ui.EntityConditionPanelFactory
All Implemented Interfaces:
is.codion.swing.common.ui.component.table.ColumnConditionPanel.Factory<is.codion.framework.domain.entity.attribute.Attribute<?>>

public class EntityConditionPanelFactory extends Object implements is.codion.swing.common.ui.component.table.ColumnConditionPanel.Factory<is.codion.framework.domain.entity.attribute.Attribute<?>>
A default ColumnConditionPanel.Factory implementation. Override createConditionPanel(ColumnConditionModel) to provide custom condition panels.
  • Constructor Details

    • EntityConditionPanelFactory

      public EntityConditionPanelFactory(is.codion.framework.domain.entity.EntityDefinition entityDefinition)
      Instantiates a new EntityConditionPanelFactory
      Parameters:
      entityDefinition - the entity definition
    • EntityConditionPanelFactory

      public EntityConditionPanelFactory(EntityComponents entityComponents)
      Instantiates a new EntityConditionPanelFactory
      Parameters:
      entityComponents - the EntityComponents instance to use when creating bound fields
  • Method Details

    • createConditionPanel

      public <T> Optional<is.codion.swing.common.ui.component.table.ColumnConditionPanel<is.codion.framework.domain.entity.attribute.Attribute<?>,T>> createConditionPanel(is.codion.common.model.table.ColumnConditionModel<is.codion.framework.domain.entity.attribute.Attribute<?>,T> conditionModel)
      Specified by:
      createConditionPanel in interface is.codion.swing.common.ui.component.table.ColumnConditionPanel.Factory<is.codion.framework.domain.entity.attribute.Attribute<?>>