Package org.eclipse.swt.ole.win32

Examples of org.eclipse.swt.ole.win32.OleFrame


  public void play(String timeline) {
    if (!created)
      return;

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

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


  public void stopPlay(String timeline) {
    if (!created)
      return;

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

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

  public void setVariable(String name, String value) {
    if (!created)
      return;

    Variant[] args = new Variant[2];
    args[0] = new Variant(name);
    args[1] = new Variant(value);

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

  public String getVariable(String name) {
    if (!created)
      return null;

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

    Variant result = flashObject.invoke(DISPID_GETVARIABLE, args);
    return (result != null) ? result.getString() : "";
  }
View Full Code Here

  public void setProperty(String timeline, int property, String value) {
    if (!created)
      return;

    Variant[] args = new Variant[3];
    args[0] = new Variant(timeline);
    args[1] = new Variant(property);
    args[2] = new Variant(value);

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

  public String getProperty(String timeline, int property) {
    if (!created)
      return null;

    Variant[] args = new Variant[2];
    args[0] = new Variant(timeline);
    args[1] = new Variant(property);

    Variant result = flashObject.invoke(DISPID_TGETPROPERTY, args);
    return (result != null) ? result.getString() : "";
  }
View Full Code Here

  public void callFrame(String timeline, int frameNum) {
    if (!created)
      return;

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

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

  public void callLabel(String timeline, String label) {
    if (!created)
      return;

    Variant[] args = new Variant[2];
    args[0] = new Variant(timeline);
    args[1] = new Variant(label);

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

  public void setPropertyNum(String timeline, int property, double value) {
    if (!created)
      return;

    Variant[] args = new Variant[2];
    args[0] = new Variant(timeline);
    args[1] = new Variant(property);
    args[2] = new Variant((float) value);

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

  public double getPropertyNum(String timeline, int property) {
    if (!created)
      return 0.0;

    Variant[] args = new Variant[2];
    args[0] = new Variant(timeline);
    args[1] = new Variant(property);

    Variant result = flashObject.invoke(DISPID_TGETPROPERTYNUM, args);
    return (result != null) ? result.getFloat() : 0.0;
  }
View Full Code Here

TOP

Related Classes of org.eclipse.swt.ole.win32.OleFrame

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.