本文整理汇总了Java中com.jacob.com.Dispatch.invoke方法的典型用法代码示例。如果您正苦于以下问题:Java Dispatch.invoke方法的具体用法?Java Dispatch.invoke怎么用?Java Dispatch.invoke使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类com.jacob.com.Dispatch
的用法示例。
在下文中一共展示了Dispatch.invoke方法的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: setListValuedField
import com.jacob.com.Dispatch; //导入方法依赖的package包/类
@Override
public void setListValuedField(String fieldName, String fieldValue) {
ActiveXComponent list = createList();
for (String val : QCRequirement.getFieldValues(fieldValue)) {
Dispatch.call(list, "Add", val);
//Dispatch.put(list, "Add", new Integer(1));
}
Dispatch.invoke(this, "Field", Dispatch.Put, new Object[] { fieldName,
list }, new int[2]);
}
示例2: setSeverity
import com.jacob.com.Dispatch; //导入方法依赖的package包/类
public void setSeverity(DefectSeverity severity) {
Dispatch.invoke(this.bug, "Field",4 , new Object[] { "BG_SEVERITY", new Variant(severity.getSeverity()) }, new int[1]);
}
示例3: setDescription
import com.jacob.com.Dispatch; //导入方法依赖的package包/类
public void setDescription(String description)
{
Dispatch.invoke(this.bug, "Field",4 , new Object[] { "BG_DESCRIPTION", new Variant(description) }, new int[1]);
}
示例4: setProject
import com.jacob.com.Dispatch; //导入方法依赖的package包/类
public void setProject(String project)
{
Dispatch.invoke(this.bug, "Field",4 , new Object[] { "BG_PROJECT", new Variant(project) }, new int[1]);
}
示例5: setDetectionDate
import com.jacob.com.Dispatch; //导入方法依赖的package包/类
public void setDetectionDate(String date)
{
Dispatch.invoke(this.bug, "Field",4 , new Object[] { "BG_DETECTION_DATE", new Variant(date) }, new int[1]);
}
示例6: setStepName
import com.jacob.com.Dispatch; //导入方法依赖的package包/类
public void setStepName(String stepName) {
Dispatch.invoke(this.step, "Field",4 , new Object[] { "ST_STEP_NAME", new Variant(stepName) }, new int[1]);
}
示例7: setStatus
import com.jacob.com.Dispatch; //导入方法依赖的package包/类
public void setStatus(StatusAs as)
{
Dispatch.invoke(this.step, "Field",4 , new Object[] { "ST_STATUS", new Variant(as.getStatus()) }, new int[1]);
}
示例8: setDescription
import com.jacob.com.Dispatch; //导入方法依赖的package包/类
public void setDescription(String description)
{
Dispatch.invoke(this.step, "Field",4 , new Object[] { "ST_DESCRIPTION", new Variant(description) }, new int[1]);
}
示例9: setActual
import com.jacob.com.Dispatch; //导入方法依赖的package包/类
public void setActual(String actual)
{
Dispatch.invoke(this.step, "Field",4 , new Object[] { "ST_ACTUAL", new Variant(actual) }, new int[1]);
}
示例10: setExpected
import com.jacob.com.Dispatch; //导入方法依赖的package包/类
public void setExpected(String expected)
{
Dispatch.invoke(this.step, "Field",4 , new Object[] { "ST_EXPECTED", new Variant(expected) }, new int[1]);
}
示例11: setFilter
import com.jacob.com.Dispatch; //导入方法依赖的package包/类
public void setFilter(String field, String value) {
Dispatch.invoke(this, "Filter", 4, new Object[] { field, value },
new int[2]);
}
示例12: setField
import com.jacob.com.Dispatch; //导入方法依赖的package包/类
public void setField(String field, String value) {
Dispatch.invoke(this, "Field", Dispatch.Put, new Object[] { field,
value }, new int[2]);
}