Class DynamicTableColumnsModel<T>
- java.lang.Object
-
- de.alpharogroup.swing.table.model.dynamic.DynamicTableColumnsModel<T>
-
public class DynamicTableColumnsModel<T> extends java.lang.ObjectThe classDynamicTableColumnsModelencapsulates the column data for a table model that can resolve the columns dynamically from the given class type
-
-
Constructor Summary
Constructors Constructor Description DynamicTableColumnsModel(@NonNull java.lang.Class<T> type)Instantiates a newDynamicTableColumnsModelobject
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidonSetCanEdit()Callback method for set the canEdit array from the generic given type.protected voidonSetColumnClasses()Callback method for set the column classes array from the generic given type.protected voidonSetColumnNames()Callback method for set the column names array from the generic given type.
-
-
-
Constructor Detail
-
DynamicTableColumnsModel
public DynamicTableColumnsModel(@NonNull @NonNull java.lang.Class<T> type)Instantiates a newDynamicTableColumnsModelobject- Parameters:
type- the class type
-
-
Method Detail
-
onSetCanEdit
protected void onSetCanEdit()
Callback method for set the canEdit array from the generic given type. This method is invoked in the constructor from the derived classes and can be overridden so users can provide their own version of a column classes
-
onSetColumnClasses
protected void onSetColumnClasses()
Callback method for set the column classes array from the generic given type. This method is invoked in the constructor from the derived classes and can be overridden so users can provide their own version of a column classes
-
onSetColumnNames
protected void onSetColumnNames()
Callback method for set the column names array from the generic given type. This method is invoked in the constructor from the derived classes and can be overridden so users can provide their own version of a column names
-
-