コード例 #1
0
 /** Remove all messages from the table (but leave "most recent") */
 public void clearAll() {
   int last_row = data.size() - 1;
   if (last_row > 0) {
     data.removeAllElements();
     SOAPMonitorData soap = new SOAPMonitorData(null, null, null);
     data.addElement(soap);
     if (filter_data != null) {
       filter_data.removeAllElements();
       filter_data.addElement(soap);
     }
     fireTableDataChanged();
   }
 }
コード例 #2
0
 public void updateTableData() {
   // we need to get the stored filters
   Object[] row_data;
   rowData.removeAllElements();
   for (Iterator it = m_filters.keySet().iterator(); it.hasNext(); ) {
     row_data = new Object[2];
     row_data[0] = it.next();
     row_data[1] = m_filters.get(row_data[0]);
     rowData.add(row_data);
   }
   fireTableDataChanged();
 }
コード例 #3
0
ファイル: CallStackComponent.java プロジェクト: ybakos/Tecs-3
 /** Resets the contents of this CallStackComponent. */
 public void reset() {
   methodNames.removeAllElements();
   callStackTable.revalidate();
   callStackTable.clearSelection();
 }
コード例 #4
0
 /** Hides all highlightes. */
 public void hideHighlight() {
   highlightIndex.removeAllElements();
   repaint();
 }