Package abra.utils

Examples of abra.utils.DbSnpSearcher$Variant


  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

    Variant result = oleAutomation.getProperty(dispID);
    return (result != null) ? result.getBoolean() : false;
  }

  public boolean setBooleanProperty(int dispID, boolean value) {
    return oleAutomation.setProperty(dispID, new Variant(value));
  }
View Full Code Here

  public boolean setBooleanProperty(int dispID, boolean value) {
    return oleAutomation.setProperty(dispID, new Variant(value));
  }

  public String getStringProperty(int dispID) {
    Variant result = oleAutomation.getProperty(dispID);
    return (result != null) ? result.getString() : "";
  }
View Full Code Here

    Variant result = oleAutomation.getProperty(dispID);
    return (result != null) ? result.getString() : "";
  }

  public boolean setStringProperty(int dispID, String value) {
    return oleAutomation.setProperty(dispID, new Variant(value));
  }
View Full Code Here

  public boolean setStringProperty(int dispID, String value) {
    return oleAutomation.setProperty(dispID, new Variant(value));
  }

  public float getFloatProperty(int dispID) {
    Variant result = oleAutomation.getProperty(dispID);
    return (result != null) ? result.getFloat() : 0.0f;
  }
View Full Code Here

    Variant result = oleAutomation.getProperty(dispID);
    return (result != null) ? result.getFloat() : 0.0f;
  }

  public boolean setFloatProperty(int dispID, float value) {
    return oleAutomation.setProperty(dispID, new Variant(value));
  }
View Full Code Here

  public boolean setFloatProperty(int dispID, float value) {
    return oleAutomation.setProperty(dispID, new Variant(value));
  }

  public OleAutomation getAutomationProperty(int dispID) {
    Variant result = oleAutomation.getProperty(dispID);
    return (result != null) ? result.getAutomation() : null;
  }
View Full Code Here

    Variant result = oleAutomation.getProperty(dispID);
    return (result != null) ? result.getAutomation() : null;
  }

  public OleObject getObjectProperty(int dispID) {
    Variant result = oleAutomation.getProperty(dispID);
    return (result != null) ? new OleObject(result.getAutomation(), false)
        : null;
  }
View Full Code Here

  public boolean setVariantProperty(String name, Variant propValue) {
    return oleAutomation.setProperty(getDispID(name), propValue);
  }

  public int getIntegerProperty(String name) {
    Variant result = getVariantProperty(name);
    return (result != null) ? result.getInt() : -1;
  }
View Full Code Here

TOP

Related Classes of abra.utils.DbSnpSearcher$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.