/// <summary> /// Creates a JScrollWorksheet for the current data and returns it. </summary> /// <returns> a JScrollWorksheet containing the data Vector passed in to the constructor. </returns> //JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET: //ORIGINAL LINE: protected RTi.Util.GUI.JScrollWorksheet buildJScrollWorksheet() throws Exception protected internal override JScrollWorksheet buildJScrollWorksheet() { StateMod_OperationalRight_Data_TableModel tableModel = new StateMod_OperationalRight_Data_TableModel(_data, _editable); StateMod_OperationalRight_Data_CellRenderer cellRenderer = new StateMod_OperationalRight_Data_CellRenderer(tableModel); // _props is defined in the super class return(new JScrollWorksheet(cellRenderer, tableModel, _props)); }
/// <summary> /// Constructor. </summary> /// <param name="tableModel"> the table model for which this class renders the cells. </param> public StateMod_OperationalRight_Data_CellRenderer(StateMod_OperationalRight_Data_TableModel tableModel) { __tableModel = tableModel; }