- All Superinterfaces:
GuiSwingElement
- All Known Implementing Classes:
GuiSwingTableColumnSetDefault
an interface of a set of
GuiSwingTableColumn.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfacea sub-interface ofGuiSwingTableColumnSet.TableColumnHostwhich can support adding action contextsstatic interfacethe target for adding created columns.static interfacethe root interface for selection changestatic classindex list of selected rowsstatic classlist of selected {row, column} indicesstatic classindicates that the selection is not changedstatic classlist of selected row objectsstatic interfacean action target -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptioncreateChangeValues(Object obj) create actions for sub-contexts associated toGuiReprAction.voidcreateColumns(GuiMappingContext context, GuiSwingTableColumnSet.TableColumnHost model, GuiSwingTableColumn.SpecifierManagerIndex rowSpecifier, GuiSwingView.SpecifierManager parentSpecifier, GuiSwingView.SpecifierManager specifierManager) voidcreateColumnsForDynamicCollection(GuiMappingContext context, GuiSwingTableColumnSet.DynamicColumnHost collection, GuiSwingTableColumn.SpecifierManagerIndex rowSpecifier, GuiSwingView.SpecifierManager parentSpecifier) the method is called for creating column factories under nested table structuregetNoChange(Object obj)
-
Field Details
-
NO_CHANGE
-
-
Method Details
-
createColumns
void createColumns(GuiMappingContext context, GuiSwingTableColumnSet.TableColumnHost model, GuiSwingTableColumn.SpecifierManagerIndex rowSpecifier, GuiSwingView.SpecifierManager parentSpecifier, GuiSwingView.SpecifierManager specifierManager) - Parameters:
context- the context, initially a collection elementmodel- the target for appending created columnsrowSpecifier- row-specifier for the tableparentSpecifier- the specifier manager of the parentspecifierManager- optional specifier given by the caller
-
createColumnActions
List<Action> createColumnActions(GuiMappingContext context, GuiSwingTableColumnSet.TableSelectionSource source) create actions for sub-contexts associated toGuiReprAction.- Parameters:
context- the context usually associated withGuiReprCollectionElementsource- the table source for actions. the selected items will become targets of returned actions.- Returns:
- the created actions
-
getNoChange
-
createChangeIndices
-
createChangeIndicesRowAndColumn
static GuiSwingTableColumnSet.TableSelectionChangeIndicesRowAndColumn createChangeIndicesRowAndColumn(Object obj) -
createChangeValues
-
createColumnsForDynamicCollection
void createColumnsForDynamicCollection(GuiMappingContext context, GuiSwingTableColumnSet.DynamicColumnHost collection, GuiSwingTableColumn.SpecifierManagerIndex rowSpecifier, GuiSwingView.SpecifierManager parentSpecifier) the method is called for creating column factories under nested table structure- Parameters:
context- the source contextcollection- the adding target of created columns and actionsrowSpecifier- a row specifier manager of the top tableparentSpecifier- a parent specifier given by the caller
-