📄 idualtestitf.java
字号:
package org.jawin;
import java.util.Date;
/**
* slightly modified version of a Jawin Type Browser generated stub for
* the interface IDualTest {6EFEB125-55E2-4D6D-A17A-A2F038A647B2}.
* <br><br>
* The CallCOMUnitTestD.dll must be registered with regsvr32 before running
* tests using this interface.
* <br><br>
* Jawin generated code please do not edit
*
* Dispatch: IDualTestItf
* Description: IDualTestItf Interface
* Help file:
*
* @author JawinTypeBrowser
*/
public class IDualTestItf extends DispatchPtr
{
public static GUID DIID = new GUID("{6efeb125-55e2-4d6d-A17A-A2F038A647B2}");
static public final int iidToken;
static {
iidToken = IdentityManager.registerProxy(DIID, IDualTestItf.class);
}
public IDualTestItf() throws COMException
{
super();
}
public IDualTestItf(String progid) throws COMException { super(progid, DIID);}
public IDualTestItf(COMPtr comObject) throws COMException { super(comObject);}
public IDualTestItf(GUID ClsID) throws COMException { super(ClsID, DIID);}
public int getIIDToken() {
return iidToken;
}
/**
*
* @return short
**/
public short getpropShort() throws COMException
{
return ((Short)get("propShort")).shortValue();
}
/**
*
* @param propShort
**/
public void setpropShort(short propShort) throws COMException
{
put("propShort", propShort);
}
/**
*
* @return int
**/
public int getpropBool() throws COMException
{
return ((Integer)get("propBool")).intValue();
}
/**
*
* @param propBool
**/
public void setpropBool(int propBool) throws COMException
{
put("propBool", propBool);
}
/**
*
* @return String
**/
public String getpropBSTR() throws COMException
{
return (String)get("propBSTR");
}
/**
*
* @param propBSTR
**/
public void setpropBSTR(String propBSTR) throws COMException
{
put("propBSTR", propBSTR);
}
/**
*
* @return Date
**/
public Date getpropDate() throws COMException
{
return (Date)get("propDate");
}
/**
*
* @param propDate
**/
public void setpropDate(Date propDate) throws COMException
{
put("propDate", propDate);
}
/**
*
* @return double
**/
public double getpropDouble() throws COMException
{
return ((Double)get("propDouble")).doubleValue();
}
/**
*
* @param propDouble
**/
public void setpropDouble(double propDouble) throws COMException
{
put("propDouble", propDouble);
}
/**
*
* @return float
**/
public float getpropFloat() throws COMException
{
return ((Float)get("propFloat")).floatValue();
}
/**
*
* @param propFloat
**/
public void setpropFloat(float propFloat) throws COMException
{
put("propFloat", propFloat);
}
/**
*
* @param set
* @return String
**/
public String concat(Object[] set) throws COMException
{
return (String)invokeN("concat", new Object[] {set});
}
/**
*
* @param set
* @return void
**/
public void greatExpectations(Object[] set) throws COMException
{
invokeN("greatExpectations", new Object[] {set});
}
/**
*
* @param set
* @return int
**/
public int sumInts(int[] set) throws COMException
{
return ((Integer)invokeN("sumInts", new Object[] {set})).intValue();
}
/**
*
* @param set
* @return short
**/
public short sumShorts(short[] set) throws COMException
{
return ((Short)invokeN("sumShorts", new Object[] {set})).shortValue();
}
/**
*
* @param set
* @return int
**/
public int countTrues(boolean[] set) throws COMException
{
return ((Integer)invokeN("countTrues", new Object[] {set})).intValue();
}
/**
*
* @return short
**/
public short getpropShortIndexed(short index) throws COMException
{
return ((Short)get("propShortIndexed", new Short(index))).shortValue();
}
/**
*
* @param propShortIndexed
**/
public void setpropShortIndexed(short index,short newValue2) throws COMException
{
put("propShortIndexed", new Short(index), newValue2);
}
/**
*
* @return Variant
**/
public Variant getpropVariantArray() throws COMException
{
return (Variant)get("propVariantArray");
}
/**
*
* @param propVariantArray
**/
public void setpropVariantArray(Variant propVariantArray) throws COMException
{
put("propVariantArray", propVariantArray);
}
/**
*
* @return String
**/
public String getpropBSTRIntIndexed(String string,int number) throws COMException
{
return (String)getN("propBSTRIntIndexed", new Object[] {string,new Integer(number)});
}
/**
*
* @param propBSTRIntIndexed
**/
public void setpropBSTRIntIndexed(String string,int number,String newValue3) throws COMException
{
putN("propBSTRIntIndexed", new Object[] {string, new Integer(number)} , newValue3);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -