## org.das2.jythoncompletion.ui.CompletionLayout

Layout of the completion, documentation and tooltip popup windows.

## COMPLETION_ITEM_HEIGHT

## clearDocumentationHistory

clearDocumentationHistory( ) → void

### Returns:

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

## getEditorComponent

getEditorComponent( ) → javax.swing.text.JTextComponent

### Returns:

javax.swing.text.JTextComponent
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## getSelectedCompletionItem

getSelectedCompletionItem( ) → org.das2.jythoncompletion.support.CompletionItem

### Returns:

org.das2.jythoncompletion.support.CompletionItem
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## getSelectedIndex

getSelectedIndex( ) → int

### Returns:

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

## hideCompletion

hideCompletion( ) → boolean

### Returns:

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

## hideDocumentation

hideDocumentation( ) → boolean

### Returns:

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

## hideToolTip

hideToolTip( ) → boolean

### Returns:

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

## isCompletionVisible

isCompletionVisible( ) → boolean

### Returns:

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

## isDocumentationVisible

isDocumentationVisible( ) → boolean

### Returns:

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

## isToolTipVisible

isToolTipVisible( ) → boolean

### Returns:

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

## processKeyEvent

processKeyEvent( java.awt.event.KeyEvent evt ) → void

### Parameters

evt - a KeyEvent

### Returns:

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

## setEditorComponent

setEditorComponent( javax.swing.text.JTextComponent editorComponent ) → void

### Parameters

editorComponent - a JTextComponent

### Returns:

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

## showCompletion

showCompletion( java.util.List data, String title, int anchorOffset, javax.swing.event.ListSelectionListener listSelectionListener, String shortcutHint, int selectedIndex ) → void

### Parameters

data - a java.util.List
title - a String
anchorOffset - an int
listSelectionListener - a ListSelectionListener
shortcutHint - a String
selectedIndex - an int

### Returns:

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

## showDocumentation

showDocumentation( org.das2.jythoncompletion.support.CompletionDocumentation doc, int anchorOffset ) → void

### Parameters

doc - a CompletionDocumentation
anchorOffset - an int

### Returns:

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

## showToolTip

showToolTip( javax.swing.JToolTip toolTip, int anchorOffset ) → void

### Parameters

toolTip - a JToolTip
anchorOffset - an int

### Returns:

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