Java Doc for HistoryTextField.java in  » Swing-Library » jEdit » org » gjt » sp » jedit » gui » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Swing Library » jEdit » org.gjt.sp.jedit.gui 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


javax.swing.JTextField
   org.gjt.sp.jedit.gui.HistoryTextField

All known Subclasses:   org.gjt.sp.jedit.browser.VFSFileNameField,
HistoryTextField
public class HistoryTextField extends JTextField (Code)
Text field with an arrow-key accessable history.
author:
   Slava Pestov
version:
   $Id: HistoryTextField.java 10575 2007-09-14 02:31:49Z ezust $

Inner Class :class MouseHandler extends MouseInputAdapter
Inner Class :static class HistoryBorder extends AbstractBorder


Constructor Summary
public  HistoryTextField()
     Creates a new history text field.
public  HistoryTextField(String name)
     Creates a new history text field.
public  HistoryTextField(String name, boolean instantPopups)
     Creates a new history text field.
Parameters:
  name - The history model name
Parameters:
  instantPopups - If true, selecting a value from the historypopup will immediately fire an ActionEvent.
public  HistoryTextField(String name, boolean instantPopups, boolean enterAddsToHistory)
     Creates a new history text field.
Parameters:
  name - The history model name
Parameters:
  instantPopups - If true, selecting a value from the historypopup will immediately fire an ActionEvent.

Method Summary
public  voidaddCurrentToHistory()
     Adds the currently entered item to the history.
public  voidfireActionPerformed()
     Make it public.
public  booleangetInstantPopups()
     Returns if selecting a value from the popup should immediately fire an ActionEvent.
public  HistoryModelgetModel()
     Returns the underlying history model.
protected  voidprocessKeyEvent(KeyEvent evt)
    
protected  voidprocessMouseEvent(MouseEvent evt)
    
public  voidsetEnterAddsToHistory(boolean enterAddsToHistory)
     Sets if pressing Enter should automatically add the currently entered text to the history.
public  booleansetEnterAddsToHistory()
     Returns if pressing Enter should automatically add the currently entered text to the history.
public  voidsetInstantPopups(boolean instantPopups)
     Sets if selecting a value from the popup should immediately fire an ActionEvent.
public  voidsetModel(String name)
     Sets the history list model.
public  voidsetSelectAllOnFocus(boolean selectAllOnFocus)
     Sets if all text should be selected when the field gets focus.
public  booleansetSelectAllOnFocus()
     Returns if all text should be selected when the field gets focus.
public  voidsetText(String text)
     Sets the displayed text.


Constructor Detail
HistoryTextField
public HistoryTextField()(Code)
Creates a new history text field.
since:
   jEdit 3.2pre5



HistoryTextField
public HistoryTextField(String name)(Code)
Creates a new history text field.
Parameters:
  name - The history model name



HistoryTextField
public HistoryTextField(String name, boolean instantPopups)(Code)
Creates a new history text field.
Parameters:
  name - The history model name
Parameters:
  instantPopups - If true, selecting a value from the historypopup will immediately fire an ActionEvent. If false, the userwill have to press 'Enter' first
since:
   jEdit 2.2pre5



HistoryTextField
public HistoryTextField(String name, boolean instantPopups, boolean enterAddsToHistory)(Code)
Creates a new history text field.
Parameters:
  name - The history model name
Parameters:
  instantPopups - If true, selecting a value from the historypopup will immediately fire an ActionEvent. If false, the userwill have to press 'Enter' first
Parameters:
  enterAddsToHistory - If true, pressing the Enter key willautomatically add the currently entered text to the history.
since:
   jEdit 2.6pre5




Method Detail
addCurrentToHistory
public void addCurrentToHistory()(Code)
Adds the currently entered item to the history.



fireActionPerformed
public void fireActionPerformed()(Code)
Make it public.



getInstantPopups
public boolean getInstantPopups()(Code)
Returns if selecting a value from the popup should immediately fire an ActionEvent.
since:
   jEdit 4.0pre3



getModel
public HistoryModel getModel()(Code)
Returns the underlying history model.



processKeyEvent
protected void processKeyEvent(KeyEvent evt)(Code)



processMouseEvent
protected void processMouseEvent(MouseEvent evt)(Code)



setEnterAddsToHistory
public void setEnterAddsToHistory(boolean enterAddsToHistory)(Code)
Sets if pressing Enter should automatically add the currently entered text to the history.
since:
   jEdit 4.0pre3



setEnterAddsToHistory
public boolean setEnterAddsToHistory()(Code)
Returns if pressing Enter should automatically add the currently entered text to the history.
since:
   jEdit 4.0pre3



setInstantPopups
public void setInstantPopups(boolean instantPopups)(Code)
Sets if selecting a value from the popup should immediately fire an ActionEvent.
since:
   jEdit 4.0pre3



setModel
public void setModel(String name)(Code)
Sets the history list model.
Parameters:
  name - The model name
since:
   jEdit 2.3pre3



setSelectAllOnFocus
public void setSelectAllOnFocus(boolean selectAllOnFocus)(Code)
Sets if all text should be selected when the field gets focus.
since:
   jEdit 4.0pre3



setSelectAllOnFocus
public boolean setSelectAllOnFocus()(Code)
Returns if all text should be selected when the field gets focus.
since:
   jEdit 4.0pre3



setText
public void setText(String text)(Code)
Sets the displayed text.



Fields inherited from javax.swing.JTextField
final public static String notifyAction(Code)(Java Doc)

Methods inherited from javax.swing.JTextField
protected void actionPropertyChanged(Action action, String propertyName)(Code)(Java Doc)
public synchronized void addActionListener(ActionListener l)(Code)(Java Doc)
protected void configurePropertiesFromAction(Action a)(Code)(Java Doc)
protected PropertyChangeListener createActionPropertyChangeListener(Action a)(Code)(Java Doc)
protected Document createDefaultModel()(Code)(Java Doc)
protected void fireActionPerformed()(Code)(Java Doc)
public AccessibleContext getAccessibleContext()(Code)(Java Doc)
public Action getAction()(Code)(Java Doc)
public synchronized ActionListener[] getActionListeners()(Code)(Java Doc)
public Action[] getActions()(Code)(Java Doc)
protected int getColumnWidth()(Code)(Java Doc)
public int getColumns()(Code)(Java Doc)
public int getHorizontalAlignment()(Code)(Java Doc)
public BoundedRangeModel getHorizontalVisibility()(Code)(Java Doc)
public Dimension getPreferredSize()(Code)(Java Doc)
public int getScrollOffset()(Code)(Java Doc)
public String getUIClassID()(Code)(Java Doc)
public boolean isValidateRoot()(Code)(Java Doc)
protected String paramString()(Code)(Java Doc)
public void postActionEvent()(Code)(Java Doc)
public synchronized void removeActionListener(ActionListener l)(Code)(Java Doc)
public void scrollRectToVisible(Rectangle r)(Code)(Java Doc)
public void setAction(Action a)(Code)(Java Doc)
public void setActionCommand(String command)(Code)(Java Doc)
public void setColumns(int columns)(Code)(Java Doc)
public void setDocument(Document doc)(Code)(Java Doc)
public void setFont(Font f)(Code)(Java Doc)
public void setHorizontalAlignment(int alignment)(Code)(Java Doc)
public void setScrollOffset(int scrollOffset)(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.