Java Doc for FlatProfilePanel.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

All known Subclasses:   org.netbeans.lib.profiler.ui.cpu.LiveFlatProfileCollectorPanel,  org.netbeans.lib.profiler.ui.cpu.SnapshotFlatProfilePanel,
FlatProfilePanel
abstract public class FlatProfilePanel extends CPUResultsPanel (Code)
A common abstract superclass for Hotspots display containing a flat profile.

The subclasses need to implement these methods: obtainResults () to initialize the data either from snapshot or from live data. getTitle () to provide title for the panel getMethodClassNameAndSig () to map methodId to class/method names supportsReverseCallGraph () to declare if displaying reverse call graph is supported showReverseCallGraph () to display the reverse call graph (utilizing actionsHandler)
author:
   Misha Dmitriev
author:
   Ian Formanek
author:
   Jiri Sedlacek



Field Summary
protected  CustomBarCellRendererbarRenderer
    
protected  booleancollectingTwoTimeStamps
    
protected  FilterComponentfilterComponent
    
protected  StringfilterString
    
protected  intfilterType
    
protected  FlatProfileContainerflatProfileContainer
    
protected  JScrollPanejScrollPane
    
protected  JExtendedTableresTable
    
protected  ExtendedTableModelresTableModel
    
protected  intsortBy
    
protected  booleansortOrder
    
protected  intthreadId
    
protected  doublevalueFilterValue
    

Constructor Summary
public  FlatProfilePanel(CPUResUserActionsHandler actionsHandler)
    
public  FlatProfilePanel(CPUResUserActionsHandler actionsHandler, CPUSelectionHandler selectionHandler)
    

Method Summary
public  voidaddFilterListener(FilterComponent.FilterListener listener)
    
public  voidaddResultsViewFocusListener(FocusListener listener)
    
public  booleanfindFirst()
    
public  booleanfindNext()
    
public  booleanfindPrevious()
    
public  intgetCurrentThreadId()
    
public  intgetFilterType()
    
public  StringgetFilterValue()
    
public  StringgetFindString()
    
public  ObjectgetResultsViewReference()
    
protected  StringgetSelectedMethodName()
    
public  intgetSortBy(int column)
    
public  intgetSortingColumn()
    
public  booleangetSortingOrder()
    
protected  voidinitColumnSelectorItems()
    
protected  voidinitColumnsData()
    
public  booleanisFindStringDefined()
    
abstract protected  voidobtainResults()
    
public  voidprepareResults()
    
protected  voidprepareResults(boolean firstTime)
     If firstTime is true, it means we need to go and get results from the CCT, which means walking the nodes of the CCT and doing some calculations, i.e.
public  voidremoveFilterListener(FilterComponent.FilterListener listener)
    
public  voidremoveResultsViewFocusListener(FocusListener listener)
    
public  voidrequestFocus()
    
public  voidreset()
    
protected  voidsaveColumnsData()
    
public  voidselectMethod(int methodId)
    
public  voidselectMethod(String methodName)
    
public  voidsetCPUSelectionHandler(CPUSelectionHandler handler)
    
public  voidsetDefaultSorting()
    
public  voidsetFilterValues(String filterValue, int filterType)
    
public  voidsetFindString(String findString)
    
public  voidsetResultsAvailable(boolean available)
    
public  voidsetSorting(int sColumn, boolean sOrder)
    
protected  voidupdateResults()
    

Field Detail
barRenderer
protected CustomBarCellRenderer barRenderer(Code)



collectingTwoTimeStamps
protected boolean collectingTwoTimeStamps(Code)



filterComponent
protected FilterComponent filterComponent(Code)



filterString
protected String filterString(Code)



filterType
protected int filterType(Code)



flatProfileContainer
protected FlatProfileContainer flatProfileContainer(Code)



jScrollPane
protected JScrollPane jScrollPane(Code)



resTable
protected JExtendedTable resTable(Code)



resTableModel
protected ExtendedTableModel resTableModel(Code)



sortBy
protected int sortBy(Code)



sortOrder
protected boolean sortOrder(Code)



threadId
protected int threadId(Code)



valueFilterValue
protected double valueFilterValue(Code)




Constructor Detail
FlatProfilePanel
public FlatProfilePanel(CPUResUserActionsHandler actionsHandler)(Code)



FlatProfilePanel
public FlatProfilePanel(CPUResUserActionsHandler actionsHandler, CPUSelectionHandler selectionHandler)(Code)




Method Detail
addFilterListener
public void addFilterListener(FilterComponent.FilterListener listener)(Code)



addResultsViewFocusListener
public void addResultsViewFocusListener(FocusListener listener)(Code)



findFirst
public boolean findFirst()(Code)



findNext
public boolean findNext()(Code)



findPrevious
public boolean findPrevious()(Code)



getCurrentThreadId
public int getCurrentThreadId()(Code)



getFilterType
public int getFilterType()(Code)



getFilterValue
public String getFilterValue()(Code)



getFindString
public String getFindString()(Code)



getResultsViewReference
public Object getResultsViewReference()(Code)



getSelectedMethodName
protected String getSelectedMethodName()(Code)



getSortBy
public int getSortBy(int column)(Code)



getSortingColumn
public int getSortingColumn()(Code)



getSortingOrder
public boolean getSortingOrder()(Code)



initColumnSelectorItems
protected void initColumnSelectorItems()(Code)



initColumnsData
protected void initColumnsData()(Code)



isFindStringDefined
public boolean isFindStringDefined()(Code)



obtainResults
abstract protected void obtainResults()(Code)



prepareResults
public void prepareResults()(Code)



prepareResults
protected void prepareResults(boolean firstTime)(Code)
If firstTime is true, it means we need to go and get results from the CCT, which means walking the nodes of the CCT and doing some calculations, i.e. non-zero cost. Otherwise, we just use the cached results in flatProfileContainer, and sort them by the current sorting criterion.



removeFilterListener
public void removeFilterListener(FilterComponent.FilterListener listener)(Code)



removeResultsViewFocusListener
public void removeResultsViewFocusListener(FocusListener listener)(Code)



requestFocus
public void requestFocus()(Code)



reset
public void reset()(Code)



saveColumnsData
protected void saveColumnsData()(Code)



selectMethod
public void selectMethod(int methodId)(Code)



selectMethod
public void selectMethod(String methodName)(Code)



setCPUSelectionHandler
public void setCPUSelectionHandler(CPUSelectionHandler handler)(Code)



setDefaultSorting
public void setDefaultSorting()(Code)



setFilterValues
public void setFilterValues(String filterValue, int filterType)(Code)



setFindString
public void setFindString(String findString)(Code)



setResultsAvailable
public void setResultsAvailable(boolean available)(Code)



setSorting
public void setSorting(int sColumn, boolean sOrder)(Code)



updateResults
protected void updateResults()(Code)



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.