/** * A cleanup method which stops this MatcherEditor from listening to * changes on the underlying {@link Document}, thus freeing the * MatcherEditor or Document to be garbage collected. */ public void dispose() { deregisterListeners(live); }
/** * A cleanup method which stops this MatcherEditor from listening to * changes on the underlying {@link Document}, thus freeing the * MatcherEditor or Document to be garbage collected. */ public void dispose() { deregisterListeners(live); }
/** * A cleanup method which stops this MatcherEditor from listening to * changes on the underlying {@link Document}, thus freeing the * MatcherEditor or Document to be garbage collected. */ public void dispose() { deregisterListeners(live); }
/** * Toggle between filtering by the keystroke and not. * * @param live <code>true</code> to filter by the keystroke or <code>false</code> * to filter only when {@link java.awt.event.KeyEvent#VK_ENTER Enter} is pressed * within the {@link JTextComponent}. Note that non-live filtering is only * supported if <code>textComponent</code> is a {@link JTextField}. */ public void setLive(boolean live) { if (live == this.live) return; deregisterListeners(this.live); this.live = live; registerListeners(this.live); }
/** * Toggle between filtering by the keystroke and not. * * @param live <code>true</code> to filter by the keystroke or <code>false</code> * to filter only when {@link java.awt.event.KeyEvent#VK_ENTER Enter} is pressed * within the {@link JTextComponent}. Note that non-live filtering is only * supported if <code>textComponent</code> is a {@link JTextField}. */ public void setLive(boolean live) { if (live == this.live) return; deregisterListeners(this.live); this.live = live; registerListeners(this.live); }
/** * Toggle between filtering by the keystroke and not. * * @param live <code>true</code> to filter by the keystroke or <code>false</code> * to filter only when {@link java.awt.event.KeyEvent#VK_ENTER Enter} is pressed * within the {@link JTextComponent}. Note that non-live filtering is only * supported if <code>textComponent</code> is a {@link JTextField}. */ public void setLive(boolean live) { if (live == this.live) return; deregisterListeners(this.live); this.live = live; registerListeners(this.live); }