/* ** GENEREATED FILE - DO NOT MODIFY ** */ package com.wilutions.mslib.outlook; import com.wilutions.com.*; /** * OlkCommandButton. * */ @CoClass(guid="{0006F04A-0000-0000-C000-000000000046}") public class OlkCommandButton extends Dispatch implements _OlkCommandButton { static boolean __typelib__loaded = __TypeLib.load(); @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(-543) public void setAccelerator(final String value) throws ComException { assert(value != null); this._dispatchCall(-543,"Accelerator", 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(-500) public void setAutoSize(final Boolean value) throws ComException { assert(value != null); this._dispatchCall(-500,"AutoSize", 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(-518) public void setCaption(final String value) throws ComException { assert(value != null); this._dispatchCall(-518,"Caption", 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(-514) public void setEnabled(final Boolean value) throws ComException { assert(value != null); this._dispatchCall(-514,"Enabled", DISPATCH_PROPERTYPUT,value); } @DeclDISPID(-512) public com.wilutions.mslib.stdole.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.stdole.impl.FontImpl.class); } @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(-522) public void setMouseIcon(final com.wilutions.mslib.stdole.Picture value) throws ComException { this._dispatchCall(-522,"MouseIcon", DISPATCH_PROPERTYPUT,Dispatch.param(value)); } @DeclDISPID(-521) public OlMousePointer getMousePointer() throws ComException { final Object obj = this._dispatchCall(-521,"MousePointer", DISPATCH_PROPERTYGET,null); if (obj == null) return null; return OlMousePointer.valueOf((Integer)obj); } @DeclDISPID(-521) public void setMousePointer(final OlMousePointer value) throws ComException { assert(value != null); this._dispatchCall(-521,"MousePointer", DISPATCH_PROPERTYPUT,value.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(-536) public void setWordWrap(final Boolean value) throws ComException { assert(value != null); this._dispatchCall(-536,"WordWrap", DISPATCH_PROPERTYPUT,value); } @DeclDISPID(10004) public OlTextAlign getTextAlign() throws ComException { final Object obj = this._dispatchCall(10004,"TextAlign", DISPATCH_PROPERTYGET,null); if (obj == null) return null; return OlTextAlign.valueOf((Integer)obj); } @DeclDISPID(10004) public void setTextAlign(final OlTextAlign value) throws ComException { assert(value != null); this._dispatchCall(10004,"TextAlign", DISPATCH_PROPERTYPUT,value.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(-523) public void setPicture(final com.wilutions.mslib.stdole.Picture value) throws ComException { this._dispatchCall(-523,"Picture", DISPATCH_PROPERTYPUT,Dispatch.param(value)); } @DeclDISPID(26) public OlPictureAlignment getPictureAlignment() throws ComException { final Object obj = this._dispatchCall(26,"PictureAlignment", DISPATCH_PROPERTYGET,null); if (obj == null) return null; return OlPictureAlignment.valueOf((Integer)obj); } @DeclDISPID(26) public void setPictureAlignment(final OlPictureAlignment value) throws ComException { assert(value != null); this._dispatchCall(26,"PictureAlignment", DISPATCH_PROPERTYPUT,value.value); } @DeclDISPID(64544) public Boolean getDisplayDropArrow() throws ComException { final Object obj = this._dispatchCall(64544,"DisplayDropArrow", DISPATCH_PROPERTYGET,null); if (obj == null) return null; return (Boolean)obj; } @DeclDISPID(64544) public void setDisplayDropArrow(final Boolean value) throws ComException { assert(value != null); this._dispatchCall(64544,"DisplayDropArrow", DISPATCH_PROPERTYPUT,value); } public OlkCommandButton() throws ComException { super("{0006F04A-0000-0000-C000-000000000046}", "{000672DB-0000-0000-C000-000000000046}"); } protected OlkCommandButton(long ndisp) { super(ndisp); } public String toString() { return "[OlkCommandButton" + super.toString() + "]"; } }