|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.mayo.bsi.ngsportal.client.SGEBarGraph
edu.mayo.bsi.ngsportal.client.SGEBarGraphImpl
public class SGEBarGraphImpl
SGEBarGraphImpl provides a concrete implementation of SGEBarGraph and is responsible for filling the grid engine metrics graph with data obtained from the server at the direction of the SGETabController.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class edu.mayo.bsi.ngsportal.client.SGEBarGraph |
|---|
SGEBarGraph.SGEGraphType |
| Constructor Summary | |
|---|---|
SGEBarGraphImpl(NGSPortal portal)
Construct a new SGEBarGraph of the specified type @see SGEBarGraph.SGEGraphType |
|
| Method Summary | |
|---|---|
com.google.gwt.visualization.client.visualizations.corechart.BarChart |
createBarChart()
Sets options and creates the bar chart with an empty data table (call SGEBarGraph.UpdateTable to fill with real data). |
com.smartgwt.client.widgets.grid.ListGrid |
createListGrid()
Returns an empty ListGrid for holding Chart data |
com.google.gwt.visualization.client.DataTable |
getDataTable()
Returns the DataTable contained in the bargraph resource. |
com.google.gwt.visualization.client.visualizations.corechart.Options |
getOptions()
Returns the Visualization Options for the bar graph. |
void |
setFilter(SGEFilter filter)
|
void |
setSGEData(SGEBarGraph.SGEGraphType datatype)
Sets the type of data to display from the types contained in SGEBarGraph; See SGEBarGraph Type Constants for possible values. |
void |
setType(SGEBarGraph.SGEGraphType t)
Set the type of bargraph to construct. |
void |
updateTable()
Updates the DataTable by RPC call to NGSPortal and redraws the bargraph. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SGEBarGraphImpl(NGSPortal portal)
SGEBarGraph.SGEGraphType
portal - the NGSPortal object that will define the server connection| Method Detail |
|---|
public void setType(SGEBarGraph.SGEGraphType t)
t - public com.google.gwt.visualization.client.DataTable getDataTable()
SGEBarGraph
getDataTable in class SGEBarGraphpublic com.google.gwt.visualization.client.visualizations.corechart.Options getOptions()
SGEBarGraph
getOptions in class SGEBarGraphpublic void updateTable()
SGEBarGraph
updateTable in class SGEBarGraphpublic com.google.gwt.visualization.client.visualizations.corechart.BarChart createBarChart()
SGEBarGraph
createBarChart in class SGEBarGraphpublic void setSGEData(SGEBarGraph.SGEGraphType datatype)
SGEBarGraph
setSGEData in class SGEBarGraphdatatype - The enumerated type of graph to drawpublic void setFilter(SGEFilter filter)
filter - public com.smartgwt.client.widgets.grid.ListGrid createListGrid()
SGEBarGraph
createListGrid in class SGEBarGraph
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||