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>
 
 protected abstract class AbstractCRUDTable.Column<C> extends java.lang.Object
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetHeader()java.lang.Class<C>getType()abstract CgetValue(T item)The main function of the Column class: to retrieve the proper value from the objectintgetWidth()booleanisEditable()Override this if you want your column to be editablebooleanisLoadOptions()If this column should be editable by a dropdown, override this to return true and also overrideloadOptions()booleanisVisible()If you change this, you'll need to call updateColumns()java.util.List<C>loadOptions()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.voidsetHeader(java.lang.String header)
 
- 
- 
- 
Field Detail- 
headerprotected java.lang.String header 
 - 
typeprotected java.lang.Class<C> type 
 
- 
 - 
Method Detail- 
getHeaderpublic java.lang.String getHeader() 
 - 
getWidthpublic int getWidth() 
 - 
setHeaderpublic void setHeader(java.lang.String header) 
 - 
getValuepublic abstract C getValue(T item) The main function of the Column class: to retrieve the proper value from the object
 - 
getTypepublic java.lang.Class<C> getType() 
 - 
isEditablepublic boolean isEditable() Override this if you want your column to be editable
 - 
isLoadOptionspublic boolean isLoadOptions() If this column should be editable by a dropdown, override this to return true and also overrideloadOptions()
 - 
loadOptionspublic java.util.List<C> loadOptions() throws java.lang.Exception If you've overriddenisLoadOptions(), then you also need to override this to proved the options. will be run on a background thread.- Throws:
- java.lang.Exception
 
 - 
isVisiblepublic boolean isVisible() If you change this, you'll need to call updateColumns()
 
- 
 
-