Module net.anwiba.commons.swing
Package net.anwiba.commons.swing.table
Interface IObjectTableBuilder<T>
- All Known Implementing Classes:
ObjectTableBuilder
public interface IObjectTableBuilder<T>
-
Method Summary
Modifier and TypeMethodDescriptionaddActionFactory(ITableActionFactory<T> factory) addActionFactory(ITableActionFactory<T> factory, ITableCheckActionEnabledValidator<T> validator) addAddObjectAction(IColumnObjectFactory<T, T, RuntimeException> factory) addBooleanColumn(String title, IFunction<T, Boolean, RuntimeException> provider, int size) addColorColumn(String title, IFunction<T, Color, RuntimeException> provider, int size) addColumn(IObjectListColumnConfiguration<T> columnConfiguration) addDoubleColumn(String title, IFunction<T, Double, RuntimeException> provider, int size) addDoubleColumn(String title, IFunction<T, Double, RuntimeException> provider, NumberTableCellRenderer renderer, int size) addEditableIntegerColumn(String title, IFunction<T, Integer, RuntimeException> provider, IAggregator<T, Integer, T, RuntimeException> aggregator, JComponent component, int size) addEditableStringColumn(String title, IFunction<T, String, RuntimeException> provider, IAggregator<T, String, T, RuntimeException> adaptor, int size) addImageColumn(String title, IFunction<T, Image, RuntimeException> provider, int size) addIntegerColumn(String title, IFunction<T, Integer, RuntimeException> provider, int size) addObjectColumn(String title, IFunction<T, Object, RuntimeException> provider, int size) addSortableBooleanColumn(String title, IFunction<T, Boolean, RuntimeException> provider, int size) addSortableDoubleColumn(String title, IFunction<T, Double, RuntimeException> provider, int size) addSortableDurationColumn(String string, IFunction<T, Duration, RuntimeException> provider, int size) addSortableIntegerColumn(String title, IFunction<T, Integer, RuntimeException> provider, int size) addSortableLocalTimeDateColumn(String title, IFunction<T, LocalDateTime, RuntimeException> provider, int size) addSortableLongColumn(String title, IFunction<T, Long, RuntimeException> provider, int size) addSortableStringColumn(String title, IFunction<T, String, RuntimeException> provider, int size) addStringChooseColumn(String title, IFunction<T, String, RuntimeException> provider, IAggregator<T, String, T, RuntimeException> adaptor, List<String> values, int size) addStringColumn(String title, IFunction<T, String, RuntimeException> provider, int size) build()setAccessoryFooterPanelFactory(IFactory<IObjectTableModel<T>, JComponent, RuntimeException> accessoryFooterPanelFactory) setAccessoryHeaderPanelFactory(IFactory<IObjectTableModel<T>, JComponent, RuntimeException> accessoryHeaderPanelFactory) setFilterToStringConverter(IColumToStringConverter columnToStringConverter) setHeaderMouseListenerFactory(IMouseListenerFactory<T> mouseListenerFactory) setKeyListenerFactory(IKeyListenerFactory<T> keyListenerFactory) setPreferredVisibleRowCount(int preferredVisibleRowCount) setRowFilterDistributor(IObjectDistributor<IAcceptor<T>> rowFilterDistributor) setSelectionMode(int selectionMode) setTableMouseListenerFactory(IMouseListenerFactory<T> mouseListenerFactory) setTextFieldKeyListenerFactory(ITableTextFieldKeyListenerFactory<T> textFieldKeyListenerFactory)
-
Method Details
-
setKeyListenerFactory
-
setSelectionMode
-
addTextFieldActionFactory
-
setPreferredVisibleRowCount
-
setHeaderMouseListenerFactory
-
setTableMouseListenerFactory
-
addAddObjectAction
-
addEditObjectAction
-
addRemoveObjectsAction
IObjectTableBuilder<T> addRemoveObjectsAction() -
addClearTableAction
IObjectTableBuilder<T> addClearTableAction() -
addMoveObjectUpAction
IObjectTableBuilder<T> addMoveObjectUpAction() -
addMoveObjectDownAction
IObjectTableBuilder<T> addMoveObjectDownAction() -
addActionFactory
-
addActionFactory
IObjectTableBuilder<T> addActionFactory(ITableActionFactory<T> factory, ITableCheckActionEnabledValidator<T> validator) -
setTextFieldKeyListenerFactory
IObjectTableBuilder<T> setTextFieldKeyListenerFactory(ITableTextFieldKeyListenerFactory<T> textFieldKeyListenerFactory) -
setFilterToStringConverter
-
setRowFilterDistributor
IObjectTableBuilder<T> setRowFilterDistributor(IObjectDistributor<IAcceptor<T>> rowFilterDistributor) -
setValues
-
addValue
-
build
ObjectListTable<T> build() -
setSingleSelectionMode
IObjectTableBuilder<T> setSingleSelectionMode() -
setAutoResizeModeOff
IObjectTableBuilder<T> setAutoResizeModeOff() -
addColumn
-
addStringColumn
IObjectTableBuilder<T> addStringColumn(String title, IFunction<T, String, RuntimeException> provider, int size) -
addIntegerColumn
IObjectTableBuilder<T> addIntegerColumn(String title, IFunction<T, Integer, RuntimeException> provider, int size) -
addDoubleColumn
IObjectTableBuilder<T> addDoubleColumn(String title, IFunction<T, Double, RuntimeException> provider, int size) -
addBooleanColumn
IObjectTableBuilder<T> addBooleanColumn(String title, IFunction<T, Boolean, RuntimeException> provider, int size) -
addSortableStringColumn
IObjectTableBuilder<T> addSortableStringColumn(String title, IFunction<T, String, RuntimeException> provider, int size) -
addSortableLocalTimeDateColumn
IObjectTableBuilder<T> addSortableLocalTimeDateColumn(String title, IFunction<T, LocalDateTime, RuntimeException> provider, int size) -
addSortableDurationColumn
IObjectTableBuilder<T> addSortableDurationColumn(String string, IFunction<T, Duration, RuntimeException> provider, int size) -
addSortableDoubleColumn
IObjectTableBuilder<T> addSortableDoubleColumn(String title, IFunction<T, Double, RuntimeException> provider, int size) -
addSortableBooleanColumn
IObjectTableBuilder<T> addSortableBooleanColumn(String title, IFunction<T, Boolean, RuntimeException> provider, int size) -
addSortableIntegerColumn
IObjectTableBuilder<T> addSortableIntegerColumn(String title, IFunction<T, Integer, RuntimeException> provider, int size) -
addSortableLongColumn
IObjectTableBuilder<T> addSortableLongColumn(String title, IFunction<T, Long, RuntimeException> provider, int size) -
addEditableStringColumn
IObjectTableBuilder<T> addEditableStringColumn(String title, IFunction<T, String, RuntimeException> provider, IAggregator<T, String, T, RuntimeException> adaptor, int size) -
addStringChooseColumn
IObjectTableBuilder<T> addStringChooseColumn(String title, IFunction<T, String, RuntimeException> provider, IAggregator<T, String, T, RuntimeException> adaptor, List<String> values, int size) -
addEditableIntegerColumn
IObjectTableBuilder<T> addEditableIntegerColumn(String title, IFunction<T, Integer, RuntimeException> provider, IAggregator<T, Integer, T, RuntimeException> aggregator, JComponent component, int size) -
addObjectColumn
IObjectTableBuilder<T> addObjectColumn(String title, IFunction<T, Object, RuntimeException> provider, int size) -
addImageColumn
IObjectTableBuilder<T> addImageColumn(String title, IFunction<T, Image, RuntimeException> provider, int size) -
addColorColumn
IObjectTableBuilder<T> addColorColumn(String title, IFunction<T, Color, RuntimeException> provider, int size) -
addDoubleColumn
IObjectTableBuilder<T> addDoubleColumn(String title, IFunction<T, Double, RuntimeException> provider, NumberTableCellRenderer renderer, int size) -
setAccessoryHeaderPanelFactory
IObjectTableBuilder<T> setAccessoryHeaderPanelFactory(IFactory<IObjectTableModel<T>, JComponent, RuntimeException> accessoryHeaderPanelFactory)
-