home *** CD-ROM | disk | FTP | other *** search
/ Internet Magazine 2004 January / INTERNET113.ISO / pc / software / windows / building / xmlspy / xmlspyentcomplete2004.exe / Data1.cab / XMLSpyInterface.jar / XMLSpyInterface / SpyAuthenticView.class (.txt) < prev    next >
Encoding:
Java Class File  |  2003-10-14  |  2.6 KB  |  149 lines

  1. package XMLSpyInterface;
  2.  
  3. public class SpyAuthenticView {
  4.    public long m_nAuthenticViewPtr = 0L;
  5.  
  6.    public void ReleaseInstance() {
  7.       this.IReleaseInstance(this.m_nAuthenticViewPtr);
  8.    }
  9.  
  10.    public SpyApplication GetApplication() {
  11.       SpyApplication var1 = null;
  12.       long var2 = this.IGetApplication(this.m_nAuthenticViewPtr);
  13.       if (var2 > 0L) {
  14.          var1 = new SpyApplication();
  15.          var1.m_nApplicationPtr = var2;
  16.       }
  17.  
  18.       return var1;
  19.    }
  20.  
  21.    public SpyDoc GetParent() {
  22.       SpyDoc var1 = null;
  23.       long var2 = this.IGetParent(this.m_nAuthenticViewPtr);
  24.       if (var2 > 0L) {
  25.          var1 = new SpyDoc();
  26.          var1.m_nDocPtr = var2;
  27.       }
  28.  
  29.       return var1;
  30.    }
  31.  
  32.    public SpyAuthenticRange GetSelection() {
  33.       SpyAuthenticRange var1 = null;
  34.       long var2 = this.IGetSelection(this.m_nAuthenticViewPtr);
  35.       if (var2 > 0L) {
  36.          var1 = new SpyAuthenticRange();
  37.          var1.m_nAuthenticRangePtr = var2;
  38.       }
  39.  
  40.       return var1;
  41.    }
  42.  
  43.    public void SetSelection(SpyAuthenticRange var1) {
  44.       this.ISetSelection(var1.m_nAuthenticRangePtr, this.m_nAuthenticViewPtr);
  45.    }
  46.  
  47.    public SpyAuthenticRange GetDocumentBegin() {
  48.       SpyAuthenticRange var1 = null;
  49.       long var2 = this.IGetDocumentBegin(this.m_nAuthenticViewPtr);
  50.       if (var2 > 0L) {
  51.          var1 = new SpyAuthenticRange();
  52.          var1.m_nAuthenticRangePtr = var2;
  53.       }
  54.  
  55.       return var1;
  56.    }
  57.  
  58.    public SpyAuthenticRange GetDocumentEnd() {
  59.       SpyAuthenticRange var1 = null;
  60.       long var2 = this.IGetDocumentEnd(this.m_nAuthenticViewPtr);
  61.       if (var2 > 0L) {
  62.          var1 = new SpyAuthenticRange();
  63.          var1.m_nAuthenticRangePtr = var2;
  64.       }
  65.  
  66.       return var1;
  67.    }
  68.  
  69.    public SpyAuthenticRange GetWholeDocument() {
  70.       SpyAuthenticRange var1 = null;
  71.       long var2 = this.IGetWholeDocument(this.m_nAuthenticViewPtr);
  72.       if (var2 > 0L) {
  73.          var1 = new SpyAuthenticRange();
  74.          var1.m_nAuthenticRangePtr = var2;
  75.       }
  76.  
  77.       return var1;
  78.    }
  79.  
  80.    public long GetMarkupVisibility() {
  81.       return this.IGetMarkupVisibility(this.m_nAuthenticViewPtr);
  82.    }
  83.  
  84.    public void SetMarkupVisibility(long var1) {
  85.       this.ISetMarkupVisibility(var1, this.m_nAuthenticViewPtr);
  86.    }
  87.  
  88.    public SpyAuthenticRange Goto(long var1, long var3, long var5) {
  89.       SpyAuthenticRange var7 = null;
  90.       long var8 = this.IGoto(var1, var3, var5, this.m_nAuthenticViewPtr);
  91.       if (var8 > 0L) {
  92.          var7 = new SpyAuthenticRange();
  93.          var7.m_nAuthenticRangePtr = var8;
  94.       }
  95.  
  96.       return var7;
  97.    }
  98.  
  99.    public void Print(boolean var1, boolean var2) {
  100.       this.IPrint(var1, var2, this.m_nAuthenticViewPtr);
  101.    }
  102.  
  103.    public boolean Undo() {
  104.       return this.IUndo(this.m_nAuthenticViewPtr);
  105.    }
  106.  
  107.    public boolean Redo() {
  108.       return this.IRedo(this.m_nAuthenticViewPtr);
  109.    }
  110.  
  111.    public void UpdateXMLInstanceEntities() {
  112.       this.IUpdateXMLInstanceEntities(this.m_nAuthenticViewPtr);
  113.    }
  114.  
  115.    private native long IGetApplication(long var1);
  116.  
  117.    private native long IGetParent(long var1);
  118.  
  119.    private native long IGetSelection(long var1);
  120.  
  121.    private native void ISetSelection(long var1, long var3);
  122.  
  123.    private native long IGetDocumentBegin(long var1);
  124.  
  125.    private native long IGetDocumentEnd(long var1);
  126.  
  127.    private native long IGetWholeDocument(long var1);
  128.  
  129.    private native long IGetMarkupVisibility(long var1);
  130.  
  131.    private native void ISetMarkupVisibility(long var1, long var3);
  132.  
  133.    private native long IGoto(long var1, long var3, long var5, long var7);
  134.  
  135.    private native void IPrint(boolean var1, boolean var2, long var3);
  136.  
  137.    private native boolean IUndo(long var1);
  138.  
  139.    private native boolean IRedo(long var1);
  140.  
  141.    private native void IUpdateXMLInstanceEntities(long var1);
  142.  
  143.    private native void IReleaseInstance(long var1);
  144.  
  145.    static {
  146.       System.loadLibrary("XmlSpyLib");
  147.    }
  148. }
  149.