Java Doc for AbstractModel.java in  » IDE-Netbeans » xml » org » netbeans » modules » xml » xam » 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 Netbeans » xml » org.netbeans.modules.xml.xam 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.netbeans.modules.xml.xam.AbstractModel

AbstractModel
abstract public class AbstractModel implements Model<T>,UndoableEditListener(Code)

author:
   Chris Webster
author:
   Rico
author:
   Nam Nguyen

Inner Class :protected class ModelUndoableEditSupport extends UndoableEditSupport
Inner Class :protected class ModelUndoableEdit extends CompoundEdit

Field Summary
protected  ModelUndoableEditSupportues
    

Constructor Summary
public  AbstractModel(ModelSource source)
    

Method Summary
public  voidaddComponentListener(ComponentListener cl)
    
public  voidaddPropertyChangeListener(java.beans.PropertyChangeListener pcl)
     Add property change listener which will receive events for any element in the underlying schema model.
public  voidaddUndoableEditListener(javax.swing.event.UndoableEditListener uel)
    
public synchronized  voidaddUndoableRefactorListener(javax.swing.event.UndoableEditListener uel)
    
protected  CompoundEditcreateModelUndoableEdit()
    
public synchronized  voidendTransaction()
    
protected synchronized  voidendTransaction(boolean quiet)
    
protected synchronized  voidfinishTransaction()
    
public  voidfireComponentChangedEvent(ComponentEvent evt)
    
public  voidfirePropertyChangeEvent(PropertyChangeEvent event)
    
abstract public  ModelAccessgetAccess()
    
 EventListenerListgetComponentListenerList()
    
public  ModelSourcegetModelSource()
    
public  StategetState()
    
public  booleaninSync()
    
public  booleaninUndoRedo()
    
public  booleanisAutoSyncActive()
    
public  booleanisIntransaction()
    
protected  booleanneedsSync()
     This method is overridden by subclasses to determine if sync needs to be performed.
protected  voidrefresh()
     Refresh the domain model component trees.
public  voidremoveComponentListener(ComponentListener cl)
    
public  voidremovePropertyChangeListener(java.beans.PropertyChangeListener pcl)
    
public  voidremoveUndoableEditListener(javax.swing.event.UndoableEditListener uel)
    
public synchronized  voidremoveUndoableRefactorListener(javax.swing.event.UndoableEditListener uel)
    
public synchronized  voidrollbackTransaction()
    
 voidrunAutoSync()
    
public  voidsetAutoSyncActive(boolean v)
    
protected  voidsetInSync(boolean v)
    
protected  voidsetInUndoRedo(boolean v)
    
protected  voidsetState(State s)
    
public  booleanstartTransaction()
    
public  booleanstartedFiringEvents()
     Whether the model has started firing events.
public synchronized  voidsync()
    
protected  voidsyncCompleted()
     This method is invoked when sync has completed.
protected  voidsyncStarted()
     This method is invoked when sync has started.
protected  voidtransactionCompleted()
     This method is invoked when a transaction has completed.
protected  voidtransactionStarted()
     This template method is invoked when a transaction is started.
public  voidundoableEditHappened(UndoableEditEvent e)
    
public synchronized  voidvalidateWrite()
     This method ensures that a transaction is currently in progress and that the current thread is able to write.

Field Detail
ues
protected ModelUndoableEditSupport ues(Code)




Constructor Detail
AbstractModel
public AbstractModel(ModelSource source)(Code)




Method Detail
addComponentListener
public void addComponentListener(ComponentListener cl)(Code)



addPropertyChangeListener
public void addPropertyChangeListener(java.beans.PropertyChangeListener pcl)(Code)
Add property change listener which will receive events for any element in the underlying schema model.



addUndoableEditListener
public void addUndoableEditListener(javax.swing.event.UndoableEditListener uel)(Code)



addUndoableRefactorListener
public synchronized void addUndoableRefactorListener(javax.swing.event.UndoableEditListener uel)(Code)



createModelUndoableEdit
protected CompoundEdit createModelUndoableEdit()(Code)



endTransaction
public synchronized void endTransaction()(Code)



endTransaction
protected synchronized void endTransaction(boolean quiet)(Code)



finishTransaction
protected synchronized void finishTransaction()(Code)



fireComponentChangedEvent
public void fireComponentChangedEvent(ComponentEvent evt)(Code)



firePropertyChangeEvent
public void firePropertyChangeEvent(PropertyChangeEvent event)(Code)



getAccess
abstract public ModelAccess getAccess()(Code)



getComponentListenerList
EventListenerList getComponentListenerList()(Code)



getModelSource
public ModelSource getModelSource()(Code)



getState
public State getState()(Code)



inSync
public boolean inSync()(Code)



inUndoRedo
public boolean inUndoRedo()(Code)



isAutoSyncActive
public boolean isAutoSyncActive()(Code)



isIntransaction
public boolean isIntransaction()(Code)



needsSync
protected boolean needsSync()(Code)
This method is overridden by subclasses to determine if sync needs to be performed. The default implementation simply returns true.



refresh
protected void refresh()(Code)
Refresh the domain model component trees. The model state should be VALID as the result of this call. Note: subclasses need to override to provide the actual refresh service.



removeComponentListener
public void removeComponentListener(ComponentListener cl)(Code)



removePropertyChangeListener
public void removePropertyChangeListener(java.beans.PropertyChangeListener pcl)(Code)



removeUndoableEditListener
public void removeUndoableEditListener(javax.swing.event.UndoableEditListener uel)(Code)



removeUndoableRefactorListener
public synchronized void removeUndoableRefactorListener(javax.swing.event.UndoableEditListener uel)(Code)



rollbackTransaction
public synchronized void rollbackTransaction()(Code)



runAutoSync
void runAutoSync()(Code)



setAutoSyncActive
public void setAutoSyncActive(boolean v)(Code)



setInSync
protected void setInSync(boolean v)(Code)



setInUndoRedo
protected void setInUndoRedo(boolean v)(Code)



setState
protected void setState(State s)(Code)



startTransaction
public boolean startTransaction()(Code)



startedFiringEvents
public boolean startedFiringEvents()(Code)
Whether the model has started firing events. This is the indication of beginning of endTransaction call and any subsequent mutations are from handlers of main transaction events or some of their own events.



sync
public synchronized void sync() throws java.io.IOException(Code)



syncCompleted
protected void syncCompleted()(Code)
This method is invoked when sync has completed. The default implementation does nothing.



syncStarted
protected void syncStarted()(Code)
This method is invoked when sync has started. The default implementation does nothing.



transactionCompleted
protected void transactionCompleted()(Code)
This method is invoked when a transaction has completed. The default implementation does nothing.



transactionStarted
protected void transactionStarted()(Code)
This template method is invoked when a transaction is started. The default implementation does nothing.



undoableEditHappened
public void undoableEditHappened(UndoableEditEvent e)(Code)



validateWrite
public synchronized void validateWrite()(Code)
This method ensures that a transaction is currently in progress and that the current thread is able to write.



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.