Skip to content

0.18.17

Compare
Choose a tag to compare
@bjorndarri bjorndarri released this 06 Oct 14:21
· 288 commits to main since this release

Changes

is.codion.common.core

  • Value.Builder.initialValue() renamed value.

is.codion.common.model

  • Unused slf4j dependency removed.
  • ConditionModel.identifier() removed, related refactoring.
  • ConditionModel.AutomaticWildcard renamed Wildcard.
  • ConditionModel.wildcard() now Mutable instead of Value.

is.codion.swing.common.model

  • DefaultFilterTableModel, null item rejection improved.
  • DefaultFilterTableSelection, null item rejection improved.
  • FilterTableModel.conditions() renamed filters().
  • TableConditionModel.conditions() renamed get().
  • TableConditionModel renamed TableConditions.
  • ConditionModelFactory renamed ColumnConditionFactory.
  • ColumnConditionFactory.createColumnCondition() renamed create().
  • TableConditions renamed ColumnConditions.

is.codion.swing.common.ui

  • AbstractComponentBuilder.setInitialValue() removed, no longer necessary now that the component value is always created, which is now used to set the initial value.
  • SpinnerNumberValue now non-null and validates the value according to the model minimum and maximum, if specified.
  • FilterTableCellRenderer.backgroundColor() tableModel parameter replaced with conditionModel
  • DefaultFilterTableCellRenderer condition model cache removed.
  • ComponentBuilder.initialValue() renamed value().
  • AbstractComponentBuilder bug fixed, now only sets the componentOrientation if one has been specified, since it can affect the horizontalAlignment of components.
  • AbstractSpinnerBuilder hack added to preserve the horizontal editor alignment through UI changes.
  • FileInputPanel.ByteArrayInputPanelValue.setComponentValue() no longer throws UnsupportedOperationException.
  • FileInputPanel improved, related refactoring.
  • FilterTableCellRenderer.Builder.condition() renamed filter().
  • TableConditionPanel.conditionModel() renamed conditions().
  • FilterTable.Builder.resizeRowToFitEditor() added along with RESIZE_ROW_TO_FIT_EDITOR configuration value.
  • FilterColumnConditionPanel.FieldFactory, type parameter added to create methods.
  • NumberField.getNumber(), setNumber() and value() replaced with Mutable number().

is.codion.framework.model

  • DefaultEntityConditionModel, no longer wraps a single condition in a condition combination.
  • EntityConditionModel.AdditionalCondition added, related refactoring.
  • EntityTableConditions renamed EntityConditions.

is.codion.swing.framework.ui

  • EntityTableCellEditorFactory.editModel() added.
  • EntityTableCellRenderer removed.
  • EntityTableCellEditorFactory.builder() now final, tableCellRenderer() no longer final.
  • EntityTableCellRendererBuilder, query condition model cache removed.
  • EntityEditComponentPanel.requestComponentFocus() now uses requestFocusInWindow() instead of requestFocus().