org.das2.jythoncompletion.MessageCompletionItem

Completion that just shows a message.

MessageCompletionItem( String message )

MessageCompletionItem( String message, String documentation )


createDocumentationTask

createDocumentationTask( ) → CompletionTask

Returns:

org.das2.jythoncompletion.support.CompletionTask

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


createToolTipTask

createToolTipTask( ) → CompletionTask

Returns:

org.das2.jythoncompletion.support.CompletionTask

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


defaultAction

defaultAction( 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]


getInsertPrefix

getInsertPrefix( ) → CharSequence

Returns:

java.lang.CharSequence

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


getPreferredWidth

getPreferredWidth( java.awt.Graphics g, java.awt.Font defaultFont ) → int

Parameters

g - a Graphics
defaultFont - a Font

Returns:

int

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


getSortPriority

getSortPriority( ) → int

Returns:

int

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


getSortText

getSortText( ) → CharSequence

Returns:

java.lang.CharSequence

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


instantSubstitution

instantSubstitution( javax.swing.text.JTextComponent component ) → boolean

Parameters

component - a JTextComponent

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]


render

render( java.awt.Graphics graphics, java.awt.Font defaultFont, java.awt.Color defaultColor, java.awt.Color backgroundColor, int width, int height, boolean selected ) → void

Parameters

graphics - a Graphics
defaultFont - a Font
defaultColor - a Color
backgroundColor - a Color
width - an int
height - an int
selected - a boolean

Returns:

void (returns nothing)

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