home *** CD-ROM | disk | FTP | other *** search
/ PC Online 1998 September / PCO_0998.ISO / browser / ns405lyc / nav40.z / jsd10.jar / netscape / jsdebug / SourceTextItem.class (.txt) < prev    next >
Encoding:
Java Class File  |  1998-03-24  |  1.0 KB  |  54 lines

  1. package netscape.jsdebug;
  2.  
  3. public class SourceTextItem {
  4.    public static final int INITED = 0;
  5.    public static final int FULL = 1;
  6.    public static final int PARTIAL = 2;
  7.    public static final int ABORTED = 3;
  8.    public static final int FAILED = 4;
  9.    public static final int CLEARED = 5;
  10.    private String _url;
  11.    private String _text;
  12.    private int _status;
  13.    private boolean _dirty;
  14.  
  15.    public SourceTextItem(String var1) {
  16.       this(var1, (String)null, 0);
  17.    }
  18.  
  19.    public SourceTextItem(String var1, String var2, int var3) {
  20.       this._url = var1;
  21.       this._text = var2;
  22.       this._status = var3;
  23.       this._dirty = true;
  24.    }
  25.  
  26.    public String getURL() {
  27.       return this._url;
  28.    }
  29.  
  30.    public String getText() {
  31.       return this._text;
  32.    }
  33.  
  34.    public int getStatus() {
  35.       return this._status;
  36.    }
  37.  
  38.    public boolean getDirty() {
  39.       return this._dirty;
  40.    }
  41.  
  42.    public void setText(String var1) {
  43.       this._text = var1;
  44.    }
  45.  
  46.    public void setStatus(int var1) {
  47.       this._status = var1;
  48.    }
  49.  
  50.    public void setDirty(boolean var1) {
  51.       this._dirty = var1;
  52.    }
  53. }
  54.