Java Doc for FieldBreakpoint.java in  » IDE-Netbeans » ant » org » netbeans » api » debugger » jpda » 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 » ant » org.netbeans.api.debugger.jpda 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.netbeans.api.debugger.Breakpoint
      org.netbeans.api.debugger.jpda.JPDABreakpoint
         org.netbeans.api.debugger.jpda.FieldBreakpoint

FieldBreakpoint
public class FieldBreakpoint extends JPDABreakpoint (Code)
Notifies about variable change or access events.

How to use it:
 DebuggerManager.addBreakpoint (FieldBreakpoint.create (
 "org.netbeans.modules.editor.EditorPanel",
 "state",
 FieldBreakpoint.TYPE_MODIFICATION
 ));
This breakpoint stops when state field of EditorPanel class is modified.
author:
   Jan Jancura


Field Summary
final public static  StringPROP_BREAKPOINT_TYPE
     Property name constant.
final public static  StringPROP_CLASS_NAME
     Property name constant.
final public static  StringPROP_CONDITION
     Property name constant.
final public static  StringPROP_FIELD_NAME
     Property name constant.
final public static  StringPROP_INSTANCE_FILTERS
    
final public static  StringPROP_THREAD_FILTERS
    
final public static  intTYPE_ACCESS
     Property type value constant.
final public static  intTYPE_MODIFICATION
     Property type value constant.


Method Summary
public static  FieldBreakpointcreate(String className, String fieldName, int breakpointType)
     Creates a new breakpoint for given parameters.
public  intgetBreakpointType()
     Returns type of breakpoint (one of TYPE_ACCESS and TYPE_MODIFICATION).
public  StringgetClassName()
     Get name of class the field is defined in.
public  StringgetCondition()
     Returns condition.
public  StringgetFieldName()
     Returns name of field.
public  ObjectVariable[]getInstanceFilters(JPDADebugger session)
     Get the instance filter for a specific debugger session.
public  JPDAThread[]getThreadFilters(JPDADebugger session)
     Get the thread filter for a specific debugger session.
public  voidsetBreakpointType(int type)
     Sets type of breakpoint.
public  voidsetClassName(String className)
     Set name of class the field is defined in.
public  voidsetCondition(String cond)
     Sets condition.
public  voidsetFieldName(String name)
     Sets name of field.
public  voidsetInstanceFilters(JPDADebugger session, ObjectVariable[] instances)
     Set the instance filter for a specific debugger session.
public  voidsetThreadFilters(JPDADebugger session, JPDAThread[] threads)
     Set the thread filter for a specific debugger session.
public  StringtoString()
     Returns a string representation of this object.

Field Detail
PROP_BREAKPOINT_TYPE
final public static String PROP_BREAKPOINT_TYPE(Code)
Property name constant.



PROP_CLASS_NAME
final public static String PROP_CLASS_NAME(Code)
Property name constant.



PROP_CONDITION
final public static String PROP_CONDITION(Code)
Property name constant.



PROP_FIELD_NAME
final public static String PROP_FIELD_NAME(Code)
Property name constant.



PROP_INSTANCE_FILTERS
final public static String PROP_INSTANCE_FILTERS(Code)
Property name constant



PROP_THREAD_FILTERS
final public static String PROP_THREAD_FILTERS(Code)
Property name constant



TYPE_ACCESS
final public static int TYPE_ACCESS(Code)
Property type value constant.



TYPE_MODIFICATION
final public static int TYPE_MODIFICATION(Code)
Property type value constant.





Method Detail
create
public static FieldBreakpoint create(String className, String fieldName, int breakpointType)(Code)
Creates a new breakpoint for given parameters.
Parameters:
  className - class name
Parameters:
  fieldName - name of field
Parameters:
  breakpointType - one of constants: TYPE_ACCESS, TYPE_MODIFICATION a new breakpoint for given parameters



getBreakpointType
public int getBreakpointType()(Code)
Returns type of breakpoint (one of TYPE_ACCESS and TYPE_MODIFICATION). type of breakpoint



getClassName
public String getClassName()(Code)
Get name of class the field is defined in. the name of class the field is defined in



getCondition
public String getCondition()(Code)
Returns condition. cond a condition



getFieldName
public String getFieldName()(Code)
Returns name of field. a name of field



getInstanceFilters
public ObjectVariable[] getInstanceFilters(JPDADebugger session)(Code)
Get the instance filter for a specific debugger session. The instances or null when there is no instance restriction.



