public abstract class Cell
extends java.lang.Object
Constructor and Description |
---|
Cell(org.processmining.contexts.uitopia.UIPluginContext context,
Notebook notebook,
java.lang.String name)
Construct a cell with a given context, notebook, and name.
|
Modifier and Type | Method and Description |
---|---|
org.processmining.contexts.uitopia.UIPluginContext |
getContext()
Get the cell's context.
|
java.lang.String |
getName()
Gets the cell's name.
|
Notebook |
getNotebook()
Gets the cell's notebook.
|
abstract CellTemplate |
getTemplate()
Abstract method to get a cell template for this cell.
|
abstract javax.swing.JComponent |
getWidget(boolean doReset)
Abstract method to get a widget for this cell.
|
abstract void |
update()
Abstract method to call if the cell needs to be updated.
|
abstract void |
updated()
Abstract method to call if the cell has been updated.
|
public Cell(org.processmining.contexts.uitopia.UIPluginContext context, Notebook notebook, java.lang.String name)
context
- The given contextnotebook
- The given notebookname
- The given namepublic abstract void updated()
public java.lang.String getName()
public org.processmining.contexts.uitopia.UIPluginContext getContext()
public Notebook getNotebook()
public abstract javax.swing.JComponent getWidget(boolean doReset)
doReset
- Whether to ignore any old widget.public abstract void update()
public abstract CellTemplate getTemplate()