## org.das2.jythoncompletion.ui.CompletionImpl

Implementation of the completion processing. The visual related processing is done in AWT thread together with completion providers invocation and result set sorting.
The only thing that can be done outside of the AWT is hiding of the completion/documentation/tooltip.

The completion providers typically reschedule computation intensive collecting of their result set into an extra thread to keep the GUI responsive.

## caretUpdate

caretUpdate( javax.swing.event.CaretEvent e ) → void

### Parameters

e - a CaretEvent

### Returns:

void (returns nothing)
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## changedUpdate

changedUpdate( javax.swing.event.DocumentEvent e ) → void

### Parameters

e - a DocumentEvent

### Returns:

void (returns nothing)
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## createTestResultSet

createTestResultSet( org.das2.jythoncompletion.support.CompletionTask task, int queryType ) → org.das2.jythoncompletion.ui.CompletionResultSetImpl

### Parameters

task - a CompletionTask
queryType - an int

### Returns:

org.das2.jythoncompletion.ui.CompletionResultSetImpl
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## focusGained

focusGained( java.awt.event.FocusEvent e ) → void

### Parameters

e - a FocusEvent

### Returns:

void (returns nothing)
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## focusLost

focusLost( java.awt.event.FocusEvent e ) → void

### Parameters

e - a FocusEvent

### Returns:

void (returns nothing)
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## get

get( ) → org.das2.jythoncompletion.ui.CompletionImpl

### Returns:

org.das2.jythoncompletion.ui.CompletionImpl
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## hideAll

hideAll( ) → void

### Returns:

void (returns nothing)
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## hideCompletion

hideCompletion( ) → boolean

May be called from any thread. The UI changes will be rescheduled into AWT.

### Returns:

boolean
[search for examples] [view on GitHub] [view on old javadoc] [view source]
hideCompletion( boolean completionOnly ) → boolean [view source]

## hideDocumentation

hideDocumentation( ) → boolean

May be called from any thread. The UI changes will be rescheduled into AWT.

### Returns:

boolean
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## hideToolTip

hideToolTip( ) → boolean

May be called from any thread. The UI changes will be rescheduled into AWT.

### Returns:

boolean
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## insertUpdate

insertUpdate( javax.swing.event.DocumentEvent e ) → void

### Parameters

e - a DocumentEvent

### Returns:

void (returns nothing)
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## keyPressed

keyPressed( java.awt.event.KeyEvent e ) → void

### Parameters

e - a KeyEvent

### Returns:

void (returns nothing)
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## keyReleased

keyReleased( java.awt.event.KeyEvent e ) → void

### Parameters

e - a KeyEvent

### Returns:

void (returns nothing)
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## keyTyped

keyTyped( java.awt.event.KeyEvent e ) → void

### Parameters

e - a KeyEvent

### Returns:

void (returns nothing)
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## mouseClicked

mouseClicked( java.awt.event.MouseEvent e ) → void

### Parameters

e - a MouseEvent

### Returns:

void (returns nothing)
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## propertyChange

propertyChange( java.beans.PropertyChangeEvent e ) → void

Expected to be called from the AWT only.

### Parameters

e - a PropertyChangeEvent

### Returns:

void (returns nothing)
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## removeUpdate

removeUpdate( javax.swing.event.DocumentEvent e ) → void

### Parameters

e - a DocumentEvent

### Returns:

void (returns nothing)
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## setTabIsCompletion

setTabIsCompletion( boolean b ) → void

### Parameters

b - a boolean

### Returns:

void (returns nothing)
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## showCompletion

showCompletion( ) → void

May be called from any thread but it will be rescheduled into AWT.

### Returns:

void (returns nothing)
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## showDocumentation

showDocumentation( ) → void

May be called from any thread but it will be rescheduled into AWT.

### Returns:

void (returns nothing)
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## showToolTip

showToolTip( ) → void

May be called from any thread but it will be rescheduled into AWT.

### Returns:

void (returns nothing)
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## startPopup

startPopup( javax.swing.text.JTextComponent component ) → void

### Parameters

component - a JTextComponent

### Returns:

void (returns nothing)
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## valueChanged

valueChanged( javax.swing.event.ListSelectionEvent e ) → void

Called from AWT when selection in the completion list pane changes.

### Parameters

e - a ListSelectionEvent

### Returns:

void (returns nothing)
[search for examples] [view on GitHub] [view on old javadoc] [view source]