/** * Set the HighlightPredicate used to decide whether a cell should * be highlighted. If null, sets the predicate to HighlightPredicate.ALWAYS. * * The default value is HighlightPredicate.ALWAYS. * * @param predicate the HighlightPredicate to use. */ public void setHighlightPredicate(HighlightPredicate predicate) { if (predicate == null) { predicate = HighlightPredicate.ALWAYS; } if (areEqual(predicate, getHighlightPredicate())) return; this.predicate = predicate; fireStateChanged(); }
/** * Set the HighlightPredicate used to decide whether a cell should * be highlighted. If null, sets the predicate to HighlightPredicate.ALWAYS. * * The default value is HighlightPredicate.ALWAYS. * * @param predicate the HighlightPredicate to use. */ public void setHighlightPredicate(HighlightPredicate predicate) { if (predicate == null) { predicate = HighlightPredicate.ALWAYS; } if (areEqual(predicate, getHighlightPredicate())) return; this.predicate = predicate; fireStateChanged(); }
/** * Set the HighlightPredicate used to decide whether a cell should * be highlighted. If null, sets the predicate to HighlightPredicate.ALWAYS. * * The default value is HighlightPredicate.ALWAYS. * * @param predicate the HighlightPredicate to use. */ public void setHighlightPredicate(HighlightPredicate predicate) { if (predicate == null) { predicate = HighlightPredicate.ALWAYS; } if (areEqual(predicate, getHighlightPredicate())) return; this.predicate = predicate; fireStateChanged(); }
/** * Set the HighlightPredicate used to decide whether a cell should * be highlighted. If null, sets the predicate to HighlightPredicate.ALWAYS. * * The default value is HighlightPredicate.ALWAYS. * * @param predicate the HighlightPredicate to use. */ public void setHighlightPredicate(HighlightPredicate predicate) { if (predicate == null) { predicate = HighlightPredicate.ALWAYS; } if (areEqual(predicate, getHighlightPredicate())) return; this.predicate = predicate; fireStateChanged(); }
/** * Set the HighlightPredicate used to decide whether a cell should * be highlighted. If null, sets the predicate to HighlightPredicate.ALWAYS. * * The default value is HighlightPredicate.ALWAYS. * * @param predicate the HighlightPredicate to use. */ public void setHighlightPredicate(HighlightPredicate predicate) { if (predicate == null) { predicate = HighlightPredicate.ALWAYS; } if (areEqual(predicate, getHighlightPredicate())) return; this.predicate = predicate; fireStateChanged(); }