Java Doc for ComponentBase.java in  » Science » Cougaar12_4 » org » cougaar » tools » csmart » society » 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 » Science » Cougaar12_4 » org.cougaar.tools.csmart.society 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.cougaar.tools.csmart.core.property.ModifiableConfigurableComponent
   org.cougaar.tools.csmart.society.ComponentBase

All known Subclasses:   org.cougaar.tools.csmart.society.cdata.BaseCDataComponent,  org.cougaar.tools.csmart.society.BinderBase,  org.cougaar.tools.csmart.society.PluginBase,
ComponentBase
public class ComponentBase extends ModifiableConfigurableComponent implements MiscComponent,PropertiesListener(Code)
ComponentBase is the basic implementation for editing & configuring arbitrary component.


Field Summary
final public static  StringPROP_CLASSNAME
    
final public static  StringPROP_CLASSNAME_DESC
    
final public static  StringPROP_PARAM
    
final public static  StringPROP_PRIORITY
    
final public static  StringPROP_PRIORITY_DESC
    
final public static  StringPROP_PRIORITY_DFLT
    
final public static  StringPROP_TYPE
    
final public static  StringPROP_TYPE_DESC
    
protected  Stringclassname
    
protected  StringfolderLabel
    
protected  booleanmodified
    
 PropertyListenermyPropertyListener
    
protected  intnParameters
    
protected  Stringpriority
    
protected  Stringtype
    

Constructor Summary
public  ComponentBase(String name)
    
public  ComponentBase(String name, String classname, String priority)
    
public  ComponentBase(String name, String classname, String priority, String type)
    

Method Summary
public  ComponentDataaddComponentData(ComponentData data)
     Adds this component to the ComponentData structure.
public  PropertyaddParameter(int param)
     Adds a Parameter to this component.
public  PropertyaddParameter(Object param)
    
public  PropertyaddParameter(Property prop)
     Add a parameter that is based on some other property (typically a property of our parent.
public  voidfireModification()
     Set the internal modified flag (returned by isModified) and fire a modification event.
public  StringgetAlibID()
    
protected  StringgetCanonicalType(String type)
    
public  StringgetComponentClassName()
    
public  StringgetComponentType()
     Get the type of this Component, from the property.
public  StringgetFolderLabel()
    
public  StringgetLibID()
    
public  StringgetPriority()
    
public  voidinitProperties()
     Initializes properties for this component; in particular, initializes the property class name.
public  booleanisModified()
     Has this Component been modified, such that a save would do something.
public  ComponentDatamodifyComponentData(ComponentData data)
    
public  voidpropertyAdded(PropertyEvent e)
    
public  voidpropertyRemoved(PropertyEvent e)
    
public  voidsetAlibID(String alibID)
    
public  voidsetComponentType(String type)
     Allow outside users to set the Component type to one of the values in the constants in ComponentData.
public  voidsetLibID(String libID)
    

Field Detail
PROP_CLASSNAME
final public static String PROP_CLASSNAME(Code)
Component Classname Property Definition *



PROP_CLASSNAME_DESC
final public static String PROP_CLASSNAME_DESC(Code)



PROP_PARAM
final public static String PROP_PARAM(Code)



PROP_PRIORITY
final public static String PROP_PRIORITY(Code)



PROP_PRIORITY_DESC
final public static String PROP_PRIORITY_DESC(Code)



PROP_PRIORITY_DFLT
final public static String PROP_PRIORITY_DFLT(Code)



PROP_TYPE
final public static String PROP_TYPE(Code)



PROP_TYPE_DESC
final public static String PROP_TYPE_DESC(Code)



classname
protected String classname(Code)



folderLabel
protected String folderLabel(Code)



modified
protected boolean modified(Code)



myPropertyListener
PropertyListener myPropertyListener(Code)



nParameters
protected int nParameters(Code)



priority
protected String priority(Code)



type
protected String type(Code)




Constructor Detail
ComponentBase
public ComponentBase(String name)(Code)



ComponentBase
public ComponentBase(String name, String classname, String priority)(Code)



ComponentBase
public ComponentBase(String name, String classname, String priority, String type)(Code)




Method Detail
addComponentData
public ComponentData addComponentData(ComponentData data)(Code)
Adds this component to the ComponentData structure.
Parameters:
  data - a ComponentData value



addParameter
public Property addParameter(int param)(Code)
Adds a Parameter to this component.
Parameters:
  param - Unique Integer for this parameter a Property value



addParameter
public Property addParameter(Object param)(Code)
Adds a Parameter to this component
Parameters:
  param - Unique Object for this parameter's value a Property value



addParameter
public Property addParameter(Property prop)(Code)
Add a parameter that is based on some other property (typically a property of our parent.



fireModification
public void fireModification()(Code)
Set the internal modified flag (returned by isModified) and fire a modification event.



getAlibID
public String getAlibID()(Code)



getCanonicalType
protected String getCanonicalType(String type)(Code)



getComponentClassName
public String getComponentClassName()(Code)
Gets the classname for this component a String value



getComponentType
public String getComponentType()(Code)
Get the type of this Component, from the property. a String type from the constants in ComponentData



getFolderLabel
public String getFolderLabel()(Code)



getLibID
public String getLibID()(Code)



getPriority
public String getPriority()(Code)



initProperties
public void initProperties()(Code)
Initializes properties for this component; in particular, initializes the property class name.



isModified
public boolean isModified()(Code)
Has this Component been modified, such that a save would do something. a boolean, false if no save necessary



modifyComponentData
public ComponentData modifyComponentData(ComponentData data)(Code)



propertyAdded
public void propertyAdded(PropertyEvent e)(Code)



propertyRemoved
public void propertyRemoved(PropertyEvent e)(Code)



setAlibID
public void setAlibID(String alibID)(Code)



setComponentType
public void setComponentType(String type)(Code)
Allow outside users to set the Component type to one of the values in the constants in ComponentData.
Parameters:
  type - a String binder type



setLibID
public void setLibID(String libID)(Code)



Fields inherited from org.cougaar.tools.csmart.core.property.ModifiableConfigurableComponent
protected transient boolean editable(Code)(Java Doc)

Methods inherited from org.cougaar.tools.csmart.core.property.ModifiableConfigurableComponent
public void addModificationListener(ModificationListener l)(Code)(Java Doc)
public ModifiableComponent copy(String name)(Code)(Java Doc)
protected void fireModification()(Code)(Java Doc)
protected void fireModification(ModificationEvent event)(Code)(Java Doc)
public boolean isEditable()(Code)(Java Doc)
public void removeModificationListener(ModificationListener l)(Code)(Java Doc)
public void setEditable(boolean editable)(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.