/* ** GENEREATED FILE - DO NOT MODIFY ** */
package com.wilutions.mslib.msforms;
import com.wilutions.com.*;
/**
* ScrollBar.
*
*/
@CoClass(guid="{DFD181E0-5E2F-11CE-A449-00AA004A803D}")
public class ScrollBar extends Dispatch implements IScrollbar {
static boolean __typelib__loaded = __TypeLib.load();
@DeclDISPID(-501) public void setBackColor(final OLE_COLOR value) throws ComException {
assert(value != null);
this._dispatchCall(-501,"BackColor", DISPATCH_PROPERTYPUT,value.getValue());
}
@DeclDISPID(-501) public OLE_COLOR getBackColor() throws ComException {
final Object obj = this._dispatchCall(-501,"BackColor", DISPATCH_PROPERTYGET,null);
if (obj == null) return null;
final Integer als = (Integer)obj;
return new OLE_COLOR(als);
}
@DeclDISPID(-513) public void setForeColor(final OLE_COLOR value) throws ComException {
assert(value != null);
this._dispatchCall(-513,"ForeColor", DISPATCH_PROPERTYPUT,value.getValue());
}
@DeclDISPID(-513) public OLE_COLOR getForeColor() throws ComException {
final Object obj = this._dispatchCall(-513,"ForeColor", DISPATCH_PROPERTYGET,null);
if (obj == null) return null;
final Integer als = (Integer)obj;
return new OLE_COLOR(als);
}
@DeclDISPID(-514) public void setEnabled(final Boolean value) throws ComException {
assert(value != null);
this._dispatchCall(-514,"Enabled", DISPATCH_PROPERTYPUT,value);
}
@DeclDISPID(-514) public Boolean getEnabled() throws ComException {
final Object obj = this._dispatchCall(-514,"Enabled", DISPATCH_PROPERTYGET,null);
if (obj == null) return null;
return (Boolean)obj;
}
@DeclDISPID(-521) public void setMousePointer(final fmMousePointer value) throws ComException {
assert(value != null);
this._dispatchCall(-521,"MousePointer", DISPATCH_PROPERTYPUT,value.value);
}
@DeclDISPID(-521) public fmMousePointer getMousePointer() throws ComException {
final Object obj = this._dispatchCall(-521,"MousePointer", DISPATCH_PROPERTYGET,null);
if (obj == null) return null;
return fmMousePointer.valueOf((Integer)obj);
}
@DeclDISPID(0) public void setValue(final Integer value) throws ComException {
assert(value != null);
this._dispatchCall(0,"Value", DISPATCH_PROPERTYPUT,value);
}
@DeclDISPID(0) public Integer getValue() throws ComException {
final Object obj = this._dispatchCall(0,"Value", DISPATCH_PROPERTYGET,null);
if (obj == null) return null;
return (Integer)obj;
}
@DeclDISPID(100) public void setMin(final Integer value) throws ComException {
assert(value != null);
this._dispatchCall(100,"Min", DISPATCH_PROPERTYPUT,value);
}
@DeclDISPID(100) public Integer getMin() throws ComException {
final Object obj = this._dispatchCall(100,"Min", DISPATCH_PROPERTYGET,null);
if (obj == null) return null;
return (Integer)obj;
}
@DeclDISPID(101) public void setMax(final Integer value) throws ComException {
assert(value != null);
this._dispatchCall(101,"Max", DISPATCH_PROPERTYPUT,value);
}
@DeclDISPID(101) public Integer getMax() throws ComException {
final Object obj = this._dispatchCall(101,"Max", DISPATCH_PROPERTYGET,null);
if (obj == null) return null;
return (Integer)obj;
}
@DeclDISPID(102) public void setSmallChange(final Integer value) throws ComException {
assert(value != null);
this._dispatchCall(102,"SmallChange", DISPATCH_PROPERTYPUT,value);
}
@DeclDISPID(102) public Integer getSmallChange() throws ComException {
final Object obj = this._dispatchCall(102,"SmallChange", DISPATCH_PROPERTYGET,null);
if (obj == null) return null;
return (Integer)obj;
}
@DeclDISPID(103) public void setLargeChange(final Integer value) throws ComException {
assert(value != null);
this._dispatchCall(103,"LargeChange", DISPATCH_PROPERTYPUT,value);
}
@DeclDISPID(103) public Integer getLargeChange() throws ComException {
final Object obj = this._dispatchCall(103,"LargeChange", DISPATCH_PROPERTYGET,null);
if (obj == null) return null;
return (Integer)obj;
}
@DeclDISPID(104) public void setProportionalThumb(final Boolean value) throws ComException {
assert(value != null);
this._dispatchCall(104,"ProportionalThumb", DISPATCH_PROPERTYPUT,value);
}
@DeclDISPID(104) public Boolean getProportionalThumb() throws ComException {
final Object obj = this._dispatchCall(104,"ProportionalThumb", DISPATCH_PROPERTYGET,null);
if (obj == null) return null;
return (Boolean)obj;
}
@DeclDISPID(105) public void setOrientation(final fmOrientation value) throws ComException {
assert(value != null);
this._dispatchCall(105,"Orientation", DISPATCH_PROPERTYPUT,value.value);
}
@DeclDISPID(105) public fmOrientation getOrientation() throws ComException {
final Object obj = this._dispatchCall(105,"Orientation", DISPATCH_PROPERTYGET,null);
if (obj == null) return null;
return fmOrientation.valueOf((Integer)obj);
}
@DeclDISPID(106) public void setDelay(final Integer value) throws ComException {
assert(value != null);
this._dispatchCall(106,"Delay", DISPATCH_PROPERTYPUT,value);
}
@DeclDISPID(106) public Integer getDelay() throws ComException {
final Object obj = this._dispatchCall(106,"Delay", DISPATCH_PROPERTYGET,null);
if (obj == null) return null;
return (Integer)obj;
}
@DeclDISPID(-522) public void setMouseIcon(final com.wilutions.mslib.stdole.Picture value) throws ComException {
this._dispatchCall(-522,"MouseIcon", DISPATCH_PROPERTYPUT,Dispatch.param(value));
}
@DeclDISPID(-522) public com.wilutions.mslib.stdole.Picture getMouseIcon() throws ComException {
final Object obj = this._dispatchCall(-522,"MouseIcon", DISPATCH_PROPERTYGET,null);
if (obj == null) return null;
return Dispatch.as(obj, com.wilutions.mslib.stdole.impl.PictureImpl.class);
}
public ScrollBar() throws ComException {
super("{DFD181E0-5E2F-11CE-A449-00AA004A803D}", "{04598FC3-866C-11CF-AB7C-00AA00C08FCF}");
}
protected ScrollBar(long ndisp) {
super(ndisp);
}
public String toString() {
return "[ScrollBar" + super.toString() + "]";
}
}