Class MainFrameComponentFactory
java.lang.Object
edu.umd.cs.findbugs.gui2.MainFrameComponentFactory
- All Implemented Interfaces:
Serializable
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate classListens for when cursor is over the label and when it is clicked.private static class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) ComponentbugSummaryComponent(BugAnnotation value, BugInstance bug) bugSummaryComponent(String str, BugInstance bug) Creates bug summary component.(package private) JPanelCreates the source code panel, but does not put anything in it.(package private) JPanel(package private) voidprivate voidremoveLink(JComponent component) (package private) voidsetSourceTab(String title, BugInstance bug) Sets the title of the source tabs for either docking or non-docking versions.private voidprivate boolean(package private) JPanel(package private) JSplitPane
-
Field Details
-
LOGGER
-
mainFrame
-
sourceLink
-
listenerAdded
private boolean listenerAdded
-
-
Constructor Details
-
MainFrameComponentFactory
-
-
Method Details
-
statusBar
JPanel statusBar() -
summaryTab
JSplitPane summaryTab() -
setStyleSheets
private void setStyleSheets() -
createSourceCodePanel
JPanel createSourceCodePanel()Creates the source code panel, but does not put anything in it. -
createSourceSearchPanel
JPanel createSourceSearchPanel() -
setSourceTab
Sets the title of the source tabs for either docking or non-docking versions. -
removeLink
-
initializeGUI
void initializeGUI() -
bugSummaryComponent
-
bugSummaryComponent
Creates bug summary component. If obj is a string will create a JLabel with that string as it's text and return it. If obj is an annotation will return a JLabel with the annotation's toString(). If that annotation is a SourceLineAnnotation or has a SourceLineAnnotation connected to it and the source file is available will attach a listener to the label. -
sourceCodeExists
-