A C F G I J L M N O P R S U V 

A

addJShellListener(JShellListener) - Method in class com.github.fracpete.jshell.JShellPanel
Adds the listener to the internal list.

C

clearScriptOutput() - Method in class com.github.fracpete.jshell.JShellPanel
Clears the output of the script.
com.github.fracpete.jshell - package com.github.fracpete.jshell
 
com.github.fracpete.jshell.event - package com.github.fracpete.jshell.event
 

F

finishInit() - Method in class com.github.fracpete.jshell.JShellPanel
Finishes the initialization.

G

getCode() - Method in class com.github.fracpete.jshell.JShellPanel
Returns the current code.
getExecutable() - Method in class com.github.fracpete.jshell.JShellPanel
Returns the jshell executable.
getOutput() - Method in class com.github.fracpete.jshell.JShellPanel
Returns the current output.
getOutputType() - Method in class com.github.fracpete.jshell.JShellPanel
Returns what output from the process to forward.
getPanel() - Method in class com.github.fracpete.jshell.event.JShellEvent
Returns the panel that triggered the event.
getType() - Method in class com.github.fracpete.jshell.event.JShellEvent
Returns the event type.

I

initGUI() - Method in class com.github.fracpete.jshell.JShellPanel
Initializes the widgets.
initialize() - Method in class com.github.fracpete.jshell.JShellPanel
Initializes the members.
isAvailable() - Method in class com.github.fracpete.jshell.JShellPanel
Checks whether jshell executable is available.
isRunning() - Method in class com.github.fracpete.jshell.JShellPanel
Returns whether a script is currently running.

J

JShellEvent - Class in com.github.fracpete.jshell.event
Events sent by the JShellPanel.
JShellEvent(JShellPanel, JShellEvent.EventType) - Constructor for class com.github.fracpete.jshell.event.JShellEvent
Constructs a prototypical Event.
JShellEvent.EventType - Enum in com.github.fracpete.jshell.event
the type of event.
jshellEventOccurred(JShellEvent) - Method in interface com.github.fracpete.jshell.event.JShellListener
Gets triggered with any event in the JShellPanel.
JShellListener - Interface in com.github.fracpete.jshell.event
Interface for classes that listen to events of the JShellPanel.
JShellPanel - Class in com.github.fracpete.jshell
Panel for performing scripting via jshell.
JShellPanel() - Constructor for class com.github.fracpete.jshell.JShellPanel
 

L

loadScript() - Method in class com.github.fracpete.jshell.JShellPanel
Lets the user select a script to load.
loadScript(File) - Method in class com.github.fracpete.jshell.JShellPanel
Loads the specified file.

M

m_Available - Variable in class com.github.fracpete.jshell.JShellPanel
whether scripting is available.
m_ButtonOutputClear - Variable in class com.github.fracpete.jshell.JShellPanel
the button for clearing the output.
m_ButtonOutputSave - Variable in class com.github.fracpete.jshell.JShellPanel
the button for saving the output.
m_ButtonScriptLoad - Variable in class com.github.fracpete.jshell.JShellPanel
the button for loading a script.
m_ButtonScriptRun - Variable in class com.github.fracpete.jshell.JShellPanel
the button for executing a script.
m_ButtonScriptSave - Variable in class com.github.fracpete.jshell.JShellPanel
the button for saving as script.
m_ButtonScriptStop - Variable in class com.github.fracpete.jshell.JShellPanel
the button for stopping a script.
m_Execution - Variable in class com.github.fracpete.jshell.JShellPanel
executes the script.
m_FileChooserOutput - Variable in class com.github.fracpete.jshell.JShellPanel
the filechooser for the output.
m_FileChooserScript - Variable in class com.github.fracpete.jshell.JShellPanel
the filechooser for scripts.
m_JShellListeners - Variable in class com.github.fracpete.jshell.JShellPanel
the listeners that listen for changes.
m_SplitPane - Variable in class com.github.fracpete.jshell.JShellPanel
for splitting code and output.
m_TextCode - Variable in class com.github.fracpete.jshell.JShellPanel
the text area for the script.
m_TextOutput - Variable in class com.github.fracpete.jshell.JShellPanel
for the jshell output.
m_Type - Variable in class com.github.fracpete.jshell.event.JShellEvent
the event type.
main(String[]) - Static method in class com.github.fracpete.jshell.JShellPanel
For testing only.

N

notifyJShellListeners(JShellEvent) - Method in class com.github.fracpete.jshell.JShellPanel
Notifies all the listeners with the specified event.

O

OUTPUT_CLEARED - com.github.fracpete.jshell.event.JShellEvent.EventType
 
OUTPUT_SAVE_FAILURE - com.github.fracpete.jshell.event.JShellEvent.EventType
 
OUTPUT_SAVE_SUCESS - com.github.fracpete.jshell.event.JShellEvent.EventType
 

P

processOutput(String, boolean) - Method in class com.github.fracpete.jshell.JShellPanel
Processes the incoming line.

R

removeJShellListener(JShellListener) - Method in class com.github.fracpete.jshell.JShellPanel
Removes the listener to the internal list.
runScript() - Method in class com.github.fracpete.jshell.JShellPanel
Executes the script.

S

saveScript() - Method in class com.github.fracpete.jshell.JShellPanel
Lets the user save the script to a file.
saveScriptOutput() - Method in class com.github.fracpete.jshell.JShellPanel
Lets the user save the script output to a file.
SCRIPT_FINISHED - com.github.fracpete.jshell.event.JShellEvent.EventType
 
SCRIPT_LOAD_FAILURE - com.github.fracpete.jshell.event.JShellEvent.EventType
 
SCRIPT_LOAD_SUCCESS - com.github.fracpete.jshell.event.JShellEvent.EventType
 
SCRIPT_RUN - com.github.fracpete.jshell.event.JShellEvent.EventType
 
SCRIPT_RUN_FAILURE - com.github.fracpete.jshell.event.JShellEvent.EventType
 
SCRIPT_RUN_SETUP_FAILURE - com.github.fracpete.jshell.event.JShellEvent.EventType
 
SCRIPT_RUN_SUCCESS - com.github.fracpete.jshell.event.JShellEvent.EventType
 
SCRIPT_SAVE_FAILURE - com.github.fracpete.jshell.event.JShellEvent.EventType
 
SCRIPT_SAVE_SUCCESS - com.github.fracpete.jshell.event.JShellEvent.EventType
 
SCRIPT_STOP - com.github.fracpete.jshell.event.JShellEvent.EventType
 
stopScript() - Method in class com.github.fracpete.jshell.JShellPanel
Stops a running script.

U

updateButtons() - Method in class com.github.fracpete.jshell.JShellPanel
Updates the state of the buttons.

V

valueOf(String) - Static method in enum com.github.fracpete.jshell.event.JShellEvent.EventType
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.github.fracpete.jshell.event.JShellEvent.EventType
Returns an array containing the constants of this enum type, in the order they are declared.
A C F G I J L M N O P R S U V 
Skip navigation links

Copyright © 2018. All Rights Reserved.