- All Known Subinterfaces:
GuiSwingTableColumnSet.DynamicColumnHost
- All Known Implementing Classes:
GuiSwingTableColumnCollection.DynamicColumnFactoryCollectionRoot,GuiSwingTableColumnCollection.DynamicColumnFactoryComposite,GuiSwingTableColumnCollection.DynamicColumnFactoryList,GuiSwingTableModelCollection.GuiSwingTableModelColumns,ObjectTableModelColumns
- Enclosing interface:
GuiSwingTableColumnSet
public static interface GuiSwingTableColumnSet.TableColumnHost
the target for adding created columns.
ObjectTableModelColumns becomes the top instance-
Method Summary
Modifier and TypeMethodDescriptionvoidaddColumnDynamic(ObjectTableModelColumns.DynamicColumnFactory columnFactory) add a dynamic factory as a child to the containervoidadd a row index column as a static column: always delegate to the topvoidaddColumnStatic(ObjectTableColumn column) add a static column: always delegate to the topvoidaddMenuRowComposite(ObjectTableColumn.TableMenuComposite rowComposite) add a menu composite: always delegate to the topgetColumnAt(int modelIndex) obtains a column: always delegate to the topbooleanboolean
-
Method Details
-
addColumnRowIndex
void addColumnRowIndex()add a row index column as a static column: always delegate to the top -
addColumnStatic
add a static column: always delegate to the top- Parameters:
column- the added column
-
addColumnDynamic
add a dynamic factory as a child to the container- Parameters:
columnFactory- the added factory
-
addMenuRowComposite
add a menu composite: always delegate to the top- Parameters:
rowComposite- the added composite
-
isNonEmpty
boolean isNonEmpty() -
getColumnAt
obtains a column: always delegate to the top- Parameters:
modelIndex- a model index of the column (not a child index)- Returns:
- a column of the modelIndex in the table
-
isUnderMultidimentionalList
boolean isUnderMultidimentionalList()- Returns:
- true if it is under the multidimentional list e.g. true for E in List<List<E>>, and false for X in List<Y>, class Y {X e;}
- Since:
- 1.8
-