Java Doc for ItsNatComponent.java in  » Ajax » ItsNat » org » itsnat » comp » 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 » Ajax » ItsNat » org.itsnat.comp 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.itsnat.comp.ItsNatComponent

All known Subclasses:   org.itsnat.feashow.features.components.shared.MyCustomComponentBase,
ItsNatComponent
public interface ItsNatComponent extends ItsNatUserData(Code)
Is the base interface which every ItsNat component implements.

Some components have property change tracking like ItsNatLabel and org.itsnat.comp.html.ItsNatHTMLInputTextFormatted components. If no property is tracked by the component, listeners registered using ItsNatComponent.addPropertyChangeListener(PropertyChangeListener) ItsNatComponent.addPropertyChangeListener(String,PropertyChangeListener) or ItsNatComponent.addVetoableChangeListener(VetoableChangeListener) are never called.


author:
   Jose Maria Arranz Santamaria
See Also:   ItsNatComponentManager.createItsNatComponent(org.w3c.dom.NodeStringorg.itsnat.core.NameValue[])




Method Summary
public  voidaddEventListener(String type, EventListener listener)
     Registers the specified event listener to the component node.
public  voidaddPropertyChangeListener(PropertyChangeListener listener)
     Registers a new property change listener listening for any property change.
public  voidaddPropertyChangeListener(String propertyName, PropertyChangeListener listener)
     Registers a new property change listener listening for the specified property name.
public  voidaddVetoableChangeListener(VetoableChangeListener listener)
     Registers a new vetoable property change listener listening for any property change.
public  voiddisableEventListener(String type)
     Disables the component to receive events of the specified type.
public  voiddispose()
     Disposes this component.
public  voidenableEventListener(String type)
     Enable the component to receive events of the specified type.
public  ObjectgetArtifact(String name)
     Returns the artifact with the specified name.
Parameters:
  name - the artifact name to look for.
public  ObjectgetArtifact(String name, boolean cascade)
     Returns the artifact with the specified name.

If no artifact is found and cascade is true, the method ItsNatDocument.getArtifact(Stringboolean) is called with cascade set to true to continue searching.


Parameters:
  name - the artifact name to look for.
public  ItsNatComponentManagergetItsNatComponentManager()
     Returns the ItsNat component manager parent of this component.
public  ItsNatComponentUIgetItsNatComponentUI()
     Returns the user interface manager of this component.
public  ItsNatDocumentgetItsNatDocument()
     Returns the ItsNat document this document is associated to.
public  NodegetNode()
     Returns the associated DOM node to this component.
public  PropertyChangeListener[]getPropertyChangeListeners()
     Returns all registered listeners listening for any property change.
public  PropertyChangeListener[]getPropertyChangeListeners(String propertyName)
     Returns all registered listeners listening for changes in the specified property.
Parameters:
  propertyName - the property name.
public  VetoableChangeListener[]getVetoableChangeListeners()
     Returns all registered listeners listening for any vetoable property change.
public  booleanhasFocus()
     Informs whether this component has the focus.
public  voidregisterArtifact(String name, Object value)
     Registers an artifact with the specified name.
Parameters:
  name - the artifact name
Parameters:
  value - the artifact.
public  ObjectremoveArtifact(String name)
     Removes the artifact with the specified name.
Parameters:
  name - the artifact name to look for.
public  voidremoveEventListener(String type, EventListener listener)
     Unregisters the specified event listener from the component node.
public  voidremovePropertyChangeListener(PropertyChangeListener listener)
     Removes the specified property change listener listening for any property change.
public  voidremovePropertyChangeListener(String propertyName, PropertyChangeListener listener)
     Removes the specified property change listener listening for the specified property name.
public  voidremoveVetoableChangeListener(VetoableChangeListener listener)
     Removes the specified vetoable property change listener listening for any property change.
public  voidsetEventListenerParams(String type, boolean useCapture, int syncMode, ParamTransport[] extraParams, String preSendCode, long ajaxTimeout)
     Sets the parameters used to fire and receive AJAX events by this component.

All current registered event listeners are affected.


Parameters:
  type - the DOM event type name (click, change etc).
Parameters:
  useCapture - if event capture is enabled.
public  voidsetNode(Node node)
     Changes the associated DOM node (reattachment).



Method Detail
addEventListener
public void addEventListener(String type, EventListener listener)(Code)
Registers the specified event listener to the component node.

The specified event type is automatically enabled (see ItsNatComponent.enableEventListener(String) ).

If this component has a default behavior associated to the specified event type, the listener is executed after this default behavior.

Several listeners may be registered to the same event type.


Parameters:
  type - the event type to listen.
Parameters:
  listener - the listener to be executed.



addPropertyChangeListener
public void addPropertyChangeListener(PropertyChangeListener listener)(Code)
Registers a new property change listener listening for any property change.
Parameters:
  listener - the property change listener to register.



addPropertyChangeListener
public void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)(Code)
Registers a new property change listener listening for the specified property name.
Parameters:
  propertyName - the property name.
Parameters:
  listener - the property change listener to register.



addVetoableChangeListener
public void addVetoableChangeListener(VetoableChangeListener listener)(Code)
Registers a new vetoable property change listener listening for any property change.
Parameters:
  listener - the vetoable property change listener to register.



disableEventListener
public void disableEventListener(String type)(Code)
Disables the component to receive events of the specified type.

