Package io.github.jonestimd.swing.table
Class TableFactory.TableBuilder<B,M extends BeanTableModel<B>,T extends DecoratedTable<B,M>>
- java.lang.Object
-
- io.github.jonestimd.swing.table.TableFactory.TableBuilder<B,M,T>
-
- Enclosing class:
- TableFactory
public class TableFactory.TableBuilder<B,M extends BeanTableModel<B>,T extends DecoratedTable<B,M>> extends java.lang.Object
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
TableBuilder(M model, T table)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TableFactory.TableBuilder<B,M,T>
cellSelectionEnabled()
TableFactory.TableBuilder<B,M,T>
doubleClickHandler(java.util.function.Consumer<java.awt.event.MouseEvent> handler)
T
get()
TableFactory.TableBuilder<B,M,T>
sorted()
TableFactory.TableBuilder<B,M,T>
sortedBy(int... columns)
TableFactory.TableBuilder<B,M,T>
sortedBy(javax.swing.SortOrder order, int... columns)
-
-
-
Field Detail
-
model
protected final M extends BeanTableModel<B> model
-
table
protected final T extends DecoratedTable<B,M> table
-
-
Method Detail
-
sorted
public TableFactory.TableBuilder<B,M,T> sorted()
-
sortedBy
public TableFactory.TableBuilder<B,M,T> sortedBy(int... columns)
-
sortedBy
public TableFactory.TableBuilder<B,M,T> sortedBy(javax.swing.SortOrder order, int... columns)
-
cellSelectionEnabled
public TableFactory.TableBuilder<B,M,T> cellSelectionEnabled()
-
doubleClickHandler
public TableFactory.TableBuilder<B,M,T> doubleClickHandler(java.util.function.Consumer<java.awt.event.MouseEvent> handler)
-
get
public T get()
-
-