scrollbars.java

来自「将Excel和Word的类型库都转换过来了」· Java 代码 · 共 280 行

JAVA
280
字号
/** * JacobGen generated file --- do not edit * * (http://www.bigatti.it/projects/jacobgen) */package org.nethawker.excel11;import com.jacob.com.*;public class ScrollBars extends Dispatch {	public static final String componentName = "Excel.ScrollBars";	public ScrollBars() {		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 ScrollBars(Dispatch d) {		// take over the IDispatch pointer		m_pDispatch = d.m_pDispatch;		// null out the input's pointer		d.m_pDispatch = 0;	}	public ScrollBars(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 void _Dummy3() {		Dispatch.call(this, "_Dummy3");	}	public void bringToFront() {		Dispatch.call(this, "BringToFront");	}	public void copy() {		Dispatch.call(this, "Copy");	}	public void copyPicture(int appearance, int lastParam) {		Dispatch.call(this, "CopyPicture", new Variant(appearance), new Variant(lastParam));	}	public void copyPicture(int appearance) {		Dispatch.call(this, "CopyPicture", new Variant(appearance));	}	public void copyPicture() {		Dispatch.call(this, "CopyPicture");	}	public void cut() {		Dispatch.call(this, "Cut");	}	public void delete() {		Dispatch.call(this, "Delete");	}	public Dispatch duplicate() {		return Dispatch.call(this, "Duplicate").toDispatch();	}	public boolean getEnabled() {		return Dispatch.get(this, "Enabled").toBoolean();	}	public void setEnabled(boolean lastParam) {		Dispatch.put(this, "Enabled", new Variant(lastParam));	}	public double getHeight() {		return Dispatch.get(this, "Height").toDouble();	}	public void setHeight(double lastParam) {		Dispatch.put(this, "Height", new Variant(lastParam));	}	public void _Dummy12() {		Dispatch.call(this, "_Dummy12");	}	public double getLeft() {		return Dispatch.get(this, "Left").toDouble();	}	public void setLeft(double lastParam) {		Dispatch.put(this, "Left", new Variant(lastParam));	}	public boolean getLocked() {		return Dispatch.get(this, "Locked").toBoolean();	}	public void setLocked(boolean lastParam) {		Dispatch.put(this, "Locked", new Variant(lastParam));	}	public void _Dummy15() {		Dispatch.call(this, "_Dummy15");	}	public String getOnAction() {		return Dispatch.get(this, "OnAction").toString();	}	public void setOnAction(String lastParam) {		Dispatch.put(this, "OnAction", lastParam);	}	public Variant getPlacement() {		return Dispatch.get(this, "Placement");	}	public void setPlacement(Variant lastParam) {		Dispatch.put(this, "Placement", lastParam);	}	public boolean getPrintObject() {		return Dispatch.get(this, "PrintObject").toBoolean();	}	public void setPrintObject(boolean lastParam) {		Dispatch.put(this, "PrintObject", new Variant(lastParam));	}	public void select(Variant lastParam) {		Dispatch.call(this, "Select", lastParam);	}	public void select() {		Dispatch.call(this, "Select");	}	public void sendToBack() {		Dispatch.call(this, "SendToBack");	}	public double getTop() {		return Dispatch.get(this, "Top").toDouble();	}	public void setTop(double lastParam) {		Dispatch.put(this, "Top", new Variant(lastParam));	}	public void _Dummy22() {		Dispatch.call(this, "_Dummy22");	}	public boolean getVisible() {		return Dispatch.get(this, "Visible").toBoolean();	}	public void setVisible(boolean lastParam) {		Dispatch.put(this, "Visible", new Variant(lastParam));	}	public double getWidth() {		return Dispatch.get(this, "Width").toDouble();	}	public void setWidth(double lastParam) {		Dispatch.put(this, "Width", new Variant(lastParam));	}	public int getZOrder() {		return Dispatch.get(this, "ZOrder").toInt();	}	public org.nethawker.office11.ShapeRange getShapeRange() {		return new org.nethawker.office11.ShapeRange(Dispatch.get(this, "ShapeRange").toDispatch());	}	public int get_Default() {		return Dispatch.get(this, "_Default").toInt();	}	public void set_Default(int lastParam) {		Dispatch.put(this, "_Default", new Variant(lastParam));	}	public boolean getDisplay3DShading() {		return Dispatch.get(this, "Display3DShading").toBoolean();	}	public void setDisplay3DShading(boolean lastParam) {		Dispatch.put(this, "Display3DShading", new Variant(lastParam));	}	public String getLinkedCell() {		return Dispatch.get(this, "LinkedCell").toString();	}	public void setLinkedCell(String lastParam) {		Dispatch.put(this, "LinkedCell", lastParam);	}	public int getMax() {		return Dispatch.get(this, "Max").toInt();	}	public void setMax(int lastParam) {		Dispatch.put(this, "Max", new Variant(lastParam));	}	public int getMin() {		return Dispatch.get(this, "Min").toInt();	}	public void setMin(int lastParam) {		Dispatch.put(this, "Min", new Variant(lastParam));	}	public int getSmallChange() {		return Dispatch.get(this, "SmallChange").toInt();	}	public void setSmallChange(int lastParam) {		Dispatch.put(this, "SmallChange", new Variant(lastParam));	}	public int getValue() {		return Dispatch.get(this, "Value").toInt();	}	public void setValue(int lastParam) {		Dispatch.put(this, "Value", new Variant(lastParam));	}	public int getLargeChange() {		return Dispatch.get(this, "LargeChange").toInt();	}	public void setLargeChange(int lastParam) {		Dispatch.put(this, "LargeChange", new Variant(lastParam));	}	public ScrollBar add(double left, double top, double width, double lastParam) {		return new ScrollBar(Dispatch.call(this, "Add", new Variant(left), new Variant(top), new Variant(width), new Variant(lastParam)).toDispatch());	}	public int getCount() {		return Dispatch.get(this, "Count").toInt();	}	public GroupObject group() {		return new GroupObject(Dispatch.call(this, "Group").toDispatch());	}	public Dispatch item(Variant lastParam) {		return Dispatch.call(this, "Item", lastParam).toDispatch();	}	public Variant _NewEnum() {		return Dispatch.call(this, "_NewEnum");	}}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?