home *** CD-ROM | disk | FTP | other *** search
/ Internet Magazine 2002 June / INTERNET92.ISO / pc / software / windows / building / visual_dhtml / visualdhtmlwin2000.exe / OCmsltre.___ (.txt) < prev    next >
Encoding:
Java Class File  |  2001-10-19  |  845 b   |  26 lines

  1. class OCmsltree extends OCmsl {
  2.    OCmsltree(APInfo var1) {
  3.       super.apinfo = var1;
  4.    }
  5.  
  6.    public void initSpecifics() {
  7.       super.max_string_width = 0;
  8.       boolean var2 = false;
  9.       super.num_descrips = super.spe_pv.size();
  10.       super.m_desc = new String[super.num_descrips];
  11.  
  12.       for(int var3 = 0; var3 < super.num_descrips; ++var3) {
  13.          String var1 = ((OCdg)this).getParameterSpecific("subdesc", var3);
  14.          if (var1 != null) {
  15.             super.m_desc[var3] = var1;
  16.             if (super.fm.stringWidth(super.m_desc[var3]) + super.m_xoffset * 2 > super.max_string_width) {
  17.                super.max_string_width = super.fm.stringWidth(super.m_desc[var3]) + super.m_xoffset * 2;
  18.             }
  19.          } else {
  20.             super.m_desc[var3] = " ";
  21.          }
  22.       }
  23.  
  24.    }
  25. }
  26.