|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.raelity.jvi.swing.NewWindowCmdEntry
public class NewWindowCmdEntry
This class provides a floating CommandLine entry widget.
A separate window must be allocated for each browser.
The window close button is disabled.
Field Summary
protected NewCommandLineWindowcommandLineWindow
valid while active taking input
protected JComponentcurrentEditorPane
valid while actively taking input
protected Listlist
the history list
protected MapwindowMap
maps frames to their command line window
Constructor Summary
NewWindowCmdEntry(String type)
Method Summary
voidactionPerformed(ActionEvent e)
This is invoked when the command line entry is stopped by the user.
voidactivate(String mode,
JComponent parent)
ViCmdEntry interface
voidactivate(String mode,
JComponent editorComponent,
String initialText,
boolean passThru)
Start taking input.
voidaddActionListener(ActionListener l)
ViCmdEntry interface
voidappend(String s)
ViCmdEntry interface
voidcancel()
ViCmdEntry interface
StringgetCommand()
ViCmdEntry interface
protected NewCommandLineWindowgetCommandLineWindow(JComponent c)
This is invoked to get the command window associated with
the specified text view.
protected NewCommandLineWindowplaceCommandWindow(JComponent editorComponent)
This method positions a command line for the indicated editor.
voidremoveActionListener(ActionListener l)
ViCmdEntry interface
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Field Detail
list
protected List list
currentEditorPane
protected JComponent currentEditorPane
commandLineWindow
protected NewCommandLineWindow commandLineWindow
windowMap
protected Map windowMap
Constructor Detail
NewWindowCmdEntry
public NewWindowCmdEntry(String type)
Method Detail
getCommand
public String getCommand()
append
public void append(String s)
getCommandLineWindow
protected NewCommandLineWindow getCommandLineWindow(JComponent c)
placeCommandWindow(javax.swing.JComponent).
placeCommandWindow
protected NewCommandLineWindow placeCommandWindow(JComponent editorComponent)
activate
public void activate(String mode,
JComponent parent)
activate
public void activate(String mode,
JComponent editorComponent,
String initialText,
boolean passThru)
actionPerformed
public void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListener
cancel
public void cancel()
addActionListener
public void addActionListener(ActionListener l)
throws TooManyListenersException
TooManyListenersException
removeActionListener
public void removeActionListener(ActionListener l)
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD