/** * Sets the resortsOnDoubleClick property. If enabled, the second click * of a mouseClicked event will toggle the sort order again if the * column has been unsorted before. This is introduced to support * feature request #271-swingx. It is effective only if the coupled table * is of type JXTable and has full control about its RowSorter's properties. * * The default value is false. * * @param resortsOnDoubleClick a boolean indicating whether or not the * second click in a mouseClicked event should resort the column. * * @see #getResortsOnDoubleClick() */ public void setResortsOnDoubleClick(boolean resortsOnDoubleClick) { boolean old = getResortsOnDoubleClick(); this.resortsOnDoubleClick = resortsOnDoubleClick; firePropertyChange("resortsOnDoubleClick", old, getResortsOnDoubleClick()); }
/** * Sets the resortsOnDoubleClick property. If enabled, the second click * of a mouseClicked event will toggle the sort order again if the * column has been unsorted before. This is introduced to support * feature request #271-swingx. It is effective only if the coupled table * is of type JXTable and has full control about its RowSorter's properties. * * The default value is false. * * @param resortsOnDoubleClick a boolean indicating whether or not the * second click in a mouseClicked event should resort the column. * * @see #getResortsOnDoubleClick() */ public void setResortsOnDoubleClick(boolean resortsOnDoubleClick) { boolean old = getResortsOnDoubleClick(); this.resortsOnDoubleClick = resortsOnDoubleClick; firePropertyChange("resortsOnDoubleClick", old, getResortsOnDoubleClick()); }
/** * Sets the resortsOnDoubleClick property. If enabled, the second click * of a mouseClicked event will toggle the sort order again if the * column has been unsorted before. This is introduced to support * feature request #271-swingx. It is effective only if the coupled table * is of type JXTable and has full control about its RowSorter's properties. * * The default value is false. * * @param resortsOnDoubleClick a boolean indicating whether or not the * second click in a mouseClicked event should resort the column. * * @see #getResortsOnDoubleClick() */ public void setResortsOnDoubleClick(boolean resortsOnDoubleClick) { boolean old = getResortsOnDoubleClick(); this.resortsOnDoubleClick = resortsOnDoubleClick; firePropertyChange("resortsOnDoubleClick", old, getResortsOnDoubleClick()); }
/** * Sets the resortsOnDoubleClick property. If enabled, the second click * of a mouseClicked event will toggle the sort order again if the * column has been unsorted before. This is introduced to support * feature request #271-swingx. It is effective only if the coupled table * is of type JXTable and has full control about its RowSorter's properties. * * The default value is false. * * @param resortsOnDoubleClick a boolean indicating whether or not the * second click in a mouseClicked event should resort the column. * * @see #getResortsOnDoubleClick() */ public void setResortsOnDoubleClick(boolean resortsOnDoubleClick) { boolean old = getResortsOnDoubleClick(); this.resortsOnDoubleClick = resortsOnDoubleClick; firePropertyChange("resortsOnDoubleClick", old, getResortsOnDoubleClick()); }
private boolean canCacheSortColumn(MouseEvent e) { if (hasSortController() && !isInResizeRegion(e) && getResortsOnDoubleClick()) { return true; } return false; }
private boolean canCacheSortColumn(MouseEvent e) { if (hasSortController() && !isInResizeRegion(e) && getResortsOnDoubleClick()) { return true; } return false; }
private boolean canCacheSortColumn(MouseEvent e) { if (hasSortController() && !isInResizeRegion(e) && getResortsOnDoubleClick()) { return true; } return false; }
private boolean canCacheSortColumn(MouseEvent e) { if (hasSortController() && !isInResizeRegion(e) && getResortsOnDoubleClick()) { return true; } return false; }