return 0;
return logList.count();
}
public Object getValueAt(int rowIndex, int columnIndex) {
LogRecord result = logList.getRecordAt(rowIndex);
switch (columnIndex) {
case 0:
int type = result.getType();
if (type == ILogger.INFO)
return ICON_INFO;
else if (type == ILogger.MESSAGE)
return ICON_MSG;
else if (type == ILogger.WARN)
return ICON_WARNING;
else
return ICON_ERROR;
case 1:
return result.getMessage();
case 2:
return result.getModule();
case 3:
return dateTimeInstance.format(result.getDate());
default:
return "";
}
}