Class Cell
- java.lang.Object
-
- org.processmining.filterbook.cells.Cell
-
- Direct Known Subclasses:
ComputationCell,TextCell
public abstract class Cell extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description org.processmining.contexts.uitopia.UIPluginContextgetContext()Get the cell's context.java.lang.StringgetName()Gets the cell's name.NotebookgetNotebook()Gets the cell's notebook.abstract CellTemplategetTemplate()Abstract method to get a cell template for this cell.abstract javax.swing.JComponentgetWidget(boolean doReset)Abstract method to get a widget for this cell.voidsetName(java.lang.String name)Sets the cell's name.abstract voidupdate()Abstract method to call if the cell needs to be updated.abstract voidupdated()Abstract method to call if the cell has been updated.
-
-
-
Constructor Detail
-
Cell
public Cell(org.processmining.contexts.uitopia.UIPluginContext context, Notebook notebook, java.lang.String name)Construct a cell with a given context, notebook, and name.- Parameters:
context- The given contextnotebook- The given notebookname- The given name
-
-
Method Detail
-
updated
public abstract void updated()
Abstract method to call if the cell has been updated.
-
getName
public java.lang.String getName()
Gets the cell's name.- Returns:
- The cell's name
-
setName
public void setName(java.lang.String name)
Sets the cell's name.- Parameters:
name-
-
getContext
public org.processmining.contexts.uitopia.UIPluginContext getContext()
Get the cell's context.- Returns:
- The cell's context
-
getNotebook
public Notebook getNotebook()
Gets the cell's notebook.- Returns:
- The cell's notebook
-
getWidget
public abstract javax.swing.JComponent getWidget(boolean doReset)
Abstract method to get a widget for this cell.- Parameters:
doReset- Whether to ignore any old widget.- Returns:
- A widget for this cell.
-
update
public abstract void update()
Abstract method to call if the cell needs to be updated.
-
getTemplate
public abstract CellTemplate getTemplate()
Abstract method to get a cell template for this cell.- Returns:
- A cell template for this cell
-
-