|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectJLogView_.datastructs.LGTable
public class LGTable
LGTable is a class representing the table data structure. It reflects the log file definition. A table can contains n number of graph definitions.
Constructor Summary | |
---|---|
LGTable(java.lang.String n)
This is the default constructor of LGTable |
Method Summary | |
---|---|
void |
addGraph(LGGraph g)
This adds a graph definition to this table. |
LGGraph |
getGraph(int index)
This methods enables you to find a graph object using its index |
LGGraph |
getGraph(java.lang.String name)
This methods enables you to find a graph object using its name. |
java.lang.String[] |
getGraphNames()
This methods returns all the graph names from the graphs in this table |
LGGraph[] |
getGraphs()
This methods returns all the graph definitions from this table |
java.lang.String |
getName()
This method returns the table name |
void |
setGraphs(LGGraph[] g)
This methods sets all the graph definition of this table in one go using an array. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LGTable(java.lang.String n)
n
- a String representing the table nameString
Method Detail |
---|
public java.lang.String getName()
String
public void addGraph(LGGraph g)
g
- an LGGraph object representing the graph to be addedLGGraph
public void setGraphs(LGGraph[] g)
g
- an array of LGGraph object representing all the graphsLGGraph
public LGGraph getGraph(java.lang.String name)
name
- a String representing the name of the graphLGGraph
,
String
public LGGraph getGraph(int index)
index
- an integer, the index in the array of graphsLGGraph
public LGGraph[] getGraphs()
LGGraph
public java.lang.String[] getGraphNames()
String
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |