/* ** GENEREATED FILE - DO NOT MODIFY ** */ package com.wilutions.mslib.msforms.impl; import com.wilutions.com.*; @SuppressWarnings("all") @CoClass(guid="{4B458428-4821-CA8F-03A3-694DA597FE09}") public class IMdcCheckBoxImpl extends Dispatch implements com.wilutions.mslib.msforms.IMdcCheckBox { @DeclDISPID(-543) public void setAccelerator(final String value) throws ComException { assert(value != null); this._dispatchCall(-543,"Accelerator", DISPATCH_PROPERTYPUT,value); } @DeclDISPID(-543) public String getAccelerator() throws ComException { final Object obj = this._dispatchCall(-543,"Accelerator", DISPATCH_PROPERTYGET,null); if (obj == null) return null; return (String)obj; } @DeclDISPID(710) public void setAlignment(final com.wilutions.mslib.msforms.fmAlignment value) throws ComException { assert(value != null); this._dispatchCall(710,"Alignment", DISPATCH_PROPERTYPUT,value.value); } @DeclDISPID(710) public com.wilutions.mslib.msforms.fmAlignment getAlignment() throws ComException { final Object obj = this._dispatchCall(710,"Alignment", DISPATCH_PROPERTYGET,null); if (obj == null) return null; return com.wilutions.mslib.msforms.fmAlignment.valueOf((Integer)obj); } @DeclDISPID(-500) public void setAutoSize(final Boolean value) throws ComException { assert(value != null); this._dispatchCall(-500,"AutoSize", DISPATCH_PROPERTYPUT,value); } @DeclDISPID(-500) public Boolean getAutoSize() throws ComException { final Object obj = this._dispatchCall(-500,"AutoSize", DISPATCH_PROPERTYGET,null); if (obj == null) return null; return (Boolean)obj; } @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(-502) public void setBackStyle(final com.wilutions.mslib.msforms.fmBackStyle value) throws ComException { assert(value != null); this._dispatchCall(-502,"BackStyle", DISPATCH_PROPERTYPUT,value.value); } @DeclDISPID(-502) public com.wilutions.mslib.msforms.fmBackStyle getBackStyle() throws ComException { final Object obj = this._dispatchCall(-502,"BackStyle", DISPATCH_PROPERTYGET,null); if (obj == null) return null; return com.wilutions.mslib.msforms.fmBackStyle.valueOf((Integer)obj); } @DeclDISPID(-518) public void setCaption(final String value) throws ComException { assert(value != null); this._dispatchCall(-518,"Caption", DISPATCH_PROPERTYPUT,value); } @DeclDISPID(-518) public String getCaption() throws ComException { final Object obj = this._dispatchCall(-518,"Caption", DISPATCH_PROPERTYGET,null); if (obj == null) return null; return (String)obj; } @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(-512) public void setFont(final com.wilutions.mslib.msforms.Font value) throws ComException { this._dispatchCall(-512,"Font", DISPATCH_PROPERTYPUTREF,Dispatch.param(value)); } @DeclDISPID(-512) public com.wilutions.mslib.msforms.Font getFont() throws ComException { final Object obj = this._dispatchCall(-512,"Font", DISPATCH_PROPERTYGET,null); if (obj == null) return null; return Dispatch.as(obj, com.wilutions.mslib.msforms.impl.FontImpl.class); } @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(10) public void setLocked(final Boolean value) throws ComException { assert(value != null); this._dispatchCall(10,"Locked", DISPATCH_PROPERTYPUT,value); } @DeclDISPID(10) public Boolean getLocked() throws ComException { final Object obj = this._dispatchCall(10,"Locked", DISPATCH_PROPERTYGET,null); if (obj == null) return null; return (Boolean)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); } @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(-523) public void setPicture(final com.wilutions.mslib.stdole.Picture value) throws ComException { this._dispatchCall(-523,"Picture", DISPATCH_PROPERTYPUT,Dispatch.param(value)); } @DeclDISPID(-523) public com.wilutions.mslib.stdole.Picture getPicture() throws ComException { final Object obj = this._dispatchCall(-523,"Picture", DISPATCH_PROPERTYGET,null); if (obj == null) return null; return Dispatch.as(obj, com.wilutions.mslib.stdole.impl.PictureImpl.class); } @DeclDISPID(11) public void setPicturePosition(final com.wilutions.mslib.msforms.fmPicturePosition value) throws ComException { assert(value != null); this._dispatchCall(11,"PicturePosition", DISPATCH_PROPERTYPUT,value.value); } @DeclDISPID(11) public com.wilutions.mslib.msforms.fmPicturePosition getPicturePosition() throws ComException { final Object obj = this._dispatchCall(11,"PicturePosition", DISPATCH_PROPERTYGET,null); if (obj == null) return null; return com.wilutions.mslib.msforms.fmPicturePosition.valueOf((Integer)obj); } @DeclDISPID(12) public void setSpecialEffect(final com.wilutions.mslib.msforms.fmButtonEffect value) throws ComException { assert(value != null); this._dispatchCall(12,"SpecialEffect", DISPATCH_PROPERTYPUT,value.value); } @DeclDISPID(12) public com.wilutions.mslib.msforms.fmButtonEffect getSpecialEffect() throws ComException { final Object obj = this._dispatchCall(12,"SpecialEffect", DISPATCH_PROPERTYGET,null); if (obj == null) return null; return com.wilutions.mslib.msforms.fmButtonEffect.valueOf((Integer)obj); } @DeclDISPID(700) public void setTripleState(final Boolean value) throws ComException { assert(value != null); this._dispatchCall(700,"TripleState", DISPATCH_PROPERTYPUT,value); } @DeclDISPID(700) public Boolean getTripleState() throws ComException { final Object obj = this._dispatchCall(700,"TripleState", DISPATCH_PROPERTYGET,null); if (obj == null) return null; return (Boolean)obj; } @DeclDISPID(0) public void setValue(final Object value) throws ComException { assert(value != null); this._dispatchCall(0,"Value", DISPATCH_PROPERTYPUT,value); } @DeclDISPID(0) public Object getValue() throws ComException { final Object obj = this._dispatchCall(0,"Value", DISPATCH_PROPERTYGET,null); if (obj == null) return null; return (Object)obj; } @DeclDISPID(-536) public void setWordWrap(final Boolean value) throws ComException { assert(value != null); this._dispatchCall(-536,"WordWrap", DISPATCH_PROPERTYPUT,value); } @DeclDISPID(-536) public Boolean getWordWrap() throws ComException { final Object obj = this._dispatchCall(-536,"WordWrap", DISPATCH_PROPERTYGET,null); if (obj == null) return null; return (Boolean)obj; } @DeclDISPID(-541) public void setGroupName(final String value) throws ComException { assert(value != null); this._dispatchCall(-541,"GroupName", DISPATCH_PROPERTYPUT,value); } @DeclDISPID(-541) public String getGroupName() throws ComException { final Object obj = this._dispatchCall(-541,"GroupName", DISPATCH_PROPERTYGET,null); if (obj == null) return null; return (String)obj; } @DeclDISPID(10004) public void setTextAlign(final com.wilutions.mslib.msforms.fmTextAlign value) throws ComException { assert(value != null); this._dispatchCall(10004,"TextAlign", DISPATCH_PROPERTYPUT,value.value); } @DeclDISPID(10004) public com.wilutions.mslib.msforms.fmTextAlign getTextAlign() throws ComException { final Object obj = this._dispatchCall(10004,"TextAlign", DISPATCH_PROPERTYGET,null); if (obj == null) return null; return com.wilutions.mslib.msforms.fmTextAlign.valueOf((Integer)obj); } public IMdcCheckBoxImpl(String progId) throws ComException { super(progId, "{8BD21D43-EC42-11CE-9E0D-00AA006002F3}"); } protected IMdcCheckBoxImpl(long ndisp) { super(ndisp); } public String toString() { return "[IMdcCheckBoxImpl" + super.toString() + "]"; } }