home *** CD-ROM | disk | FTP | other *** search
/ Computer Shopper 139 / dpcs0999.iso / Web / CFserver / data1.cab / Java / netscape / application / FontItem.class (.txt) < prev    next >
Encoding:
Java Class File  |  1999-04-12  |  782 b   |  27 lines

  1. package netscape.application;
  2.  
  3. class FontItem extends PopupItem {
  4.    String fontName;
  5.    int tag;
  6.  
  7.    public void setFontName(String var1) {
  8.       this.fontName = var1;
  9.    }
  10.  
  11.    public String fontName() {
  12.       return this.fontName;
  13.    }
  14.  
  15.    public boolean hasFontName(String var1) {
  16.       return var1 == null ? false : var1.equals(this.fontName);
  17.    }
  18.  
  19.    public void setTag(int var1) {
  20.       this.tag = var1;
  21.    }
  22.  
  23.    public int tag() {
  24.       return this.tag;
  25.    }
  26. }
  27.