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

  1. package lotus.domino.local;
  2.  
  3. import lotus.domino.NotesException;
  4. import lotus.notes.JavaString;
  5.  
  6. public class ViewColumn extends NotesBase implements lotus.domino.ViewColumn {
  7.    private transient View view;
  8.  
  9.    protected ViewColumn() throws NotesException {
  10.    }
  11.  
  12.    protected ViewColumn(View var1, int var2) throws NotesException {
  13.       super(var2, 15);
  14.       if (var1 == null) {
  15.          throw new NotesException(4407, JavaString.resource.getString("missing_view_object"));
  16.       } else {
  17.          this.view = var1;
  18.          var1.AddColumn(this);
  19.       }
  20.    }
  21.  
  22.    public void recycle() throws NotesException {
  23.       try {
  24.          this.view.RemoveColumn(this);
  25.       } catch (NotesException var5) {
  26.       } finally {
  27.          super.Recycle();
  28.       }
  29.  
  30.    }
  31.  
  32.    protected void InternalFinalize() throws NotesException {
  33.       super.finalize();
  34.    }
  35.  
  36.    public void finalize() throws NotesException {
  37.       this.view.RemoveColumn(this);
  38.       this.InternalFinalize();
  39.    }
  40.  
  41.    public String getTitle() throws NotesException {
  42.       ((NotesBase)this).CheckObject();
  43.       return ((NotesBase)this).PropGetString(1430);
  44.    }
  45.  
  46.    public String toString() {
  47.       String var1;
  48.       try {
  49.          var1 = this.getTitle();
  50.       } catch (Exception var2) {
  51.          var1 = null;
  52.       }
  53.  
  54.       return var1;
  55.    }
  56.  
  57.    public String getItemName() throws NotesException {
  58.       ((NotesBase)this).CheckObject();
  59.       return ((NotesBase)this).PropGetString(1431);
  60.    }
  61.  
  62.    public int getPosition() throws NotesException {
  63.       ((NotesBase)this).CheckObject();
  64.       return ((NotesBase)this).PropGetInt(1432);
  65.    }
  66.  
  67.    public String getFormula() throws NotesException {
  68.       ((NotesBase)this).CheckObject();
  69.       return ((NotesBase)this).PropGetString(1433);
  70.    }
  71.  
  72.    public boolean isSorted() throws NotesException {
  73.       ((NotesBase)this).CheckObject();
  74.       return ((NotesBase)this).PropGetBool(1434);
  75.    }
  76.  
  77.    public boolean isCategory() throws NotesException {
  78.       ((NotesBase)this).CheckObject();
  79.       return ((NotesBase)this).PropGetBool(1435);
  80.    }
  81.  
  82.    public boolean isHidden() throws NotesException {
  83.       ((NotesBase)this).CheckObject();
  84.       return ((NotesBase)this).PropGetBool(1436);
  85.    }
  86.  
  87.    public boolean isResponse() throws NotesException {
  88.       ((NotesBase)this).CheckObject();
  89.       return ((NotesBase)this).PropGetBool(1437);
  90.    }
  91.  
  92.    public int getWidth() throws NotesException {
  93.       ((NotesBase)this).CheckObject();
  94.       return ((NotesBase)this).PropGetInt(1438);
  95.    }
  96.  
  97.    public boolean isField() throws NotesException {
  98.       ((NotesBase)this).CheckObject();
  99.       return ((NotesBase)this).PropGetBool(1930);
  100.    }
  101.  
  102.    public boolean isFormula() throws NotesException {
  103.       ((NotesBase)this).CheckObject();
  104.       return ((NotesBase)this).PropGetBool(1931);
  105.    }
  106.  
  107.    public boolean isSortDescending() throws NotesException {
  108.       ((NotesBase)this).CheckObject();
  109.       return ((NotesBase)this).PropGetBool(1884);
  110.    }
  111.  
  112.    public boolean isHideDetail() throws NotesException {
  113.       ((NotesBase)this).CheckObject();
  114.       return ((NotesBase)this).PropGetBool(1885);
  115.    }
  116.  
  117.    public boolean isIcon() throws NotesException {
  118.       ((NotesBase)this).CheckObject();
  119.       return ((NotesBase)this).PropGetBool(1886);
  120.    }
  121.  
  122.    public boolean isResize() throws NotesException {
  123.       ((NotesBase)this).CheckObject();
  124.       return ((NotesBase)this).PropGetBool(1887);
  125.    }
  126.  
  127.    public boolean isResortAscending() throws NotesException {
  128.       ((NotesBase)this).CheckObject();
  129.       return ((NotesBase)this).PropGetBool(1888);
  130.    }
  131.  
  132.    public boolean isResortDescending() throws NotesException {
  133.       ((NotesBase)this).CheckObject();
  134.       return ((NotesBase)this).PropGetBool(1889);
  135.    }
  136.  
  137.    public boolean isShowTwistie() throws NotesException {
  138.       ((NotesBase)this).CheckObject();
  139.       return ((NotesBase)this).PropGetBool(1890);
  140.    }
  141.  
  142.    public boolean isResortToView() throws NotesException {
  143.       ((NotesBase)this).CheckObject();
  144.       return ((NotesBase)this).PropGetBool(1891);
  145.    }
  146.  
  147.    public boolean isSecondaryResort() throws NotesException {
  148.       ((NotesBase)this).CheckObject();
  149.       return ((NotesBase)this).PropGetBool(1892);
  150.    }
  151.  
  152.    public boolean isSecondaryResortDescending() throws NotesException {
  153.       ((NotesBase)this).CheckObject();
  154.       return ((NotesBase)this).PropGetBool(1893);
  155.    }
  156.  
  157.    public boolean isCaseSensitiveSort() throws NotesException {
  158.       ((NotesBase)this).CheckObject();
  159.       return ((NotesBase)this).PropGetBool(1894);
  160.    }
  161.  
  162.    public boolean isAccentSensitiveSort() throws NotesException {
  163.       ((NotesBase)this).CheckObject();
  164.       return ((NotesBase)this).PropGetBool(1895);
  165.    }
  166.  
  167.    public String getFontFace() throws NotesException {
  168.       ((NotesBase)this).CheckObject();
  169.       return ((NotesBase)this).PropGetString(1896);
  170.    }
  171.  
  172.    public int getListSep() throws NotesException {
  173.       ((NotesBase)this).CheckObject();
  174.       return ((NotesBase)this).PropGetInt(1881);
  175.    }
  176.  
  177.    public int getAlignment() throws NotesException {
  178.       ((NotesBase)this).CheckObject();
  179.       return ((NotesBase)this).PropGetInt(1882);
  180.    }
  181.  
  182.    public int getHeaderAlignment() throws NotesException {
  183.       ((NotesBase)this).CheckObject();
  184.       return ((NotesBase)this).PropGetInt(1883);
  185.    }
  186.  
  187.    public int getFontStyle() throws NotesException {
  188.       ((NotesBase)this).CheckObject();
  189.       return ((NotesBase)this).PropGetInt(1897);
  190.    }
  191.  
  192.    public int getFontColor() throws NotesException {
  193.       ((NotesBase)this).CheckObject();
  194.       return ((NotesBase)this).PropGetInt(1898);
  195.    }
  196.  
  197.    public int getFontPointSize() throws NotesException {
  198.       ((NotesBase)this).CheckObject();
  199.       return ((NotesBase)this).PropGetInt(1905);
  200.    }
  201.  
  202.    public int getNumberDigits() throws NotesException {
  203.       ((NotesBase)this).CheckObject();
  204.       return ((NotesBase)this).PropGetInt(1906);
  205.    }
  206.  
  207.    public int getNumberFormat() throws NotesException {
  208.       ((NotesBase)this).CheckObject();
  209.       return ((NotesBase)this).PropGetInt(1907);
  210.    }
  211.  
  212.    public int getNumberAttrib() throws NotesException {
  213.       ((NotesBase)this).CheckObject();
  214.       return ((NotesBase)this).PropGetInt(1908);
  215.    }
  216.  
  217.    public int getDateFmt() throws NotesException {
  218.       ((NotesBase)this).CheckObject();
  219.       return ((NotesBase)this).PropGetInt(1909);
  220.    }
  221.  
  222.    public int getTimeFmt() throws NotesException {
  223.       ((NotesBase)this).CheckObject();
  224.       return ((NotesBase)this).PropGetInt(1910);
  225.    }
  226.  
  227.    public int getTimeZoneFmt() throws NotesException {
  228.       ((NotesBase)this).CheckObject();
  229.       return ((NotesBase)this).PropGetInt(1911);
  230.    }
  231.  
  232.    public int getTimeDateFmt() throws NotesException {
  233.       ((NotesBase)this).CheckObject();
  234.       return ((NotesBase)this).PropGetInt(1912);
  235.    }
  236.  
  237.    public lotus.domino.View getParent() throws NotesException {
  238.       return this.view;
  239.    }
  240. }
  241.