Java Doc for MoeActions.java in  » IDE » bluej-editor » bluej » editor » moe » 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 » IDE » bluej editor » bluej.editor.moe 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   bluej.editor.moe.MoeActions

MoeActions
final public class MoeActions (Code)
A set of actions supported by the Moe editor. This is a singleton: the actions are shared between all editor instances. Actions are stored both in a hashtable and in an array. The hashtable is used for fast lookup by name, whereas the array is needed to support complete, ordered access.
author:
   Michael Kolling
author:
   Bruce Quig

Inner Class :abstract class MoeAbstractAction extends TextAction
Inner Class :class SaveAction extends MoeAbstractAction
Inner Class :class ReloadAction extends MoeAbstractAction
Inner Class :class PrintAction extends MoeAbstractAction
Inner Class :class PageSetupAction extends MoeAbstractAction
Inner Class :class CloseAction extends MoeAbstractAction
Inner Class :class UndoAction extends MoeAbstractAction
Inner Class :class RedoAction extends MoeAbstractAction
Inner Class :class CommentBlockAction extends MoeAbstractAction
Inner Class :class UncommentBlockAction extends MoeAbstractAction
Inner Class :class IndentBlockAction extends MoeAbstractAction
Inner Class :class DeindentBlockAction extends MoeAbstractAction
Inner Class :class InsertMethodAction extends MoeAbstractAction
Inner Class :class IndentAction extends MoeAbstractAction
Inner Class :class DeIndentAction extends MoeAbstractAction
Inner Class :class NewLineAction extends MoeAbstractAction
Inner Class :class CopyLineAction extends MoeAbstractAction
Inner Class :class CutLineAction extends MoeAbstractAction
Inner Class :class CutEndOfLineAction extends MoeAbstractAction
Inner Class :class CutWordAction extends MoeAbstractAction
Inner Class :class CutEndOfWordAction extends MoeAbstractAction
Inner Class :class FindAction extends MoeAbstractAction
Inner Class :class FindNextAction extends MoeAbstractAction
Inner Class :class FindNextBackwardAction extends MoeAbstractAction
Inner Class :class ReplaceAction extends MoeAbstractAction
Inner Class :class CompileAction extends MoeAbstractAction
Inner Class :class ToggleInterfaceAction extends MoeAbstractAction
Inner Class :class ToggleBreakPointAction extends MoeAbstractAction
Inner Class :class KeyBindingsAction extends MoeAbstractAction
Inner Class :class PreferencesAction extends MoeAbstractAction
Inner Class :class AboutAction extends MoeAbstractAction
Inner Class :class DescribeKeyAction extends MoeAbstractAction
Inner Class :class HelpMouseAction extends MoeAbstractAction
Inner Class :class ShowManualAction extends MoeAbstractAction
Inner Class :class GoToLineAction extends MoeAbstractAction
Inner Class :interface LineAction
Inner Class :class CommentLineAction implements LineAction
Inner Class :class UncommentLineAction implements LineAction
Inner Class :class IndentLineAction implements LineAction
Inner Class :class DeindentLineAction implements LineAction
Inner Class :class KeyCatcher extends KeyAdapter

Field Summary
public  ActioncompileAction
    
public  RedoActionredoAction
    
public  UndoActionundoAction
    


Method Summary
public  voidaddActionForKeyStroke(KeyStroke key, Action a)
     Add a new key binding into the action table.
public  KeyStroke[]addComponentKeyStrokes(Action action, KeyStroke[] keys)
     BUG WORKAROUND: currently, keymap.getKeyStrokesForAction() misses keystrokes that come from JComponents inputMap.
public  voidaddSelectionToClipboard(JTextComponent textComponent)
     Add the current selection of the text component to the clipboard.
public  ActiongetActionByName(String name)
     Return an action with a given name.
public static  MoeActionsgetActions(JTextComponent textComponent)
     Get the actions object (a singleton) and, at the same time, install the action keymap as the main keymap for the given textComponent..
public  KeyStroke[]getKeyStrokesForAction(Action action)
     Get a keystroke for an action.
public  booleanload()
     Load the key bindings.
public  voidremoveKeyStrokeBinding(KeyStroke key)
     Remove a key binding from the action table.
public  booleansave()
     Save the key bindings.
public  voidsetDefaultKeyBindings()
     Set up the default key bindings.
public  voidsetRedoEnabled(boolean enabled)
    
public  voidsetUndoEnabled(boolean enabled)
    
public  voidtextInsertAction(DocumentEvent evt, JTextComponent textPane)
     Called at every insertion of text into the document.
public  voiduserAction()
     Called to inform that any one of the user actions (text edit or caret move) was executed.

Field Detail
compileAction
public Action compileAction(Code)



redoAction
public RedoAction redoAction(Code)



undoAction
public UndoAction undoAction(Code)





Method Detail
addActionForKeyStroke
public void addActionForKeyStroke(KeyStroke key, Action a)(Code)
Add a new key binding into the action table.



addComponentKeyStrokes
public KeyStroke[] addComponentKeyStrokes(Action action, KeyStroke[] keys)(Code)
BUG WORKAROUND: currently, keymap.getKeyStrokesForAction() misses keystrokes that come from JComponents inputMap. Here, we add those ourselves...



addSelectionToClipboard
public void addSelectionToClipboard(JTextComponent textComponent)(Code)
Add the current selection of the text component to the clipboard.



getActionByName
public Action getActionByName(String name)(Code)
Return an action with a given name.



getActions
public static MoeActions getActions(JTextComponent textComponent)(Code)
Get the actions object (a singleton) and, at the same time, install the action keymap as the main keymap for the given textComponent..



getKeyStrokesForAction
public KeyStroke[] getKeyStrokesForAction(Action action)(Code)
Get a keystroke for an action. Return null is there is none.



load
public boolean load()(Code)
Load the key bindings. Return true if successful.



removeKeyStrokeBinding
public void removeKeyStrokeBinding(KeyStroke key)(Code)
Remove a key binding from the action table.



save
public boolean save()(Code)
Save the key bindings. Return true if successful.



setDefaultKeyBindings
public void setDefaultKeyBindings()(Code)
Set up the default key bindings. Used for initial setup, or restoring the default later on.



setRedoEnabled
public void setRedoEnabled(boolean enabled)(Code)



setUndoEnabled
public void setUndoEnabled(boolean enabled)(Code)



textInsertAction
public void textInsertAction(DocumentEvent evt, JTextComponent textPane)(Code)
Called at every insertion of text into the document.



userAction
public void userAction()(Code)
Called to inform that any one of the user actions (text edit or caret move) was executed.



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(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.