Package org.opensourcephysics.tools
Class LaunchNode.DisplayTab
java.lang.Object
org.opensourcephysics.tools.LaunchNode.DisplayTab
- Enclosing class:
 - LaunchNode
 
A class to hold display tab data.
- 
Method Summary
Modifier and TypeMethodDescriptionString[]Gets the model arguments.Class<?>Gets the model class.Gets the modelPane.protected JScrollPaneGets the modelScroller.getPath()Gets the path.getTitle()Gets the title.getURL()Gets the URL.protected voidsetMinimumModelArgLength(int n) voidsetModelArgs(String[] args) Sets the model arguments.voidSets the path.voidSets the title.toString()booleanA single check for existence. 
- 
Method Details
- 
getPath
Gets the path.- Returns:
 - the path
 
 - 
setPath
Sets the path.- Parameters:
 path- the path
 - 
getTitle
Gets the title.- Returns:
 - the title
 
 - 
setTitle
Sets the title.- Parameters:
 title- the title
 - 
getURL
Gets the URL. May return null.- Returns:
 - the URL
 
 - 
getModelClass
Gets the model class. May return null.- Returns:
 - the model class
 
 - 
getModelPane
Gets the modelPane. May return null.- Returns:
 - the model pane
 
 - 
getModelArgs
Gets the model arguments. May return null.- Returns:
 - the model arguments
 
 - 
setModelArgs
Sets the model arguments.- Parameters:
 args- the model arguments
 - 
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
 
 -