Class IrisView

java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
com.illumon.infonode.gui.panel.BaseContainer
com.illumon.infonode.gui.panel.BasePanel
com.illumon.infonode.docking.DockingWindow
com.illumon.infonode.docking.View
com.illumon.iris.gui.workspace.IrisView
All Implemented Interfaces:
Workspace, ImageObserver, MenuContainer, Serializable, Accessible

public class IrisView extends com.illumon.infonode.docking.View implements Workspace
This class is the container component link between the InfoNode DockingWindow and client widgets. Workspaces added to this will be serialized directly into the view.
See Also:
  • Constructor Details

  • Method Details

    • addTable

      public void addTable(GuiTable table, boolean copyPrevious)
    • getTables

      public Map<String,GuiTable> getTables()
    • isLinked

      public boolean isLinked()
      Returns true if any Workspace in this view is Linkable and isLinked.
      Returns:
      true if any workspace in this view is linked, false otherwise
    • getLinkables

      public List<Linkable> getLinkables()
      Gets all the Linkable objects added to this views workspace.
      Returns:
      a list of linkable object
    • addWorkspace

      public void addWorkspace(Workspace ws, String name, boolean copyPrevious)
    • removeWorkspace

      public Workspace removeWorkspace(Workspace ws)
    • removeWorkspace

      public Workspace removeWorkspace(String name)
    • setCustomTabToolTipText

      public void setCustomTabToolTipText(String text)
    • getCustomTabToolTipText

      public String getCustomTabToolTipText()
    • addToToolTipText

      public void addToToolTipText(String toAddText)
      Adds the toAddText to the existing custom tool tip text.
      Parameters:
      toAddText - the text to be added
    • getType

      public String getType()
    • setType

      public void setType(String type)
    • getViewId

      public String getViewId()
    • getComponent

      public Component getComponent()
      Overrides:
      getComponent in class com.illumon.infonode.docking.View
    • 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.
    • getParams

      public Map<String,String> getParams()
    • setParameter

      public void setParameter(@NotNull String paramName, @NotNull String paramValue)
    • setParameters

      public void setParameters(@NotNull Map<String,String> params)
    • setShouldSerializeCallback

      public void setShouldSerializeCallback(BooleanSupplier procedure)
    • shouldSerialize

      public boolean shouldSerialize()
      Overrides:
      shouldSerialize in class com.illumon.infonode.docking.View
    • setIcon

      public void setIcon(Icon ic)
    • getIrisTabPainter

      public IrisTabPainter getIrisTabPainter()