Java Doc for LiveFlatProfileCollectorPanel.java in  » IDE-Netbeans » cvsclient » org » netbeans » lib » profiler » ui » cpu » 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 » cvsclient » org.netbeans.lib.profiler.ui.cpu 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.netbeans.lib.profiler.ui.cpu.CPUResultsPanel
   org.netbeans.lib.profiler.ui.cpu.FlatProfilePanel
      org.netbeans.lib.profiler.ui.cpu.LiveFlatProfileCollectorPanel

LiveFlatProfileCollectorPanel
public class LiveFlatProfileCollectorPanel extends FlatProfilePanel implements LiveResultsPanel(Code)

author:
   Jaroslav Bachorik



Constructor Summary
public  LiveFlatProfileCollectorPanel(TargetAppRunner runner, CPUResUserActionsHandler actionsHandler, CPUSelectionHandler selectionHandler)
    

Method Summary
protected  JPopupMenucreatePopupMenu()
    
public  booleanfitsVisibleArea()
    
protected  String[]getMethodClassNameAndSig(int methodId, int currentView)
    
 StringgetSelectedRowString()
    
public  BufferedImagegetViewImage(boolean onlyVisibleArea)
    
public  StringgetViewName()
    
public  voidhandleRemove()
    
public  voidhandleShutdown()
     Called when auto refresh is on and profiling session will finish to give the panel chance to do some cleanup before asynchrounous call to updateLiveResults() will happen.
public  booleanhasData()
    
public  booleanhasView()
    
protected  voidobtainResults()
    
public  voidprepareResults()
    
public  voidsetDataToDisplay(FlatProfileContainer fpc)
     This method is supposed to be used for displaying data in live update mode.
 voidsetSelectedRowString(String rowString)
    
protected  voidshowReverseCallGraph(int threadId, int methodId, int currentView, int sortingColumn, boolean sortingOrder)
    
public  booleansupports(int instrumentationType)
    
protected  booleansupportsReverseCallGraph()
    
protected  booleansupportsSubtreeCallGraph()
    
public  voidupdateLiveResults()
    


Constructor Detail
LiveFlatProfileCollectorPanel
public LiveFlatProfileCollectorPanel(TargetAppRunner runner, CPUResUserActionsHandler actionsHandler, CPUSelectionHandler selectionHandler)(Code)




Method Detail
createPopupMenu
protected JPopupMenu createPopupMenu()(Code)



fitsVisibleArea
public boolean fitsVisibleArea()(Code)



getMethodClassNameAndSig
protected String[] getMethodClassNameAndSig(int methodId, int currentView)(Code)



getSelectedRowString
String getSelectedRowString()(Code)



getViewImage
public BufferedImage getViewImage(boolean onlyVisibleArea)(Code)



getViewName
public String getViewName()(Code)



handleRemove
public void handleRemove()(Code)



handleShutdown
public void handleShutdown()(Code)
Called when auto refresh is on and profiling session will finish to give the panel chance to do some cleanup before asynchrounous call to updateLiveResults() will happen. Currently it closes the context menu if open, which would otherwise block updating the results.



hasData
public boolean hasData()(Code)



hasView
public boolean hasView()(Code)



obtainResults
protected void obtainResults()(Code)



prepareResults
public void prepareResults()(Code)



setDataToDisplay
public void setDataToDisplay(FlatProfileContainer fpc)(Code)
This method is supposed to be used for displaying data in live update mode. The data is initialized using a "lightweight" flat profile container, not backed by the snapshot, that does not allow any operations listed above, i.e. switching views, obtaining reverse call graph, and going to method's source.



setSelectedRowString
void setSelectedRowString(String rowString)(Code)



showReverseCallGraph
protected void showReverseCallGraph(int threadId, int methodId, int currentView, int sortingColumn, boolean sortingOrder)(Code)
Default implementation throwing IllegalStateException, needs to be overriden by classes that do support showReverseCallGraph



supports
public boolean supports(int instrumentationType)(Code)



supportsReverseCallGraph
protected boolean supportsReverseCallGraph()(Code)



supportsSubtreeCallGraph
protected boolean supportsSubtreeCallGraph()(Code)



updateLiveResults
public void updateLiveResults()(Code)



Fields inherited from org.netbeans.lib.profiler.ui.cpu.FlatProfilePanel
protected CustomBarCellRenderer barRenderer(Code)(Java Doc)
protected boolean collectingTwoTimeStamps(Code)(Java Doc)
protected FilterComponent filterComponent(Code)(Java Doc)
protected String filterString(Code)(Java Doc)
protected int filterType(Code)(Java Doc)
protected FlatProfileContainer flatProfileContainer(Code)(Java Doc)
protected JScrollPane jScrollPane(Code)(Java Doc)
protected JExtendedTable resTable(Code)(Java Doc)
protected ExtendedTableModel resTableModel(Code)(Java Doc)
protected int sortBy(Code)(Java Doc)
protected boolean sortOrder(Code)(Java Doc)
protected int threadId(Code)(Java Doc)
protected double valueFilterValue(Code)(Java Doc)

