Java Doc for ComplexListDataEvent.java in  » IDE-Netbeans » library » org » netbeans » swing » tabcontrol » event » 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 » library » org.netbeans.swing.tabcontrol.event 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


javax.swing.event.ListDataEvent
   org.netbeans.swing.tabcontrol.event.ComplexListDataEvent

All known Subclasses:   org.netbeans.swing.tabcontrol.event.VeryComplexListDataEvent,
ComplexListDataEvent
public class ComplexListDataEvent extends ListDataEvent (Code)
An extension to ListDataEvent which can report data about non-contiguous changes to data. Eventually VeryComplexListDataEvent (which can also report about relocation of items) should be merged into this class; it's currently slightly crufty.
author:
   Tim Boudreau


Field Summary
final public static  intITEMS_ADDED
    
final static  intITEMS_CHANGED
    
final public static  intITEMS_REMOVED
    

Constructor Summary
public  ComplexListDataEvent(Object source, int id, int[] indices, boolean textChanged)
     Creates a new instance of ComplexListDataEvent.
public  ComplexListDataEvent(Object source, int id, int start, int end)
     Passthrough constructor for ListDataEvent.
public  ComplexListDataEvent(Object source, int id, int start, int end, boolean textChanged, boolean compChange)
    
public  ComplexListDataEvent(Object source, int id, int start, int end, boolean textChanged)
     Passthrough constructor for ListDataEvent.

Method Summary
public  TabData[]getAffectedItems()
    
public  int[]getIndices()
     Get the indices which have changed for this event.
public  booleanisTextChanged()
    
public  booleanisUserObjectChanged()
     Does the change event represent a change in components.
public  voidsetAffectedItems(TabData[] td)
    
public  StringtoString()
    

Field Detail
ITEMS_ADDED
final public static int ITEMS_ADDED(Code)
ID for events in which non-contiguous elements have been added



ITEMS_CHANGED
final static int ITEMS_CHANGED(Code)
ID for events in which non-contiguous elements have been added, removed or changed



ITEMS_REMOVED
final public static int ITEMS_REMOVED(Code)
ID for events in which non-contiguous elements have been removed




Constructor Detail
ComplexListDataEvent
public ComplexListDataEvent(Object source, int id, int[] indices, boolean textChanged)(Code)
Creates a new instance of ComplexListDataEvent. The index0 and index1 properties will return -1.
Parameters:
  source - The event source
Parameters:
  id - The type of change
Parameters:
  indices - An array of possibly non-contiguous indices of datawhich has changed
Parameters:
  textChanged - True if the change is one that can affect display(icon width or text changes)



ComplexListDataEvent
public ComplexListDataEvent(Object source, int id, int start, int end)(Code)
Passthrough constructor for ListDataEvent. getIndices() will return null for this event.
Parameters:
  source - The source of the event
Parameters:
  id - The type of change
Parameters:
  start - The start index for the change
Parameters:
  end - The end index for the change



ComplexListDataEvent
public ComplexListDataEvent(Object source, int id, int start, int end, boolean textChanged, boolean compChange)(Code)



ComplexListDataEvent
public ComplexListDataEvent(Object source, int id, int start, int end, boolean textChanged)(Code)
Passthrough constructor for ListDataEvent. getIndices() will return null for this event.
Parameters:
  source - The source of the event
Parameters:
  id - The type of change
Parameters:
  start - The start index of a contiguous change
Parameters:
  end - The end index of a contiguous change
Parameters:
  textChanged - True if the change is one that can affect displaymetrics (text or icon size)




Method Detail
getAffectedItems
public TabData[] getAffectedItems()(Code)



getIndices
public int[] getIndices()(Code)
Get the indices which have changed for this event. The changed indices, or null for contiguous data changes



isTextChanged
public boolean isTextChanged()(Code)
Does the change event represent a change that can affect display metrics True if the change affected text length or icon width



isUserObjectChanged
public boolean isUserObjectChanged()(Code)
Does the change event represent a change in components. This should be true for cases where a component was replaced, added or removed



setAffectedItems
public void setAffectedItems(TabData[] td)(Code)



toString
public String toString()(Code)



Fields inherited from javax.swing.event.ListDataEvent
final public static int CONTENTS_CHANGED(Code)(Java Doc)
final public static int INTERVAL_ADDED(Code)(Java Doc)
final public static int INTERVAL_REMOVED(Code)(Java Doc)

Methods inherited from javax.swing.event.ListDataEvent
public int getIndex0()(Code)(Java Doc)
public int getIndex1()(Code)(Java Doc)
public int getType()(Code)(Java Doc)
public String toString()(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.