📄 menuitem.java
字号:
/** * JacobGen generated file --- do not edit * * (http://www.bigatti.it/projects/jacobgen) */package org.nethawker.excel11;import com.jacob.com.*;public class MenuItem extends Dispatch { public static final String componentName = "Excel.MenuItem"; public MenuItem() { 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 MenuItem(Dispatch d) { // take over the IDispatch pointer m_pDispatch = d.m_pDispatch; // null out the input's pointer d.m_pDispatch = 0; } public MenuItem(String compName) { super(compName); } public Application getApplication() { return new Application(Dispatch.get(this, "Application").toDispatch()); } public int getCreator() { return Dispatch.get(this, "Creator").toInt(); } public Dispatch getParent() { return Dispatch.get(this, "Parent").toDispatch(); } public String getCaption() { return Dispatch.get(this, "Caption").toString(); } public void setCaption(String lastParam) { Dispatch.put(this, "Caption", lastParam); } public boolean getChecked() { return Dispatch.get(this, "Checked").toBoolean(); } public void setChecked(boolean lastParam) { Dispatch.put(this, "Checked", new Variant(lastParam)); } public void delete() { Dispatch.call(this, "Delete"); } public boolean getEnabled() { return Dispatch.get(this, "Enabled").toBoolean(); } public void setEnabled(boolean lastParam) { Dispatch.put(this, "Enabled", new Variant(lastParam)); } public int getHelpContextID() { return Dispatch.get(this, "HelpContextID").toInt(); } public void setHelpContextID(int lastParam) { Dispatch.put(this, "HelpContextID", new Variant(lastParam)); } public String getHelpFile() { return Dispatch.get(this, "HelpFile").toString(); } public void setHelpFile(String lastParam) { Dispatch.put(this, "HelpFile", lastParam); } public int getIndex() { return Dispatch.get(this, "Index").toInt(); } public String getOnAction() { return Dispatch.get(this, "OnAction").toString(); } public void setOnAction(String lastParam) { Dispatch.put(this, "OnAction", lastParam); } public String getStatusBar() { return Dispatch.get(this, "StatusBar").toString(); } public void setStatusBar(String lastParam) { Dispatch.put(this, "StatusBar", lastParam); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -