Package edu.umd.cs.findbugs.gui2
Class MainFrameComponentFactory
- java.lang.Object
-
- edu.umd.cs.findbugs.gui2.MainFrameComponentFactory
-
- All Implemented Interfaces:
java.io.Serializable
public class MainFrameComponentFactory extends java.lang.Object implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MainFrameComponentFactory(MainFrame mainFrame)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.Component
bugSummaryComponent(java.lang.String str, BugInstance bug)
Creates bug summary component.
-
-
-
Constructor Detail
-
MainFrameComponentFactory
public MainFrameComponentFactory(MainFrame mainFrame)
-
-
Method Detail
-
bugSummaryComponent
public java.awt.Component bugSummaryComponent(java.lang.String str, BugInstance bug)
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.
-
-