src/org/objectweb/cjdbc/console/views/ControllerLoadViewer.java

説明を見る。
00001 00025 package org.objectweb.cjdbc.console.views; 00026 00027 import org.objectweb.cjdbc.common.i18n.Translate; 00028 00035 public class ControllerLoadViewer extends InfoViewer 00036 { 00037 static final int COLUMNS = 6; 00038 00044 public ControllerLoadViewer(Object[][] data) 00045 { 00046 super(data); 00047 } 00048 00049 protected Object[][] getDataTypes(Object[][] stats) 00050 { 00051 int iSize = stats.length; 00052 Object[][] ret = new Object[iSize][]; 00053 for (int i = 0; i < iSize; i++) 00054 { 00055 String[] aStat = (String[]) stats[i]; 00056 int jSize = aStat.length; 00057 ret[i] = new Object[jSize]; 00058 ret[i][0] = aStat[0]; 00059 for (int j = 0; j < jSize; j++) 00060 { 00061 if (j ==0) 00062 ret[i][j] = new String(aStat[j]); 00063 else 00064 ret[i][j] = new Integer(aStat[j]); 00065 } 00066 } 00067 return ret; 00068 } 00069 00073 public String[] getColumnNames() 00074 { 00075 String[] columnNames = new String[COLUMNS]; 00076 columnNames[0] = Translate.get("console.infoviewer.load.column.0"); 00077 columnNames[1] = Translate.get("console.infoviewer.load.column.1"); 00078 columnNames[2] = Translate.get("console.infoviewer.load.column.2"); 00079 columnNames[3] = Translate.get("console.infoviewer.load.column.3"); 00080 columnNames[4] = Translate.get("console.infoviewer.load.column.4"); 00081 columnNames[5] = Translate.get("console.infoviewer.load.column.5"); 00082 return columnNames; 00083 } 00084 00085 00086 00090 public void setLabels() 00091 { 00092 frameTitle = Translate.get("console.infoviewer.load.frame.title"); 00093 infoViewerMenuBarString = Translate.get("console.infoviewer.load.menubar"); 00094 actionToolTipText = Translate 00095 .get("console.infoviewer.load.action.tooltiptext"); 00096 actionErrorMessage = Translate 00097 .get("console.infoviewer.load.action.error.message"); 00098 actionSuccessMessage = Translate 00099 .get("console.infoviewer.load.action.success.message"); 00100 tableHeaderToolTipText = Translate 00101 .get("console.infoviewer.table.tooltip.text"); 00102 } 00103 00107 public int[] getTraceableColumns() 00108 { 00109 return new int[] {2,3,4,5}; 00110 } 00111 }

CJDBCversion1.0.4に対してTue Oct 12 15:15:59 2004に生成されました。 doxygen 1.3.8