|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gjt.sp.jedit.gui.HistoryText
public class HistoryText
Controller (manager of models) for HistoryTextArea.
Constructor Summary | |
---|---|
HistoryText(javax.swing.text.JTextComponent text,
java.lang.String name)
|
Method Summary | |
---|---|
void |
addCurrentToHistory()
Adds the currently entered item to the history. |
void |
doBackwardSearch()
|
void |
doForwardSearch()
|
void |
fireActionPerformed()
|
javax.swing.text.Document |
getDocument()
|
int |
getIndex()
|
int |
getInputStart()
Subclasses can override this to provide funky history behavior, for JTextPanes and such. |
boolean |
getInstantPopups()
Returns if selecting a value from the popup should immediately fire an ActionEvent. |
HistoryModel |
getModel()
Returns the underlying history controller. |
java.lang.String |
getText()
Subclasses can override this to provide funky history behavior, for JTextPanes and such. |
void |
historyNext()
|
void |
historyPrevious()
|
void |
setIndex(int index)
|
void |
setInstantPopups(boolean instantPopups)
Sets if selecting a value from the popup should immediately fire an ActionEvent. |
void |
setModel(java.lang.String name)
Sets the history list controller. |
void |
setText(java.lang.String text)
Subclasses can override this to provide funky history behavior, for JTextPanes and such. |
void |
showPopupMenu(boolean search)
|
void |
showPopupMenu(java.lang.String t,
int x,
int y)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HistoryText(javax.swing.text.JTextComponent text, java.lang.String name)
Method Detail |
---|
public void fireActionPerformed()
public int getIndex()
public void setIndex(int index)
public HistoryModel getModel()
public void setModel(java.lang.String name)
name
- The model namepublic void setInstantPopups(boolean instantPopups)
public boolean getInstantPopups()
public void addCurrentToHistory()
public void doBackwardSearch()
public void doForwardSearch()
public void historyPrevious()
public void historyNext()
public javax.swing.text.Document getDocument()
public java.lang.String getText()
public void setText(java.lang.String text)
public int getInputStart()
public void showPopupMenu(java.lang.String t, int x, int y)
public void showPopupMenu(boolean search)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |