📄 system.java
字号:
/** * JacobGen generated file --- do not edit * * (http://www.bigatti.it/projects/jacobgen) */package org.nethawker.word11;import com.jacob.com.*;public class System extends Dispatch { public static final String componentName = "Word.System"; public System() { 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 System(Dispatch d) { // take over the IDispatch pointer m_pDispatch = d.m_pDispatch; // null out the input's pointer d.m_pDispatch = 0; } public System(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 Object getParent() { return Dispatch.get(this, "Parent"); } public String getOperatingSystem() { return Dispatch.get(this, "OperatingSystem").toString(); } public String getProcessorType() { return Dispatch.get(this, "ProcessorType").toString(); } public String getVersion() { return Dispatch.get(this, "Version").toString(); } public int getFreeDiskSpace() { return Dispatch.get(this, "FreeDiskSpace").toInt(); } public int getCountry() { return Dispatch.get(this, "Country").toInt(); } public String getLanguageDesignation() { return Dispatch.get(this, "LanguageDesignation").toString(); } public int getHorizontalResolution() { return Dispatch.get(this, "HorizontalResolution").toInt(); } public int getVerticalResolution() { return Dispatch.get(this, "VerticalResolution").toInt(); } public String getProfileString(String section, String lastParam) { return Dispatch.call(this, "ProfileString", section, lastParam).toString(); } public void setProfileString(String section, String key, String lastParam) { Dispatch.call(this, "ProfileString", section, key, lastParam); } public String getPrivateProfileString(String fileName, String section, String lastParam) { return Dispatch.call(this, "PrivateProfileString", fileName, section, lastParam).toString(); } public void setPrivateProfileString(String fileName, String section, String key, String lastParam) { Dispatch.call(this, "PrivateProfileString", fileName, section, key, lastParam); } public boolean getMathCoprocessorInstalled() { return Dispatch.get(this, "MathCoprocessorInstalled").toBoolean(); } public String getComputerType() { return Dispatch.get(this, "ComputerType").toString(); } public String getMacintoshName() { return Dispatch.get(this, "MacintoshName").toString(); } public boolean getQuickDrawInstalled() { return Dispatch.get(this, "QuickDrawInstalled").toBoolean(); } public int getCursor() { return Dispatch.get(this, "Cursor").toInt(); } public void setCursor(int lastParam) { Dispatch.put(this, "Cursor", new Variant(lastParam)); } public void mSInfo() { Dispatch.call(this, "MSInfo"); } public void connect(String path, Variant drive, Variant lastParam) { Dispatch.call(this, "Connect", path, drive, lastParam); } public void connect(String path, Variant drive) { Dispatch.call(this, "Connect", path, drive); } public void connect(String path) { Dispatch.call(this, "Connect", path); } public int getCountryRegion() { return Dispatch.get(this, "CountryRegion").toInt(); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -