legendkey.java
来自「将Excel和Word的类型库都转换过来了」· Java 代码 · 共 176 行
JAVA
176 行
/** * JacobGen generated file --- do not edit * * (http://www.bigatti.it/projects/jacobgen) */package org.nethawker.excel11;import com.jacob.com.*;public class LegendKey extends Dispatch { public static final String componentName = "Excel.LegendKey"; public LegendKey() { 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 LegendKey(Dispatch d) { // take over the IDispatch pointer m_pDispatch = d.m_pDispatch; // null out the input's pointer d.m_pDispatch = 0; } public LegendKey(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 Border getBorder() { return new Border(Dispatch.get(this, "Border").toDispatch()); } public void clearFormats() { Dispatch.call(this, "ClearFormats"); } public void delete() { Dispatch.call(this, "Delete"); } public Interior getInterior() { return new Interior(Dispatch.get(this, "Interior").toDispatch()); } public ChartFillFormat getFill() { return new ChartFillFormat(Dispatch.get(this, "Fill").toDispatch()); } public boolean getInvertIfNegative() { return Dispatch.get(this, "InvertIfNegative").toBoolean(); } public void setInvertIfNegative(boolean lastParam) { Dispatch.put(this, "InvertIfNegative", new Variant(lastParam)); } public int getMarkerBackgroundColor() { return Dispatch.get(this, "MarkerBackgroundColor").toInt(); } public void setMarkerBackgroundColor(int lastParam) { Dispatch.put(this, "MarkerBackgroundColor", new Variant(lastParam)); } public int getMarkerBackgroundColorIndex() { return Dispatch.get(this, "MarkerBackgroundColorIndex").toInt(); } public void setMarkerBackgroundColorIndex(int lastParam) { Dispatch.put(this, "MarkerBackgroundColorIndex", new Variant(lastParam)); } public int getMarkerForegroundColor() { return Dispatch.get(this, "MarkerForegroundColor").toInt(); } public void setMarkerForegroundColor(int lastParam) { Dispatch.put(this, "MarkerForegroundColor", new Variant(lastParam)); } public int getMarkerForegroundColorIndex() { return Dispatch.get(this, "MarkerForegroundColorIndex").toInt(); } public void setMarkerForegroundColorIndex(int lastParam) { Dispatch.put(this, "MarkerForegroundColorIndex", new Variant(lastParam)); } public int getMarkerSize() { return Dispatch.get(this, "MarkerSize").toInt(); } public void setMarkerSize(int lastParam) { Dispatch.put(this, "MarkerSize", new Variant(lastParam)); } public int getMarkerStyle() { return Dispatch.get(this, "MarkerStyle").toInt(); } public void setMarkerStyle(int lastParam) { Dispatch.put(this, "MarkerStyle", new Variant(lastParam)); } public int getPictureType() { return Dispatch.get(this, "PictureType").toInt(); } public void setPictureType(int lastParam) { Dispatch.put(this, "PictureType", new Variant(lastParam)); } public int getPictureUnit() { return Dispatch.get(this, "PictureUnit").toInt(); } public void setPictureUnit(int lastParam) { Dispatch.put(this, "PictureUnit", new Variant(lastParam)); } public void select() { Dispatch.call(this, "Select"); } public boolean getSmooth() { return Dispatch.get(this, "Smooth").toBoolean(); } public void setSmooth(boolean lastParam) { Dispatch.put(this, "Smooth", new Variant(lastParam)); } public double getLeft() { return Dispatch.get(this, "Left").toDouble(); } public double getTop() { return Dispatch.get(this, "Top").toDouble(); } public double getWidth() { return Dispatch.get(this, "Width").toDouble(); } public double getHeight() { return Dispatch.get(this, "Height").toDouble(); } public boolean getShadow() { return Dispatch.get(this, "Shadow").toBoolean(); } public void setShadow(boolean lastParam) { Dispatch.put(this, "Shadow", new Variant(lastParam)); }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?