/* ** GENEREATED FILE - DO NOT MODIFY ** */
package com.wilutions.mslib.outlook.impl;
import com.wilutions.com.*;
@SuppressWarnings("all")
@CoClass(guid="{C091EBB5-A463-DB41-5DAE-69E7A5F7FCBC}")
public class _OlkComboBoxImpl extends Dispatch implements com.wilutions.mslib.outlook._OlkComboBox {
@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(217) public Boolean getAutoTab() throws ComException {
final Object obj = this._dispatchCall(217,"AutoTab", DISPATCH_PROPERTYGET,null);
if (obj == null) return null;
return (Boolean)obj;
}
@DeclDISPID(217) public void setAutoTab(final Boolean value) throws ComException {
assert(value != null);
this._dispatchCall(217,"AutoTab", DISPATCH_PROPERTYPUT,value);
}
@DeclDISPID(218) public Boolean getAutoWordSelect() throws ComException {
final Object obj = this._dispatchCall(218,"AutoWordSelect", DISPATCH_PROPERTYGET,null);
if (obj == null) return null;
return (Boolean)obj;
}
@DeclDISPID(218) public void setAutoWordSelect(final Boolean value) throws ComException {
assert(value != null);
this._dispatchCall(218,"AutoWordSelect", DISPATCH_PROPERTYPUT,value);
}
@DeclDISPID(-501) public com.wilutions.mslib.stdole.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.stdole.OLE_COLOR(als);
}
@DeclDISPID(-501) public void setBackColor(final com.wilutions.mslib.stdole.OLE_COLOR value) throws ComException {
assert(value != null);
this._dispatchCall(-501,"BackColor", DISPATCH_PROPERTYPUT,value.getValue());
}
@DeclDISPID(-504) public com.wilutions.mslib.outlook.OlBorderStyle getBorderStyle() throws ComException {
final Object obj = this._dispatchCall(-504,"BorderStyle", DISPATCH_PROPERTYGET,null);
if (obj == null) return null;
return com.wilutions.mslib.outlook.OlBorderStyle.valueOf((Integer)obj);
}
@DeclDISPID(-504) public void setBorderStyle(final com.wilutions.mslib.outlook.OlBorderStyle value) throws ComException {
assert(value != null);
this._dispatchCall(-504,"BorderStyle", DISPATCH_PROPERTYPUT,value.value);
}
@DeclDISPID(225) public com.wilutions.mslib.outlook.OlDragBehavior getDragBehavior() throws ComException {
final Object obj = this._dispatchCall(225,"DragBehavior", DISPATCH_PROPERTYGET,null);
if (obj == null) return null;
return com.wilutions.mslib.outlook.OlDragBehavior.valueOf((Integer)obj);
}
@DeclDISPID(225) public void setDragBehavior(final com.wilutions.mslib.outlook.OlDragBehavior value) throws ComException {
assert(value != null);
this._dispatchCall(225,"DragBehavior", DISPATCH_PROPERTYPUT,value.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(224) public com.wilutions.mslib.outlook.OlEnterFieldBehavior getEnterFieldBehavior() throws ComException {
final Object obj = this._dispatchCall(224,"EnterFieldBehavior", DISPATCH_PROPERTYGET,null);
if (obj == null) return null;
return com.wilutions.mslib.outlook.OlEnterFieldBehavior.valueOf((Integer)obj);
}
@DeclDISPID(224) public void setEnterFieldBehavior(final com.wilutions.mslib.outlook.OlEnterFieldBehavior value) throws ComException {
assert(value != null);
this._dispatchCall(224,"EnterFieldBehavior", DISPATCH_PROPERTYPUT,value.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(-513) public com.wilutions.mslib.stdole.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.stdole.OLE_COLOR(als);
}
@DeclDISPID(-513) public void setForeColor(final com.wilutions.mslib.stdole.OLE_COLOR value) throws ComException {
assert(value != null);
this._dispatchCall(-513,"ForeColor", DISPATCH_PROPERTYPUT,value.getValue());
}
@DeclDISPID(207) public Boolean getHideSelection() throws ComException {
final Object obj = this._dispatchCall(207,"HideSelection", DISPATCH_PROPERTYGET,null);
if (obj == null) return null;
return (Boolean)obj;
}
@DeclDISPID(207) public void setHideSelection(final Boolean value) throws ComException {
assert(value != null);
this._dispatchCall(207,"HideSelection", 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(10) public void setLocked(final Boolean value) throws ComException {
assert(value != null);
this._dispatchCall(10,"Locked", DISPATCH_PROPERTYPUT,value);
}
@DeclDISPID(-533) public Integer getMaxLength() throws ComException {
final Object obj = this._dispatchCall(-533,"MaxLength", DISPATCH_PROPERTYGET,null);
if (obj == null) return null;
return (Integer)obj;
}
@DeclDISPID(-533) public void setMaxLength(final Integer value) throws ComException {
assert(value != null);
this._dispatchCall(-533,"MaxLength", DISPATCH_PROPERTYPUT,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(-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 com.wilutions.mslib.outlook.OlMousePointer getMousePointer() throws ComException {
final Object obj = this._dispatchCall(-521,"MousePointer", DISPATCH_PROPERTYGET,null);
if (obj == null) return null;
return com.wilutions.mslib.outlook.OlMousePointer.valueOf((Integer)obj);
}
@DeclDISPID(-521) public void setMousePointer(final com.wilutions.mslib.outlook.OlMousePointer value) throws ComException {
assert(value != null);
this._dispatchCall(-521,"MousePointer", DISPATCH_PROPERTYPUT,value.value);
}
@DeclDISPID(220) public Boolean getSelectionMargin() throws ComException {
final Object obj = this._dispatchCall(220,"SelectionMargin", DISPATCH_PROPERTYGET,null);
if (obj == null) return null;
return (Boolean)obj;
}
@DeclDISPID(220) public void setSelectionMargin(final Boolean value) throws ComException {
assert(value != null);
this._dispatchCall(220,"SelectionMargin", DISPATCH_PROPERTYPUT,value);
}
@DeclDISPID(308) public com.wilutions.mslib.outlook.OlComboBoxStyle getStyle() throws ComException {
final Object obj = this._dispatchCall(308,"Style", DISPATCH_PROPERTYGET,null);
if (obj == null) return null;
return com.wilutions.mslib.outlook.OlComboBoxStyle.valueOf((Integer)obj);
}
@DeclDISPID(308) public void setStyle(final com.wilutions.mslib.outlook.OlComboBoxStyle value) throws ComException {
assert(value != null);
this._dispatchCall(308,"Style", DISPATCH_PROPERTYPUT,value.value);
}
@DeclDISPID(-517) public String getText() throws ComException {
final Object obj = this._dispatchCall(-517,"Text", DISPATCH_PROPERTYGET,null);
if (obj == null) return null;
return (String)obj;
}
@DeclDISPID(-517) public void setText(final String value) throws ComException {
assert(value != null);
this._dispatchCall(-517,"Text", DISPATCH_PROPERTYPUT,value);
}
@DeclDISPID(10004) public com.wilutions.mslib.outlook.OlTextAlign getTextAlign() throws ComException {
final Object obj = this._dispatchCall(10004,"TextAlign", DISPATCH_PROPERTYGET,null);
if (obj == null) return null;
return com.wilutions.mslib.outlook.OlTextAlign.valueOf((Integer)obj);
}
@DeclDISPID(10004) public void setTextAlign(final com.wilutions.mslib.outlook.OlTextAlign value) throws ComException {
assert(value != null);
this._dispatchCall(10004,"TextAlign", DISPATCH_PROPERTYPUT,value.value);
}
@DeclDISPID(611) public Integer getTopIndex() throws ComException {
final Object obj = this._dispatchCall(611,"TopIndex", DISPATCH_PROPERTYGET,null);
if (obj == null) return null;
return (Integer)obj;
}
@DeclDISPID(611) public void setTopIndex(final Integer value) throws ComException {
assert(value != null);
this._dispatchCall(611,"TopIndex", 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(0) public void setValue(final Object value) throws ComException {
assert(value != null);
this._dispatchCall(0,"Value", DISPATCH_PROPERTYPUT,value);
}
@DeclDISPID(-526) public Integer getListIndex() throws ComException {
final Object obj = this._dispatchCall(-526,"ListIndex", DISPATCH_PROPERTYGET,null);
if (obj == null) return null;
return (Integer)obj;
}
@DeclDISPID(-526) public void setListIndex(final Integer value) throws ComException {
assert(value != null);
this._dispatchCall(-526,"ListIndex", DISPATCH_PROPERTYPUT,value);
}
@DeclDISPID(-531) public Integer getListCount() throws ComException {
final Object obj = this._dispatchCall(-531,"ListCount", DISPATCH_PROPERTYGET,null);
if (obj == null) return null;
return (Integer)obj;
}
@DeclDISPID(-547) public Integer getSelStart() throws ComException {
final Object obj = this._dispatchCall(-547,"SelStart", DISPATCH_PROPERTYGET,null);
if (obj == null) return null;
return (Integer)obj;
}
@DeclDISPID(-547) public void setSelStart(final Integer value) throws ComException {
assert(value != null);
this._dispatchCall(-547,"SelStart", DISPATCH_PROPERTYPUT,value);
}
@DeclDISPID(-548) public Integer getSelLength() throws ComException {
final Object obj = this._dispatchCall(-548,"SelLength", DISPATCH_PROPERTYGET,null);
if (obj == null) return null;
return (Integer)obj;
}
@DeclDISPID(-548) public void setSelLength(final Integer value) throws ComException {
assert(value != null);
this._dispatchCall(-548,"SelLength", DISPATCH_PROPERTYPUT,value);
}
@DeclDISPID(-546) public String getSelText() throws ComException {
final Object obj = this._dispatchCall(-546,"SelText", DISPATCH_PROPERTYGET,null);
if (obj == null) return null;
return (String)obj;
}
@DeclDISPID(8457) public String GetItem(final Integer Index) throws ComException {
assert(Index != null);
final Object obj = this._dispatchCall(8457,"GetItem", DISPATCH_METHOD,null,Index);
if (obj == null) return null;
return (String)obj;
}
@DeclDISPID(64478) public void SetItem(final Integer Index, final String Item) throws ComException {
assert(Index != null);
assert(Item != null);
this._dispatchCall(64478,"SetItem", DISPATCH_METHOD,null,Index,Item);
}
@DeclDISPID(21) public void Cut() throws ComException {
this._dispatchCall(21,"Cut", DISPATCH_METHOD,null);
}
@DeclDISPID(22) public void Copy() throws ComException {
this._dispatchCall(22,"Copy", DISPATCH_METHOD,null);
}
@DeclDISPID(24) public void Paste() throws ComException {
this._dispatchCall(24,"Paste", DISPATCH_METHOD,null);
}
@DeclDISPID(-554) public void Clear() throws ComException {
this._dispatchCall(-554,"Clear", DISPATCH_METHOD,null);
}
@DeclDISPID(-553) public void AddItem(final String ItemText, final Object Index) throws ComException {
assert(ItemText != null);
assert(Index != null);
this._dispatchCall(-553,"AddItem", DISPATCH_METHOD,null,ItemText,Variant.param(Index));
}
@DeclDISPID(-555) public void RemoveItem(final Integer Index) throws ComException {
assert(Index != null);
this._dispatchCall(-555,"RemoveItem", DISPATCH_METHOD,null,Index);
}
@DeclDISPID(1001) public void DropDown() throws ComException {
this._dispatchCall(1001,"DropDown", DISPATCH_METHOD,null);
}
public _OlkComboBoxImpl(String progId) throws ComException {
super(progId, "{000672DE-0000-0000-C000-000000000046}");
}
protected _OlkComboBoxImpl(long ndisp) {
super(ndisp);
}
public String toString() {
return "[_OlkComboBoxImpl" + super.toString() + "]";
}
}