Methods inherited from org.netbeans.lib.profiler.ui.cpu.FlatProfilePanel
public void addFilterListener(FilterComponent.FilterListener listener)(Code)(Java Doc)
public void addResultsViewFocusListener(FocusListener listener)(Code)(Java Doc)
public boolean findFirst()(Code)(Java Doc)
public boolean findNext()(Code)(Java Doc)
public boolean findPrevious()(Code)(Java Doc)
public int getCurrentThreadId()(Code)(Java Doc)
public int getFilterType()(Code)(Java Doc)
public String getFilterValue()(Code)(Java Doc)
public String getFindString()(Code)(Java Doc)
public Object getResultsViewReference()(Code)(Java Doc)
protected String getSelectedMethodName()(Code)(Java Doc)
public int getSortBy(int column)(Code)(Java Doc)
public int getSortingColumn()(Code)(Java Doc)
public boolean getSortingOrder()(Code)(Java Doc)
protected void initColumnSelectorItems()(Code)(Java Doc)
protected void initColumnsData()(Code)(Java Doc)
public boolean isFindStringDefined()(Code)(Java Doc)
abstract protected void obtainResults()(Code)(Java Doc)
public void prepareResults()(Code)(Java Doc)
protected void prepareResults(boolean firstTime)(Code)(Java Doc)
public void removeFilterListener(FilterComponent.FilterListener listener)(Code)(Java Doc)
public void removeResultsViewFocusListener(FocusListener listener)(Code)(Java Doc)
public void requestFocus()(Code)(Java Doc)
public void reset()(Code)(Java Doc)
protected void saveColumnsData()(Code)(Java Doc)
public void selectMethod(int methodId)(Code)(Java Doc)
public void selectMethod(String methodName)(Code)(Java Doc)
public void setCPUSelectionHandler(CPUSelectionHandler handler)(Code)(Java Doc)
public void setDefaultSorting()(Code)(Java Doc)
public void setFilterValues(String filterValue, int filterType)(Code)(Java Doc)
public void setFindString(String findString)(Code)(Java Doc)
public void setResultsAvailable(boolean available)(Code)(Java Doc)
public void setSorting(int sColumn, boolean sOrder)(Code)(Java Doc)
protected void updateResults()(Code)(Java Doc)

Fields inherited from org.netbeans.lib.profiler.ui.cpu.CPUResultsPanel
protected CPUResUserActionsHandler actionsHandler(Code)(Java Doc)
protected JPopupMenu callGraphPopupMenu(Code)(Java Doc)
protected int columnCount(Code)(Java Doc)
protected String[] columnNames(Code)(Java Doc)
protected TableCellRenderer[] columnRenderers(Code)(Java Doc)
protected String[] columnToolTips(Code)(Java Doc)
protected int[] columnWidths(Code)(Java Doc)
protected boolean[] columnsVisibility(Code)(Java Doc)
protected JPopupMenu cornerPopup(Code)(Java Doc)
protected int currentView(Code)(Java Doc)
protected int methodId(Code)(Java Doc)
protected JMenuItem popupAddToRoots(Code)(Java Doc)
protected JMenuItem popupFind(Code)(Java Doc)
protected TreePath popupPath(Code)(Java Doc)
protected JMenuItem popupShowReverse(Code)(Java Doc)
protected JMenuItem popupShowSource(Code)(Java Doc)
protected JMenuItem popupShowSubtree(Code)(Java Doc)

Methods inherited from org.netbeans.lib.profiler.ui.cpu.CPUResultsPanel
public void changeView(int view)(Code)(Java Doc)
protected JPopupMenu createPopupMenu()(Code)(Java Doc)
abstract public int getCurrentThreadId()(Code)(Java Doc)
public int getCurrentView()(Code)(Java Doc)
abstract protected String[] getMethodClassNameAndSig(int methodId, int currentView)(Code)(Java Doc)
public JMenuItem getPopupFindItem()(Code)(Java Doc)
abstract protected String getSelectedMethodName()(Code)(Java Doc)
public int getSortingColumn()(Code)(Java Doc)
public boolean getSortingOrder()(Code)(Java Doc)
protected boolean isAddToRootsAvailable()(Code)(Java Doc)
protected boolean isShowSourceAvailable()(Code)(Java Doc)
void menuActionPerformed(ActionEvent evt)(Code)(Java Doc)
protected void performDefaultAction()(Code)(Java Doc)
abstract public void reset()(Code)(Java Doc)
protected void showReverseCallGraph(int threadId, int methodId, int currentView, int sortingColumn, boolean sortingOrder)(Code)(Java Doc)
protected void showSourceForMethod(int methodId)(Code)(Java Doc)
protected void showSourceForMethod(TreePath popupPath)(Code)(Java Doc)
protected void showSubtreeCallGraph(CCTNode node, int currentView, int sortingColumn, boolean sortingOrder)(Code)(Java Doc)
abstract protected boolean supportsReverseCallGraph()(Code)(Java Doc)
abstract protected boolean supportsSubtreeCallGraph()(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.