home *** CD-ROM | disk | FTP | other *** search
/ PC Pro 1999 April / DPPCPRO0499.ISO / April / Notes / 50b2wic.exe / DATA1.CAB / NotesProgramFilesJavaSupport / Notes.jar / lotus / notes / ViewColumn.class (.txt) < prev   
Encoding:
Java Class File  |  1998-11-15  |  2.0 KB  |  88 lines

  1. package lotus.notes;
  2.  
  3. public class ViewColumn extends NotesBase {
  4.    private transient View view;
  5.  
  6.    protected ViewColumn() throws NotesException {
  7.    }
  8.  
  9.    protected ViewColumn(View var1, int var2) throws NotesException {
  10.       super(var2, 15);
  11.       if (var1 == null) {
  12.          throw new NotesException(JavaString.resource.getString("missing_view_object"));
  13.       } else {
  14.          this.view = var1;
  15.          var1.AddColumn(this);
  16.       }
  17.    }
  18.  
  19.    protected void InternalFinalize() throws NotesException {
  20.       super.finalize();
  21.    }
  22.  
  23.    public void finalize() throws NotesException {
  24.       this.view.RemoveColumn(this);
  25.       this.InternalFinalize();
  26.    }
  27.  
  28.    public int GetCppObj() {
  29.       return super.GetCppObj();
  30.    }
  31.  
  32.    public String getTitle() throws NotesException {
  33.       ((NotesBase)this).CheckObject();
  34.       return ((NotesBase)this).PropGetString(1430);
  35.    }
  36.  
  37.    public String toString() {
  38.       String var1;
  39.       try {
  40.          var1 = this.getTitle();
  41.       } catch (Exception var2) {
  42.          var1 = null;
  43.       }
  44.  
  45.       return var1;
  46.    }
  47.  
  48.    public String getItemName() throws NotesException {
  49.       ((NotesBase)this).CheckObject();
  50.       return ((NotesBase)this).PropGetString(1431);
  51.    }
  52.  
  53.    public int getPosition() throws NotesException {
  54.       ((NotesBase)this).CheckObject();
  55.       return ((NotesBase)this).PropGetInt(1432);
  56.    }
  57.  
  58.    public String getFormula() throws NotesException {
  59.       ((NotesBase)this).CheckObject();
  60.       return ((NotesBase)this).PropGetString(1433);
  61.    }
  62.  
  63.    public boolean isSorted() throws NotesException {
  64.       ((NotesBase)this).CheckObject();
  65.       return ((NotesBase)this).PropGetBool(1434);
  66.    }
  67.  
  68.    public boolean isCategory() throws NotesException {
  69.       ((NotesBase)this).CheckObject();
  70.       return ((NotesBase)this).PropGetBool(1435);
  71.    }
  72.  
  73.    public boolean isHidden() throws NotesException {
  74.       ((NotesBase)this).CheckObject();
  75.       return ((NotesBase)this).PropGetBool(1436);
  76.    }
  77.  
  78.    public boolean isResponse() throws NotesException {
  79.       ((NotesBase)this).CheckObject();
  80.       return ((NotesBase)this).PropGetBool(1437);
  81.    }
  82.  
  83.    public int getWidth() throws NotesException {
  84.       ((NotesBase)this).CheckObject();
  85.       return ((NotesBase)this).PropGetInt(1438);
  86.    }
  87. }
  88.