/* ** GENEREATED FILE - DO NOT MODIFY ** */ package com.wilutions.mslib.msforms; import com.wilutions.com.*; /** * CheckBox. * */ @CoClass(guid="{8BD21D40-EC42-11CE-9E0D-00AA006002F3}") public class CheckBox extends Dispatch implements IMdcCheckBox { static boolean __typelib__loaded = __TypeLib.load(); @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 fmAlignment value) throws ComException { assert(value != null); this._dispatchCall(710,"Alignment", DISPATCH_PROPERTYPUT,value.value); } @DeclDISPID(710) public fmAlignment getAlignment() throws ComException { final Object obj = this._dispatchCall(710,"Alignment", DISPATCH_PROPERTYGET,null); if (obj == null) return null; return 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 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(-502) public void setBackStyle(final fmBackStyle value) throws ComException { assert(value != null); this._dispatchCall(-502,"BackStyle", DISPATCH_PROPERTYPUT,value.value); } @DeclDISPID(-502) public fmBackStyle getBackStyle() throws ComException { final Object obj = this._dispatchCall(-502,"BackStyle", DISPATCH_PROPERTYGET,null); if (obj == null) return null; return 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 Font value) throws ComException { this._dispatchCall(-512,"Font", DISPATCH_PROPERTYPUTREF,Dispatch.param(value)); } @DeclDISPID(-512) public 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 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(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 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(-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 fmPicturePosition value) throws ComException { assert(value != null); this._dispatchCall(11,"PicturePosition", DISPATCH_PROPERTYPUT,value.value); } @DeclDISPID(11) public fmPicturePosition getPicturePosition() throws ComException { final Object obj = this._dispatchCall(11,"PicturePosition", DISPATCH_PROPERTYGET,null); if (obj == null) return null; return fmPicturePosition.valueOf((Integer)obj); } @DeclDISPID(12) public void setSpecialEffect(final fmButtonEffect value) throws ComException { assert(value != null); this._dispatchCall(12,"SpecialEffect", DISPATCH_PROPERTYPUT,value.value); } @DeclDISPID(12) public fmButtonEffect getSpecialEffect() throws ComException { final Object obj = this._dispatchCall(12,"SpecialEffect", DISPATCH_PROPERTYGET,null); if (obj == null) return null; return 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 fmTextAlign value) throws ComException { assert(value != null); this._dispatchCall(10004,"TextAlign", DISPATCH_PROPERTYPUT,value.value); } @DeclDISPID(10004) public fmTextAlign getTextAlign() throws ComException { final Object obj = this._dispatchCall(10004,"TextAlign", DISPATCH_PROPERTYGET,null); if (obj == null) return null; return fmTextAlign.valueOf((Integer)obj); } public CheckBox() throws ComException { super("{8BD21D40-EC42-11CE-9E0D-00AA006002F3}", "{8BD21D43-EC42-11CE-9E0D-00AA006002F3}"); } protected CheckBox(long ndisp) { super(ndisp); } public String toString() { return "[CheckBox" + super.toString() + "]"; } }