Generated basic javadoc for most methods. Still need some help here

Reformatteda all source using eclipse
eliminated parameters with same names as method variagles
repackaged all tests so that their package names match the directories they are in
merged in Jiffie and Variant EventProxy changes
This commit is contained in:
clay_shooter
2005-01-08 17:02:55 +00:00
parent 7b81d761b7
commit 43dce6d42f
30 changed files with 3966 additions and 2402 deletions

View File

@@ -1,50 +1,51 @@
import com.jacob.com.*;
public class Fields extends Dispatch
{
/**
* This constructor is used instead of a case operation to
* turn a Dispatch object into a wider object - it must exist
* in every wrapper class whose instances may be returned from
* method calls wrapped in VT_DISPATCH Variants.
*/
public Fields(Dispatch d)
{
// take over the IDispatch pointer
m_pDispatch = d.m_pDispatch;
// null out the input's pointer
d.m_pDispatch = 0;
}
public int getCount()
{
return Dispatch.get(this, "Count").toInt();
}
public Variant _NewEnum()
{
return Dispatch.call(this, "_NewEnum");
}
public void Refresh()
{
Dispatch.call(this, "Refresh");
}
public Field getItem(int Index)
{
return new Field(Dispatch.call(this, "Item", new Variant(Index)).toDispatch());
}
public void Append(String Name, int Type, int DefinedSize, int Attrib)
{
Dispatch.call(this, "Append", Name, new Variant(Type),
new Variant(DefinedSize), new Variant(Attrib));
}
public void Delete(Variant Index)
{
Dispatch.call(this, "Delete", Index);
}
}
package samples.ado;
import com.jacob.com.*;
public class Fields extends Dispatch
{
/**
* This constructor is used instead of a case operation to
* turn a Dispatch object into a wider object - it must exist
* in every wrapper class whose instances may be returned from
* method calls wrapped in VT_DISPATCH Variants.
*/
public Fields(Dispatch d)
{
// take over the IDispatch pointer
m_pDispatch = d.m_pDispatch;
// null out the input's pointer
d.m_pDispatch = 0;
}
public int getCount()
{
return Dispatch.get(this, "Count").toInt();
}
public Variant _NewEnum()
{
return Dispatch.call(this, "_NewEnum");
}
public void Refresh()
{
Dispatch.call(this, "Refresh");
}
public Field getItem(int Index)
{
return new Field(Dispatch.call(this, "Item", new Variant(Index)).toDispatch());
}
public void Append(String Name, int Type, int DefinedSize, int Attrib)
{
Dispatch.call(this, "Append", Name, new Variant(Type),
new Variant(DefinedSize), new Variant(Attrib));
}
public void Delete(Variant Index)
{
Dispatch.call(this, "Delete", Index);
}
}