Class AbstractCRUDTable.Column<C>
java.lang.Object
com.inductiveautomation.ignition.client.util.gui.AbstractCRUDTable.Column<C>
- Direct Known Subclasses:
- TermTable.KeyColumn,- TermTable.ValueColumn
- Enclosing class:
- AbstractCRUDTable<T>
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetType()abstract CThe main function of the Column class: to retrieve the proper value from the objectintgetWidth()booleanOverride this if you want your column to be editablebooleanIf this column should be editable by a dropdown, override this to return true and also overrideloadOptions()booleanIf you change this, you'll need to call updateColumns()If you've overriddenisLoadOptions(), then you also need to override this to proved the options.voidonCellEdited(T item, C value) If your column is editable, implement this.void
- 
Field Details- 
header
- 
type
 
- 
- 
Constructor Details- 
Column- Parameters:
- type- The type of the column
- headerKey- A resource bundle key for the column header
 
- 
Column
 
- 
- 
Method Details- 
getHeader
- 
getWidthpublic int getWidth()
- 
setHeader
- 
getValueThe main function of the Column class: to retrieve the proper value from the object
- 
getType
- 
isEditablepublic boolean isEditable()Override this if you want your column to be editable
- 
onCellEditedIf your column is editable, implement this.
- 
isLoadOptionspublic boolean isLoadOptions()If this column should be editable by a dropdown, override this to return true and also overrideloadOptions()
- 
loadOptionsIf you've overriddenisLoadOptions(), then you also need to override this to proved the options. will be run on a background thread.- Throws:
- Exception
 
- 
isVisiblepublic boolean isVisible()If you change this, you'll need to call updateColumns()
 
-