org.opennms.dashboard.client
Class SurveillanceData

java.lang.Object
  extended by org.opennms.dashboard.client.SurveillanceData
All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable

public class SurveillanceData
extends Object
implements com.google.gwt.user.client.rpc.IsSerializable

Author:
Mathew Brozowski

Constructor Summary
SurveillanceData()
           
 
Method Summary
 SurveillanceIntersection getCell(int row, int col)
           
 int getColumnCount()
           
 SurveillanceGroup[] getColumnGroups()
           
 String getColumnHeading(int columnIndex)
          The heading of the column number 'colunmIndex' using zero based index
 SurveillanceIntersection getIntersection(int row, int col)
           
 String getName()
           
 int getRowCount()
           
 SurveillanceGroup[] getRowGroups()
           
 String getRowHeading(int rowIndex)
          The heading of row with index 'rowIndex' using zero based index
 boolean isComplete()
           
 void setCell(int row, int col, String value)
           
 void setCell(int row, int col, String data, String status)
           
 void setCell(int row, int col, SurveillanceIntersection cell)
           
 void setColumnGroups(SurveillanceGroup[] columnGroups)
           
 void setComplete(boolean complete)
           
 void setName(String name)
           
 void setRowGroups(SurveillanceGroup[] rowGroups)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SurveillanceData

public SurveillanceData()
Method Detail

getName

public String getName()

setName

public void setName(String name)

isComplete

public boolean isComplete()

setComplete

public void setComplete(boolean complete)

getColumnCount

public int getColumnCount()

getRowCount

public int getRowCount()

getColumnHeading

public String getColumnHeading(int columnIndex)
The heading of the column number 'colunmIndex' using zero based index

Parameters:
columnIndex - the index of the column
Returns:
the heading for the column

getRowHeading

public String getRowHeading(int rowIndex)
The heading of row with index 'rowIndex' using zero based index

Parameters:
rowIndex - the index of the row
Returns:
the heading for the row

getCell

public SurveillanceIntersection getCell(int row,
                                        int col)

setCell

public void setCell(int row,
                    int col,
                    SurveillanceIntersection cell)

setCell

public void setCell(int row,
                    int col,
                    String data,
                    String status)

setCell

public void setCell(int row,
                    int col,
                    String value)

getIntersection

public SurveillanceIntersection getIntersection(int row,
                                                int col)

getColumnGroups

public SurveillanceGroup[] getColumnGroups()

setColumnGroups

public void setColumnGroups(SurveillanceGroup[] columnGroups)

getRowGroups

public SurveillanceGroup[] getRowGroups()

setRowGroups

public void setRowGroups(SurveillanceGroup[] rowGroups)


Copyright © 2009. All Rights Reserved.