No event listener added with ItsNatComponent.addEventListener(String,org.w3c.dom.events.EventListener) is unregistered.


Parameters:
  type - the event type to enable.



dispose
public void dispose()(Code)
Disposes this component. A disposed component can no longer be used.

Typical dispose operations are: disable event listeners and disconnect data and selection models. A component "disposed" should can be garbage collected.


See Also:    #disableEventListener(String).



enableEventListener
public void enableEventListener(String type)(Code)
Enable the component to receive events of the specified type.

If this component has a default behavior associated to the specified type (and is disabled by default) then is enabled.


Parameters:
  type - the event type to enable.
See Also:   ItsNatComponent.addEventListener(String,org.w3c.dom.events.EventListener)



getArtifact
public Object getArtifact(String name)(Code)
Returns the artifact with the specified name.
Parameters:
  name - the artifact name to look for. the artifact or null if not found.
See Also:   ItsNatComponent.registerArtifact(String,Object)
See Also:   ItsNatComponent.getArtifact(String,boolean)



getArtifact
public Object getArtifact(String name, boolean cascade)(Code)
Returns the artifact with the specified name.

If no artifact is found and cascade is true, the method ItsNatDocument.getArtifact(Stringboolean) is called with cascade set to true to continue searching.


Parameters:
  name - the artifact name to look for. the artifact or null if not found.
See Also:   ItsNatComponent.getArtifact(String)



getItsNatComponentManager
public ItsNatComponentManager getItsNatComponentManager()(Code)
Returns the ItsNat component manager parent of this component. the parent ItsNat component manager.



getItsNatComponentUI
public ItsNatComponentUI getItsNatComponentUI()(Code)
Returns the user interface manager of this component. the user interface manager.



getItsNatDocument
public ItsNatDocument getItsNatDocument()(Code)
Returns the ItsNat document this document is associated to. the associated ItsNat document.



getNode
public Node getNode()(Code)
Returns the associated DOM node to this component. the associated DOM node.



getPropertyChangeListeners
public PropertyChangeListener[] getPropertyChangeListeners()(Code)
Returns all registered listeners listening for any property change. a listener array.



getPropertyChangeListeners
public PropertyChangeListener[] getPropertyChangeListeners(String propertyName)(Code)
Returns all registered listeners listening for changes in the specified property.
Parameters:
  propertyName - the property name. a listener array.



getVetoableChangeListeners
public VetoableChangeListener[] getVetoableChangeListeners()(Code)
Returns all registered listeners listening for any vetoable property change. a listener array.



hasFocus
public boolean hasFocus()(Code)
Informs whether this component has the focus.

Returned value is only valid if this component processes "focus" and "blur" events. true if this component has the focus.




registerArtifact
public void registerArtifact(String name, Object value)(Code)
Registers an artifact with the specified name.
Parameters:
  name - the artifact name
Parameters:
  value - the artifact.
See Also:   ItsNatComponent.getArtifact(String)
See Also:   ItsNatComponent.removeArtifact(String)
See Also:   org.itsnat.core.NameValue



removeArtifact
public Object removeArtifact(String name)(Code)
Removes the artifact with the specified name.
Parameters:
  name - the artifact name to look for. the removed artifact.
See Also:   ItsNatComponent.registerArtifact(String,Object)



removeEventListener
public void removeEventListener(String type, EventListener listener)(Code)
Unregisters the specified event listener from the component node.
Parameters:
  type - the event type of the listener to unregister.
Parameters:
  listener - to unregister.



removePropertyChangeListener
public void removePropertyChangeListener(PropertyChangeListener listener)(Code)
Removes the specified property change listener listening for any property change.
Parameters:
  listener - the property change listener to unregister.



removePropertyChangeListener
public void removePropertyChangeListener(String propertyName, PropertyChangeListener listener)(Code)
Removes the specified property change listener listening for the specified property name.
Parameters:
  propertyName - the property name.
Parameters:
  listener - the property change listener to unregister.



removeVetoableChangeListener
public void removeVetoableChangeListener(VetoableChangeListener listener)(Code)
Removes the specified vetoable property change listener listening for any property change.
Parameters:
  listener - the vetoable property change listener to unregister.



setEventListenerParams
public void setEventListenerParams(String type, boolean useCapture, int syncMode, ParamTransport[] extraParams, String preSendCode, long ajaxTimeout)(Code)
Sets the parameters used to fire and receive AJAX events by this component.

All current registered event listeners are affected.


Parameters:
  type - the DOM event type name (click, change etc).
Parameters:
  useCapture - if event capture is enabled. False is the most portable value (MSIE v6 does not support event capture).
Parameters:
  syncMode - synchronization mode.
Parameters:
  extraParams - optional client to server data transport and synchronization rules. May be null.
Parameters:
  preSendCode - custom JavaScript code to execute before an event of this listener type is fired. May be null.
Parameters:
  ajaxTimeout - the timeout of AJAX events. If negative no timeout is defined.
See Also:   org.itsnat.core.ItsNatDocument.addEventListener(org.w3c.dom.events.EventTargetStringorg.w3c.dom.events.EventListenerbooleanintorg.itsnat.core.event.ParamTransport[]Stringlong)



setNode
public void setNode(Node node)(Code)
Changes the associated DOM node (reattachment).
Parameters:
  node - the new DOM node.



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