Logo Search packages:      
Sourcecode: visualvm version File versions  Download package

void org::netbeans::lib::profiler::ui::components::table::SortableTableModel::setInitialSorting ( int  sortingColumn,
boolean  sortingOrder 
) [inline]

After the table to which this model belongs has been set, this method allows to set the initial sorting column and sorting order.

Parameters:
sortingColumn The initial sorting column
sortingOrder The initial sorting order

Definition at line 159 of file SortableTableModel.java.

References org::netbeans::lib::profiler::ui::components::table::CustomSortableHeaderRenderer::setSortingColumn(), and org::netbeans::lib::profiler::ui::components::table::CustomSortableHeaderRenderer::setSortingOrder().

Referenced by org::netbeans::lib::profiler::ui::memory::LivenessResultsPanel::getResultsTable(), org::netbeans::lib::profiler::ui::memory::AllocResultsPanel::getResultsTable(), org::netbeans::lib::profiler::ui::cpu::FlatProfilePanel::initComponents(), and org::netbeans::lib::profiler::ui::threads::ThreadsTablePanel::initTable().

                                                                           {
        if (headerRenderer != null) {
            headerRenderer.setSortingColumn(sortingColumn);
            headerRenderer.setSortingOrder(sortingOrder);
        }
    }


Generated by  Doxygen 1.6.0   Back to index