|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.raelity.jvi.swing.DefaultCmdEntry
public class DefaultCmdEntry
This class provides shared access to a CommandLine entry widget.
| Field Summary |
|---|
| Fields inherited from interface com.raelity.jvi.ViCmdEntry |
|---|
COLON_ENTRY, SEARCH_ENTRY |
| Constructor Summary | |
|---|---|
DefaultCmdEntry(CommandLine cmdLine)
|
|
| Method Summary | |
|---|---|
void |
actionPerformed(ActionEvent e)
This is invoked when the command line entry is stopped by the user. |
void |
activate(String mode,
ViTextView parent)
ViCmdEntry interface |
void |
activate(String mode,
ViTextView parent,
String initialText,
boolean passThru)
ViCmdEntry interface |
void |
addActionListener(ActionListener l)
ViCmdEntry interface |
void |
append(String s)
ViCmdEntry interface |
void |
cancel()
ViCmdEntry interface |
String |
getCommand()
ViCmdEntry interface |
JTextComponent |
getTextComponent()
Retrieve the component used for the data entry. |
void |
removeActionListener(ActionListener l)
ViCmdEntry interface |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultCmdEntry(CommandLine cmdLine)
| Method Detail |
|---|
public String getCommand()
getCommand in interface ViCmdEntrypublic void append(String s)
append in interface ViCmdEntry
public void activate(String mode,
ViTextView parent)
activate in interface ViCmdEntry
public void activate(String mode,
ViTextView parent,
String initialText,
boolean passThru)
activate in interface ViCmdEntryparent - component associated with the entryinitialText - text widget starts out with this textpassThru - when true, fire action with initialText as the commandpublic void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenerpublic void cancel()
cancel in interface ViCmdEntry
public void addActionListener(ActionListener l)
throws TooManyListenersException
addActionListener in interface ViCmdEntryTooManyListenersExceptionpublic void removeActionListener(ActionListener l)
removeActionListener in interface ViCmdEntrypublic JTextComponent getTextComponent()
ViCmdEntry
getTextComponent in interface ViCmdEntry
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||