public class

SourceModel

extends AbstractListModel
java.lang.Object
   ↳ javax.swing.AbstractListModel
     ↳ com.sun.tools.example.debug.gui.SourceModel

Class Overview

Represents and manages one source file. Caches source lines. Holds other source file info.

Summary

Nested Classes
class SourceModel.Line  
Fields
public static final SourceModel.Line prototypeCellValue
[Expand]
Inherited Fields
From class javax.swing.AbstractListModel
Public Constructors
SourceModel(String message)
Public Methods
File fileName()
Object getElementAt(int index)
int getSize()
SourceModel.Line line(int lineNo)
List<ReferenceType> referenceTypes()
void showBreakpoint(int ln, boolean hasBreakpoint)
void showExecutable(int ln, ReferenceType refType)
String sourceLine(int lineNo)
BufferedReader sourceReader()
[Expand]
Inherited Methods
From class javax.swing.AbstractListModel
From class java.lang.Object
From interface javax.swing.ListModel

Fields

public static final SourceModel.Line prototypeCellValue

Public Constructors

public SourceModel (String message)

Public Methods

public File fileName ()

public Object getElementAt (int index)

public int getSize ()

public SourceModel.Line line (int lineNo)

public List<ReferenceType> referenceTypes ()

Returns

public void showBreakpoint (int ln, boolean hasBreakpoint)

public void showExecutable (int ln, ReferenceType refType)

public String sourceLine (int lineNo)

public BufferedReader sourceReader ()

Throws
IOException