Module org.autogui

Class GuiSwingTableColumnCollection

java.lang.Object
org.autogui.swing.table.GuiSwingTableColumnCollection
All Implemented Interfaces:
GuiSwingElement, GuiSwingTableColumnDynamic

public class GuiSwingTableColumnCollection extends Object implements GuiSwingTableColumnDynamic
a factory of dynamic column factories for nested collections: the instance will be registered as a factory of GuiReprCollectionTable

there are various cases for table-compositions

      class T { List<Float> l; } //staticColumn,  no dynamic columns
  
      class T { List<E> l; }
      class E { int x; }         //staticColumn, no dynamic columns
  
      class T { List<List<Float>> l; } //dynamicColumn
  
      class T { List<List<E>> l; }
      class E { int x; }         //dynamicColumn
  
      class T { List<E> l; }
      class E { int x;           //staticColumn
                List<Float> f; } //dynamicColumn
  
      class T { List<E> l; }
      class E { int x;           //staticColumn
                F   f; }
      class F { List<Float> fs; } //dynamicColumn
  
for some cases, a nested member might be a first dynamicColumn source. thus, GuiSwingTableColumnSetDefault always creates ObjectTableModelColumns.DynamicColumnFactory for each composition.