public class GraphFiles
extends javax.swing.AbstractListModel
Constructor and Description |
---|
GraphFiles() |
Modifier and Type | Method and Description |
---|---|
boolean |
addFile(java.io.File file)
Adds the given file to the list if an equal file is not already contained
|
boolean |
addFile(GraphListElement file)
Adds the given file to the list if an equal file is not already contained
|
void |
clear()
Removes all graph files.
|
GFiles |
createGFiles()
Wraps the graph files into a GFiles to further process it within a script
|
GraphListElement |
getElementAt(int index) |
java.lang.Iterable<GraphListElement> |
getFiles()
Returns an Iterable to iterate over all files
|
java.lang.String |
getFilesStringRepresentation()
Returns a user readable string representation of the list of graph files
|
int |
getSize() |
void |
remove(int index)
Removes the graph file at the given index.
|
void |
set(GraphFiles graphFileSet)
Clears the list and adds all files of the given set to the list
|
public boolean addFile(GraphListElement file)
public boolean addFile(java.io.File file)
public java.lang.Iterable<GraphListElement> getFiles()
public GraphListElement getElementAt(int index)
public int getSize()
public void clear()
public void remove(int index)
public GFiles createGFiles()
public java.lang.String getFilesStringRepresentation()
public void set(GraphFiles graphFileSet)