Class LaunchNode.DisplayTab

java.lang.Object
org.opensourcephysics.tools.LaunchNode.DisplayTab
Enclosing class:
LaunchNode

public class LaunchNode.DisplayTab extends Object
A class to hold display tab data.
  • Method Details

    • getPath

      public String getPath()
      Gets the path.
      Returns:
      the path
    • setPath

      public void setPath(String path)
      Sets the path.
      Parameters:
      path - the path
    • getTitle

      public String getTitle()
      Gets the title.
      Returns:
      the title
    • setTitle

      public void setTitle(String title)
      Sets the title.
      Parameters:
      title - the title
    • getURL

      public URL getURL()
      Gets the URL. May return null.
      Returns:
      the URL
    • getModelClass

      public Class<?> getModelClass()
      Gets the model class. May return null.
      Returns:
      the model class
    • getModelPane

      public JComponent getModelPane()
      Gets the modelPane. May return null.
      Returns:
      the model pane
    • getModelArgs

      public String[] getModelArgs()
      Gets the model arguments. May return null.
      Returns:
      the model arguments
    • setModelArgs

      public void setModelArgs(String[] args)
      Sets the model arguments.
      Parameters:
      args - the model arguments
    • getModelScroller

      protected JScrollPane getModelScroller()
      Gets the modelScroller. May return null.
      Returns:
      the model scroller
    • setMinimumModelArgLength

      protected void setMinimumModelArgLength(int n)
    • urlExists

      public boolean urlExists()
      A single check for existence.
      Returns:
      true if url exists
    • toString

      public String toString()
      Overrides:
      toString in class Object