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 Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier 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 columnheaderKey- A resource bundle key for the column header
 - 
Column
 
 - 
 - 
Method Details
- 
getHeader
 - 
getWidth
public int getWidth() - 
setHeader
 - 
getValue
The main function of the Column class: to retrieve the proper value from the object - 
getType
 - 
isEditable
public boolean isEditable()Override this if you want your column to be editable - 
onCellEdited
If your column is editable, implement this. - 
isLoadOptions
public boolean isLoadOptions()If this column should be editable by a dropdown, override this to return true and also overrideloadOptions() - 
loadOptions
If you've overriddenisLoadOptions(), then you also need to override this to proved the options. will be run on a background thread.- Throws:
 Exception
 - 
isVisible
public boolean isVisible()If you change this, you'll need to call updateColumns() 
 -