Package org.gocha.inetools.http

Examples of org.gocha.inetools.http.BasicHttpResponse$Variant


  public void setZoomRect(int left, int top, int right, int bottom) {
    if (!created)
      return;

    Variant[] args = new Variant[4];
    args[0] = new Variant(left);
    args[1] = new Variant(top);
    args[2] = new Variant(right);
    args[3] = new Variant(bottom);

    flashObject.invokeNoReply(DISPID_SETZOOMRECT, args);
  }
View Full Code Here


  public void zoom(int factor) {
    if (!created)
      return;

    Variant[] args = new Variant[1];
    args[0] = new Variant(factor);

    flashObject.invokeNoReply(DISPID_ZOOM, args);
  }
View Full Code Here

  public void pan(int x, int y, int mode) {
    if (!created)
      return;

    Variant[] args = new Variant[3];
    args[0] = new Variant(x);
    args[1] = new Variant(y);
    args[2] = new Variant(mode);

    flashObject.invokeNoReply(DISPID_PAN, args);
  }
View Full Code Here

  public void gotoFrame(int frameNum) {
    if (!created)
      return;

    Variant[] args = new Variant[1];
    args[0] = new Variant(frameNum);

    flashObject.invokeNoReply(DISPID_GOTOFRAME, args);
  }
View Full Code Here

  public int getCurrentFrame() {
    if (!created)
      return 0;

    Variant result = flashObject.invoke(DISPID_CURRENTFRAME);
    return result != null ? result.getInt() : 0;
  }
View Full Code Here

   */
  public boolean isPlaying() {
    if (!created)
      return false;

    Variant result = flashObject.invoke(DISPID_ISPLAYING);
    return result != null ? result.getBoolean() : false;
  }
View Full Code Here

   */
  public int getPercentLoaded() {
    if (!created)
      return 0;

    Variant result = flashObject.invoke(DISPID_PERCENTLOADED);
    return result != null ? result.getInt() : 0;
  }
View Full Code Here

  public boolean isFrameLoaded(int frameNum) {
    if (!created)
      return false;

    Variant[] args = new Variant[1];
    args[0] = new Variant(frameNum);

    Variant result = flashObject.invoke(DISPID_FRAMELOADED, args);
    return (result != null) ? result.getBoolean() : false;
  }
View Full Code Here

  public int getFlashVersion() {
    if (!created)
      return 0;

    Variant result = flashObject.invoke(DISPID_FLASHVERSION);
    return result != null ? result.getInt() : 0;
  }
View Full Code Here

  public void loadMovie(int layer, String url) {
    if (!created)
      return;

    Variant[] args = new Variant[2];
    args[0] = new Variant(layer);
    args[1] = new Variant(url);

    flashObject.invokeNoReply(DISPID_LOADMOVIE, args);
  }
View Full Code Here

TOP

Related Classes of org.gocha.inetools.http.BasicHttpResponse$Variant

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.