org.autoplot.jythonsupport.ui.EditorTextPane

Special editor for Jython scripts, adding undo and redo actions, bigger/smaller keystrokes and the action "plot." A property "font" is managed as well, which was introduced when the jython mode in the jsyntaxpane editor was using a poor choice.

EditorTextPane( )


getEditorAnnotationsSupport

getEditorAnnotationsSupport( ) → EditorAnnotationsSupport

Returns:

org.autoplot.jythonsupport.ui.EditorAnnotationsSupport

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


getInitializeRunnable

getInitializeRunnable( ) → Runnable

Returns:

java.lang.Runnable

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


getToolTipText

getToolTipText( java.awt.event.MouseEvent event ) → String

Parameters

event - a MouseEvent

Returns:

java.lang.String

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


loadFile

loadFile( java.io.File f ) → void

Parameters

f - a File

Returns:

void (returns nothing)

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


loadFileToString

loadFileToString( java.io.File f ) → String

copy the file into a string using readLine and a StringBuilder.

Parameters

f - the file

Returns:

the string contents.

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


setDocument

setDocument( javax.swing.text.Document doc ) → void

Ed and I verified that this is being set off of the event thread.

Parameters

doc - a Document

Returns:

void (returns nothing)

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


setEditorAnnotationsSupport

setEditorAnnotationsSupport( org.autoplot.jythonsupport.ui.EditorAnnotationsSupport support ) → void

Parameters

support - an EditorAnnotationsSupport

Returns:

void (returns nothing)

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


setFont

setFont( java.awt.Font font ) → void

Parameters

font - a Font

Returns:

void (returns nothing)

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


showCompletionsView

showCompletionsView( ) → void

Returns:

void (returns nothing)

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


showParametersView

showParametersView( ) → void

show the script used to create the GUI panel.

Returns:

void (returns nothing)

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