/* ** GENEREATED FILE - DO NOT MODIFY ** */ package com.wilutions.mslib.msforms.impl; import com.wilutions.com.*; @SuppressWarnings("all") @CoClass(guid="{C4CE16A8-220F-CA8E-36D2-694DA5377335}") public class IScrollbarImpl extends Dispatch implements com.wilutions.mslib.msforms.IScrollbar { @DeclDISPID(-501) public void setBackColor(final com.wilutions.mslib.msforms.OLE_COLOR value) throws ComException { assert(value != null); this._dispatchCall(-501,"BackColor", DISPATCH_PROPERTYPUT,value.getValue()); } @DeclDISPID(-501) public com.wilutions.mslib.msforms.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 com.wilutions.mslib.msforms.OLE_COLOR(als); } @DeclDISPID(-513) public void setForeColor(final com.wilutions.mslib.msforms.OLE_COLOR value) throws ComException { assert(value != null); this._dispatchCall(-513,"ForeColor", DISPATCH_PROPERTYPUT,value.getValue()); } @DeclDISPID(-513) public com.wilutions.mslib.msforms.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 com.wilutions.mslib.msforms.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 com.wilutions.mslib.msforms.fmMousePointer value) throws ComException { assert(value != null); this._dispatchCall(-521,"MousePointer", DISPATCH_PROPERTYPUT,value.value); } @DeclDISPID(-521) public com.wilutions.mslib.msforms.fmMousePointer getMousePointer() throws ComException { final Object obj = this._dispatchCall(-521,"MousePointer", DISPATCH_PROPERTYGET,null); if (obj == null) return null; return com.wilutions.mslib.msforms.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 com.wilutions.mslib.msforms.fmOrientation value) throws ComException { assert(value != null); this._dispatchCall(105,"Orientation", DISPATCH_PROPERTYPUT,value.value); } @DeclDISPID(105) public com.wilutions.mslib.msforms.fmOrientation getOrientation() throws ComException { final Object obj = this._dispatchCall(105,"Orientation", DISPATCH_PROPERTYGET,null); if (obj == null) return null; return com.wilutions.mslib.msforms.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 IScrollbarImpl(String progId) throws ComException { super(progId, "{04598FC3-866C-11CF-AB7C-00AA00C08FCF}"); } protected IScrollbarImpl(long ndisp) { super(ndisp); } public String toString() { return "[IScrollbarImpl" + super.toString() + "]"; } }