iaccessible.java
来自「将Excel和Word的类型库都转换过来了」· Java 代码 · 共 180 行
JAVA
180 行
/** * JacobGen generated file --- do not edit * * (http://www.bigatti.it/projects/jacobgen) */package org.nethawker.office11;import com.jacob.com.*;public class IAccessible extends Dispatch { public static final String componentName = "Office.IAccessible"; public IAccessible() { super(componentName); } /** * 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 IAccessible(Dispatch d) { // take over the IDispatch pointer m_pDispatch = d.m_pDispatch; // null out the input's pointer d.m_pDispatch = 0; } public IAccessible(String compName) { super(compName); } public Object getaccParent() { return Dispatch.get(this, "accParent"); } public int getaccChildCount() { return Dispatch.get(this, "accChildCount").toInt(); } public Object getaccChild(Variant lastParam) { return Dispatch.call(this, "accChild", lastParam); } public String getaccName(Variant lastParam) { return Dispatch.call(this, "accName", lastParam).toString(); } public String getaccName() { return Dispatch.get(this, "accName").toString(); } public String getaccValue(Variant lastParam) { return Dispatch.call(this, "accValue", lastParam).toString(); } public String getaccValue() { return Dispatch.get(this, "accValue").toString(); } public String getaccDescription(Variant lastParam) { return Dispatch.call(this, "accDescription", lastParam).toString(); } public String getaccDescription() { return Dispatch.get(this, "accDescription").toString(); } public Variant getaccRole(Variant lastParam) { return Dispatch.call(this, "accRole", lastParam); } public Variant getaccRole() { return Dispatch.get(this, "accRole"); } public Variant getaccState(Variant lastParam) { return Dispatch.call(this, "accState", lastParam); } public Variant getaccState() { return Dispatch.get(this, "accState"); } public String getaccHelp(Variant lastParam) { return Dispatch.call(this, "accHelp", lastParam).toString(); } public String getaccHelp() { return Dispatch.get(this, "accHelp").toString(); } public int getaccHelpTopic(String pszHelpFile, Variant lastParam) { return Dispatch.call(this, "accHelpTopic", pszHelpFile, lastParam).toInt(); } public int getaccHelpTopic(String pszHelpFile) { return Dispatch.call(this, "accHelpTopic", pszHelpFile).toInt(); } public String getaccKeyboardShortcut(Variant lastParam) { return Dispatch.call(this, "accKeyboardShortcut", lastParam).toString(); } public String getaccKeyboardShortcut() { return Dispatch.get(this, "accKeyboardShortcut").toString(); } public Variant getaccFocus() { return Dispatch.get(this, "accFocus"); } public Variant getaccSelection() { return Dispatch.get(this, "accSelection"); } public String getaccDefaultAction(Variant lastParam) { return Dispatch.call(this, "accDefaultAction", lastParam).toString(); } public String getaccDefaultAction() { return Dispatch.get(this, "accDefaultAction").toString(); } public void accSelect(int flagsSelect, Variant lastParam) { Dispatch.call(this, "accSelect", new Variant(flagsSelect), lastParam); } public void accSelect(int flagsSelect) { Dispatch.call(this, "accSelect", new Variant(flagsSelect)); } public void accLocation(int pxLeft, int pyTop, int pcxWidth, int pcyHeight, Variant lastParam) { Dispatch.call(this, "accLocation", new Variant(pxLeft), new Variant(pyTop), new Variant(pcxWidth), new Variant(pcyHeight), lastParam); } public void accLocation(int pxLeft, int pyTop, int pcxWidth, int pcyHeight) { Dispatch.call(this, "accLocation", new Variant(pxLeft), new Variant(pyTop), new Variant(pcxWidth), new Variant(pcyHeight)); } public Variant accNavigate(int navDir, Variant lastParam) { return Dispatch.call(this, "accNavigate", new Variant(navDir), lastParam); } public Variant accNavigate(int navDir) { return Dispatch.call(this, "accNavigate", new Variant(navDir)); } public Variant accHitTest(int xLeft, int lastParam) { return Dispatch.call(this, "accHitTest", new Variant(xLeft), new Variant(lastParam)); } public void accDoDefaultAction(Variant lastParam) { Dispatch.call(this, "accDoDefaultAction", lastParam); } public void accDoDefaultAction() { Dispatch.call(this, "accDoDefaultAction"); } public void setaccName(Variant varChild, String lastParam) { Dispatch.call(this, "accName", varChild, lastParam); } public void setaccName() { Dispatch.call(this, "accName"); } public void setaccValue(Variant varChild, String lastParam) { Dispatch.call(this, "accValue", varChild, lastParam); } public void setaccValue() { Dispatch.call(this, "accValue"); }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?