|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.unidata.ui.InteractiveShell
public class InteractiveShell
This class provides an abstract interactive shell
| Field Summary | |
|---|---|
protected JTextArea |
commandArea
_more_ |
protected JTextField |
commandFld
_more_ |
protected JComponent |
contents
_more_ |
protected JEditorPane |
editorPane
_more_ |
protected JFrame |
frame
_more_ |
protected List |
history
_more_ |
protected int |
historyIdx
_more_ |
protected StringBuffer |
sb
_more_ |
| Constructor Summary | |
|---|---|
InteractiveShell(String title)
_more_ |
|
| Method Summary | |
|---|---|
void |
clear()
_more_ |
void |
clearOutput()
|
void |
close()
|
protected JComponent |
doMakeContents()
_more_ |
protected JMenuBar |
doMakeMenuBar()
_more_ |
protected void |
endBufferingOutput()
|
void |
eval()
_more_ |
void |
eval(String code)
_more_ |
void |
flipField()
_more_ |
protected String |
formatCode(String code)
_more_ |
protected String |
getHref(String text,
String label)
|
protected void |
handleKeyPress(KeyEvent e,
JTextComponent cmdFld)
_more_ |
protected void |
handleRightMouseClick(JTextComponent commandFld,
MouseEvent e)
_more_ |
void |
hyperlinkUpdate(HyperlinkEvent e)
_more_ |
protected void |
init()
_more_ |
void |
insert(String s)
_more_ |
void |
insertText(String t)
_more_ |
protected void |
makeFrame()
_more_ |
void |
output(String m)
_more_ |
void |
setText(String text)
|
void |
show()
|
protected void |
showNormalCursor()
|
protected void |
showWaitCursor()
|
protected void |
startBufferingOutput()
|
void |
toFront()
_more_ |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected JFrame frame
protected JTextField commandFld
protected JTextArea commandArea
protected JEditorPane editorPane
protected StringBuffer sb
protected List history
protected int historyIdx
protected JComponent contents
| Constructor Detail |
|---|
public InteractiveShell(String title)
title - _more_| Method Detail |
|---|
protected void makeFrame()
public void close()
public void show()
protected String getHref(String text,
String label)
protected void showWaitCursor()
protected void showNormalCursor()
protected void init()
public void hyperlinkUpdate(HyperlinkEvent e)
hyperlinkUpdate in interface HyperlinkListenere - _more_public void setText(String text)
protected JComponent doMakeContents()
protected void handleRightMouseClick(JTextComponent commandFld,
MouseEvent e)
commandFld - _more_e - _more_protected JMenuBar doMakeMenuBar()
public void toFront()
public void flipField()
public void insertText(String t)
t - _more_
protected void handleKeyPress(KeyEvent e,
JTextComponent cmdFld)
e - _more_cmdFld - _more_public void insert(String s)
s - _more_public void clear()
public void clearOutput()
public void eval()
protected void startBufferingOutput()
protected void endBufferingOutput()
public void output(String m)
m - _more_public void eval(String code)
code - the code that was evaluatedprotected String formatCode(String code)
code - _more_
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||