This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

View | Details | Raw Unified | Return to bug 230538
Collapse All | Expand All

(-)a/refactoring.api/src/org/netbeans/modules/refactoring/spi/ui/FiltersDescription.java (+12 lines)
Lines 141-146 Link Here
141
    public boolean isSelected(int index) {
141
    public boolean isSelected(int index) {
142
        return filters.get(index).selected;
142
        return filters.get(index).selected;
143
    }
143
    }
144
    
145
    /**
146
     * Set selected flag
147
     *
148
     * @param index the index of the filter
149
     * @param select new state of the flag
150
     * @throws IndexOutOfBoundsException if the index is out of range
151
     * ({@code index < 0 || index >= size()})
152
     */
153
    public void select(int index, boolean select) {
154
        filters.get(index).selected = select;
155
    }
144
156
145
    /**
157
    /**
146
     * Enable the filter at the supplied index.
158
     * Enable the filter at the supplied index.

Return to bug 230538