getThreadFilters
public JPDAThread[] getThreadFilters(JPDADebugger session)(Code)
Get the thread filter for a specific debugger session. The thread or null when there is no thread restriction.



setBreakpointType
public void setBreakpointType(int type)(Code)
Sets type of breakpoint.
Parameters:
  type - a new type of breakpoint



setClassName
public void setClassName(String className)(Code)
Set name of class the field is defined in.
Parameters:
  className - a new name of class the field is defined in



setCondition
public void setCondition(String cond)(Code)
Sets condition.
Parameters:
  cond - a c new condition



setFieldName
public void setFieldName(String name)(Code)
Sets name of field.
Parameters:
  name - a name of field



setInstanceFilters
public void setInstanceFilters(JPDADebugger session, ObjectVariable[] instances)(Code)
Set the instance filter for a specific debugger session. This restricts the breakpoint to specific instances in that session.
Parameters:
  session - the debugger session
Parameters:
  instances - the object instances or null to unset the filter.



setThreadFilters
public void setThreadFilters(JPDADebugger session, JPDAThread[] threads)(Code)
Set the thread filter for a specific debugger session. This restricts the breakpoint to specific threads in that session.
Parameters:
  session - the debugger session
Parameters:
  threads - the threads or null to unset the filter.



toString
public String toString()(Code)
Returns a string representation of this object. a string representation of the object



Fields inherited from org.netbeans.api.debugger.jpda.JPDABreakpoint
final public static String PROP_HIDDEN(Code)(Java Doc)
final public static String PROP_PRINT_TEXT(Code)(Java Doc)
final public static String PROP_SUSPEND(Code)(Java Doc)
final public static int SUSPEND_ALL(Code)(Java Doc)
final public static int SUSPEND_EVENT_THREAD(Code)(Java Doc)
final public static int SUSPEND_NONE(Code)(Java Doc)

Methods inherited from org.netbeans.api.debugger.jpda.JPDABreakpoint
public synchronized void addJPDABreakpointListener(JPDABreakpointListener listener)(Code)(Java Doc)
public void disable()(Code)(Java Doc)
public void enable()(Code)(Java Doc)
void fireJPDABreakpointChange(JPDABreakpointEvent event)(Code)(Java Doc)
public String getPrintText()(Code)(Java Doc)
public int getSuspend()(Code)(Java Doc)
public boolean isEnabled()(Code)(Java Doc)
public boolean isHidden()(Code)(Java Doc)
public synchronized void removeJPDABreakpointListener(JPDABreakpointListener listener)(Code)(Java Doc)
public void setHidden(boolean h)(Code)(Java Doc)
public void setPrintText(String printText)(Code)(Java Doc)
public void setSuspend(int s)(Code)(Java Doc)

Fields inherited from org.netbeans.api.debugger.Breakpoint
final public static String PROP_DISPOSED(Code)(Java Doc)
final public static String PROP_ENABLED(Code)(Java Doc)
final public static String PROP_GROUP_NAME(Code)(Java Doc)
final public static String PROP_HIT_COUNT_FILTER(Code)(Java Doc)
final public static String PROP_VALIDITY(Code)(Java Doc)

Methods inherited from org.netbeans.api.debugger.Breakpoint
public synchronized void addPropertyChangeListener(PropertyChangeListener listener)(Code)(Java Doc)
public void addPropertyChangeListener(String propertyName, PropertyChangeListener l)(Code)(Java Doc)
abstract public void disable()(Code)(Java Doc)
protected void dispose()(Code)(Java Doc)
abstract public void enable()(Code)(Java Doc)
protected void firePropertyChange(String name, Object o, Object n)(Code)(Java Doc)
public String getGroupName()(Code)(Java Doc)
final public synchronized int getHitCountFilter()(Code)(Java Doc)
final public synchronized HIT_COUNT_FILTERING_STYLE getHitCountFilteringStyle()(Code)(Java Doc)
final public synchronized VALIDITY getValidity()(Code)(Java Doc)
final public synchronized String getValidityMessage()(Code)(Java Doc)
abstract public boolean isEnabled()(Code)(Java Doc)
public synchronized void removePropertyChangeListener(PropertyChangeListener listener)(Code)(Java Doc)
public void removePropertyChangeListener(String propertyName, PropertyChangeListener l)(Code)(Java Doc)
public void setGroupName(String newGroupName)(Code)(Java Doc)
final public void setHitCountFilter(int hitCountFilter, HIT_COUNT_FILTERING_STYLE hitCountFilteringStyle)(Code)(Java Doc)
final protected void setValidity(VALIDITY validity, String reason)(Code)(Java Doc)

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.