Modifier and Type | Class and Description |
---|---|
class |
LibraryManager.LibraryPane |
Modifier and Type | Field and Description |
---|---|
static String |
AUTO_RUN |
boolean |
autoRun |
static String |
ELEMENT_NAME |
protected DefaultListModel |
libraries |
protected boolean |
modified |
static String |
PROJECT_LIBRARIES |
protected PlayerSettings |
settings |
Constructor and Description |
---|
LibraryManager(PlayerSettings settings)
Creates new LibraryManager
|
Modifier and Type | Method and Description |
---|---|
void |
addNewLibrary(String path,
String title) |
LibraryManagerElement |
createNewProjectLibrary(String path,
String name) |
boolean |
elementExists(String path,
boolean warn) |
ProjectLibrary |
getAutoStartProjectLibrary() |
Element |
getJDomElement() |
static LibraryManager |
getLibraryManager(PlayerSettings st,
Element e) |
LibraryManager.LibraryPane |
getLibraryPane(boolean allowEdit,
boolean selectOnlyEditable) |
int |
getNumLibraries() |
static String[][] |
getSystemLibraries() |
boolean |
isEmpty() |
LibraryManagerElement |
locateNewProjectLibrary(String path) |
static void |
main(String[] args) |
protected static void |
printUsage() |
ProjectLibrary |
selectProjectLibrary(boolean allowEdit,
boolean selectOnlyEditable) |
void |
setProperties(Element e,
Object aux) |
protected DefaultListModel libraries
protected PlayerSettings settings
protected boolean modified
public boolean autoRun
public static final String AUTO_RUN
public static final String ELEMENT_NAME
public static final String PROJECT_LIBRARIES
public LibraryManager(PlayerSettings settings)
public static LibraryManager getLibraryManager(PlayerSettings st, Element e) throws Exception
Exception
public void setProperties(Element e, Object aux) throws Exception
setProperties
in interface Domable
Exception
public void addNewLibrary(String path, String title) throws Exception
Exception
public Element getJDomElement()
getJDomElement
in interface Domable
public boolean isEmpty()
public ProjectLibrary getAutoStartProjectLibrary() throws Exception
Exception
public ProjectLibrary selectProjectLibrary(boolean allowEdit, boolean selectOnlyEditable) throws Exception
Exception
public int getNumLibraries()
public LibraryManagerElement locateNewProjectLibrary(String path)
public LibraryManagerElement createNewProjectLibrary(String path, String name)
public boolean elementExists(String path, boolean warn)
public LibraryManager.LibraryPane getLibraryPane(boolean allowEdit, boolean selectOnlyEditable)
public static String[][] getSystemLibraries()
public static void main(String[] args)
protected static void printUsage()
Copyright © 2004-15 Francesc Busquets (fbusquets@xtec.cat) & Departament d'Educació de la Generalitat de Catalunya (info@xtec.cat)
Licensed under the terms of the GNU General Public License.