org.opensourcephysics.tools
Class LaunchNode.DisplayTab

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

public class LaunchNode.DisplayTab
extends java.lang.Object

A class to hold display tab data.


Method Summary
 java.lang.String[] getModelArgs()
          Gets the model arguments.
 java.lang.Class<?> getModelClass()
          Gets the model class.
 javax.swing.JComponent getModelPane()
          Gets the modelPane.
protected  javax.swing.JScrollPane getModelScroller()
          Gets the modelScroller.
 java.lang.String getPath()
          Gets the path.
 java.lang.String getTitle()
          Gets the title.
 java.net.URL getURL()
          Gets the URL.
protected  void setMinimumModelArgLength(int n)
           
 void setModelArgs(java.lang.String[] args)
          Sets the model arguments.
 void setPath(java.lang.String path)
          Sets the path.
 void setTitle(java.lang.String title)
          Sets the title.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getPath

public java.lang.String getPath()
Gets the path.

Returns:
the path

setPath

public void setPath(java.lang.String path)
Sets the path.

Parameters:
path - the path

getTitle

public java.lang.String getTitle()
Gets the title.

Returns:
the title

setTitle

public void setTitle(java.lang.String title)
Sets the title.

Parameters:
title - the title

getURL

public java.net.URL getURL()
Gets the URL. May return null.

Returns:
the URL

getModelClass

public java.lang.Class<?> getModelClass()
Gets the model class. May return null.

Returns:
the model class

getModelPane

public javax.swing.JComponent getModelPane()
Gets the modelPane. May return null.

Returns:
the model pane

getModelArgs

public java.lang.String[] getModelArgs()
Gets the model arguments. May return null.

Returns:
the model arguments

setModelArgs

public void setModelArgs(java.lang.String[] args)
Sets the model arguments.

Parameters:
args - the model arguments

getModelScroller

protected javax.swing.JScrollPane getModelScroller()
Gets the modelScroller. May return null.

Returns:
the model scroller

setMinimumModelArgLength

protected void setMinimumModelArgLength(int n)