Java Doc for ObjectAction.java in  » Workflow-Engines » osbl-1_0 » org » osbl » client » action » 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 » Workflow Engines » osbl 1_0 » org.osbl.client.action 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.osbl.client.action.ObjectAction

All known Subclasses:   org.osbl.client.action.AbstractObjectAction,
ObjectAction
public interface ObjectAction extends EventListener(Code)
An ObjectAction is an Action, that can be performed on certain Objects. It is quite similar to Swing Actions, except that the actionPerformed method provides the objects, for which the action was caused. Typical uses are the ObjectDetail, that will call the action for the currently shown object and the ObjectList, that will call the action for selected objects.


Field Summary
final public static  StringACCELERATOR_KEY
     The key used for storing a KeyStroke to be used as the accelerator for the action.
final public static  StringACTION_COMMAND_KEY
     The key used to determine the command String for the ActionEvent that will be created when an Action is going to be notified as the result of residing in a Keymap associated with a JComponent.
final public static  StringDEFAULT
    
final public static  StringLONG_DESCRIPTION
     The key used for storing a longer String description for the action, could be used for context-sensitive help.
final public static  StringMNEMONIC_KEY
     The key used for storing a KeyEvent to be used as the mnemonic for the action.
final public static  StringNAME
     The key used for storing the String name for the action, used for a menu or button.
final public static  StringSHORT_DESCRIPTION
     The key used for storing a short String description for the action, used for tooltip text.
final public static  StringSMALL_ICON
     The key used for storing a small Icon, such as ImageIcon, for the action, used for toolbar buttons.


Method Summary
 voidactionPerformed(ObjectActionEvent event)
    
public  ObjectgetValue(String key)
     Gets one of this object's properties using the associated key.
public  booleanisEnabled()
     Returns the enabled state of the Action.
public  voidputValue(String key, Object value)
     Sets one of this object's properties using the associated key.
public  voidsetEnabled(boolean b)
     Sets the enabled state of the Action.

Field Detail
ACCELERATOR_KEY
final public static String ACCELERATOR_KEY(Code)
The key used for storing a KeyStroke to be used as the accelerator for the action.
since:
   1.3



ACTION_COMMAND_KEY
final public static String ACTION_COMMAND_KEY(Code)
The key used to determine the command String for the ActionEvent that will be created when an Action is going to be notified as the result of residing in a Keymap associated with a JComponent.



DEFAULT
final public static String DEFAULT(Code)



LONG_DESCRIPTION
final public static String LONG_DESCRIPTION(Code)
The key used for storing a longer String description for the action, could be used for context-sensitive help.



MNEMONIC_KEY
final public static String MNEMONIC_KEY(Code)
The key used for storing a KeyEvent to be used as the mnemonic for the action.
since:
   1.3



NAME
final public static String NAME(Code)
The key used for storing the String name for the action, used for a menu or button.



SHORT_DESCRIPTION
final public static String SHORT_DESCRIPTION(Code)
The key used for storing a short String description for the action, used for tooltip text.



SMALL_ICON
final public static String SMALL_ICON(Code)
The key used for storing a small Icon, such as ImageIcon, for the action, used for toolbar buttons.





Method Detail
actionPerformed
void actionPerformed(ObjectActionEvent event)(Code)

Parameters:
  event -



getValue
public Object getValue(String key)(Code)
Gets one of this object's properties using the associated key.
See Also:   ObjectAction.putValue



isEnabled
public boolean isEnabled()(Code)
Returns the enabled state of the Action. When enabled, any component associated with this object is active and able to fire this object's actionPerformed method. true if this Action is enabled



putValue
public void putValue(String key, Object value)(Code)
Sets one of this object's properties using the associated key.
Parameters:
  key - a String containing the key
Parameters:
  value - an Object value



setEnabled
public void setEnabled(boolean b)(Code)
Sets the enabled state of the Action. When enabled, any component associated with this object is active and able to fire this object's actionPerformed method. If the value has changed, a PropertyChangeEvent is sent to listeners.
Parameters:
  b - true to enable this Action, false to disable it



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