Class DynamicTableColumnsModel<T>


  • public class DynamicTableColumnsModel<T>
    extends java.lang.Object
    The class DynamicTableColumnsModel encapsulates the column data for a table model that can resolve the columns dynamically from the given class type
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void onSetCanEdit()
      Callback method for set the canEdit array from the generic given type.
      protected void onSetColumnClasses()
      Callback method for set the column classes array from the generic given type.
      protected void onSetColumnNames()
      Callback method for set the column names array from the generic given type.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DynamicTableColumnsModel

        public DynamicTableColumnsModel​(@NonNull
                                        @NonNull java.lang.Class<T> type)
        Instantiates a new DynamicTableColumnsModel object
        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