org.das2.jythoncompletion.ui.CompletionScrollPane

Pane displaying the completion view and accompanying components like label for title etc.

CompletionScrollPane( javax.swing.text.JTextComponent editorComponent, javax.swing.event.ListSelectionListener listSelectionListener, java.awt.event.MouseListener mouseListener )


getPreferredSize

getPreferredSize( ) → Dimension

Returns:

java.awt.Dimension

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


getSelectedCompletionItem

getSelectedCompletionItem( ) → 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]


setData

setData( java.util.List data, String title, int selectedIndex ) → void

Parameters

data - a java.util.List
title - a String
selectedIndex - an int

Returns:

void (returns nothing)

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