Class Cell

    • Constructor Summary

      Constructors 
      Constructor Description
      Cell​(org.processmining.contexts.uitopia.UIPluginContext context, Notebook notebook, java.lang.String name)
      Construct a cell with a given context, notebook, and name.
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method 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.
      void setName​(java.lang.String name)
      Sets the cell's name.
      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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 context
        notebook - The given notebook
        name - 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