Class TableMapSelector

All Implemented Interfaces:
CloseableWidget, Workspace, ImageObserver, MenuContainer, Serializable, Accessible

public class TableMapSelector extends JPanel implements Workspace, CloseableWidget
A widget that will respond to one-click events, or present a combo box so that you can choose values out of a TableMap and display them in the GUI.
See Also:
  • Constructor Details

    • TableMapSelector

      public TableMapSelector(AsyncPanel dataPanel, TableMap tableMap, IrisView view, boolean includeComboBox, boolean includePreemptiveLabel, com.fishlib.io.logger.Logger log)
      Parameters:
      dataPanel - The dataPanel that we are being added to
      tableMap - The tableMap we are selecting from
      includeComboBox - Whether to include a combo box to allow switching tables. Should generally be true in the console and false in WEEPS
      includePreemptiveLabel - Whether to include a label that displays whether preemptive tables are in use, and what the hookup time is if they are
      log - Log to use for timing information, etc.
  • Method Details

    • getWorkspaceInfo

      public org.jdom2.Element getWorkspaceInfo()
      Description copied from interface: Workspace
      Serialize the class into an element to be stored in the workspace
      Specified by:
      getWorkspaceInfo in interface Workspace
      Returns:
      An Element containing the data to persist.
    • setWorkspaceInfo

      public void setWorkspaceInfo(org.jdom2.Element workspaceInfo)
      Description copied from interface: Workspace
      Restore the class to the state defined by the data persisted in workspaceInfo
      Specified by:
      setWorkspaceInfo in interface Workspace
      Parameters:
      workspaceInfo - An Element containing the persisted state.
    • onClose

      public void onClose()
      Specified by:
      onClose in interface CloseableWidget
    • setProcessingMessage

      protected void setProcessingMessage(String message)
    • doneProcessing

      protected void doneProcessing()