| javax.swing.DefaultListModel jacareto.starter.StarterList
Method Summary | |
public Starter | getStarter(String name) Returns the first starter with the given name, or null if the starter is not in
the list. | public void | loadStarters(String filename) Loads starters out of a xml file. | public void | saveStarters(String filename) Saves the starters to a xml file with the specified filename. |
StarterList | public StarterList(Environment env, String filename)(Code) | | Creates a new starter list with the starters contained in the given xml file.
Parameters: env - the environment Parameters: filename - the filename of the xml file containing the starters |
StarterList | public StarterList(Environment env)(Code) | | Creates a new, initially empty starter list.
Parameters: env - the environment |
getStarter | public Starter getStarter(String name)(Code) | | Returns the first starter with the given name, or null if the starter is not in
the list.
Parameters: name - the name of the starter the starter, or null if the starter is not contained in the list |
loadStarters | public void loadStarters(String filename)(Code) | | Loads starters out of a xml file. The list will not be cleared; the starters contained in
the xml file will be added to the current list.
Parameters: filename - the filename of the xml file |
saveStarters | public void saveStarters(String filename)(Code) | | Saves the starters to a xml file with the specified filename.
Parameters: filename - the filename of the xml file |
|
|