/* ** GENEREATED FILE - DO NOT MODIFY ** */
package com.wilutions.mslib.msforms.impl;
import com.wilutions.com.*;
@SuppressWarnings("all")
@CoClass(guid="{C4CE16A2-220F-CA8E-36D2-694DA5377335}")
public class IMultiPageImpl extends Dispatch implements com.wilutions.mslib.msforms.IMultiPage {
@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(-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(514) public void setMultiRow(final Boolean value) throws ComException {
assert(value != null);
this._dispatchCall(514,"MultiRow", DISPATCH_PROPERTYPUT,value);
}
@DeclDISPID(514) public Boolean getMultiRow() throws ComException {
final Object obj = this._dispatchCall(514,"MultiRow", DISPATCH_PROPERTYGET,null);
if (obj == null) return null;
return (Boolean)obj;
}
@DeclDISPID(513) public void setStyle(final com.wilutions.mslib.msforms.fmTabStyle value) throws ComException {
assert(value != null);
this._dispatchCall(513,"Style", DISPATCH_PROPERTYPUT,value.value);
}
@DeclDISPID(513) public com.wilutions.mslib.msforms.fmTabStyle getStyle() throws ComException {
final Object obj = this._dispatchCall(513,"Style", DISPATCH_PROPERTYGET,null);
if (obj == null) return null;
return com.wilutions.mslib.msforms.fmTabStyle.valueOf((Integer)obj);
}
@DeclDISPID(512) public void setTabOrientation(final com.wilutions.mslib.msforms.fmTabOrientation value) throws ComException {
assert(value != null);
this._dispatchCall(512,"TabOrientation", DISPATCH_PROPERTYPUT,value.value);
}
@DeclDISPID(512) public com.wilutions.mslib.msforms.fmTabOrientation getTabOrientation() throws ComException {
final Object obj = this._dispatchCall(512,"TabOrientation", DISPATCH_PROPERTYGET,null);
if (obj == null) return null;
return com.wilutions.mslib.msforms.fmTabOrientation.valueOf((Integer)obj);
}
@DeclDISPID(1610743833) public void _SetTabFixedWidth(final Integer Width) throws ComException {
assert(Width != null);
this._dispatchCall(1610743833,"_SetTabFixedWidth", DISPATCH_METHOD,null,Width);
}
@DeclDISPID(1610743834) public void _GetTabFixedWidth(final ByRef<Integer> Width) throws ComException {
assert(Width != null);
this._dispatchCall(1610743834,"_GetTabFixedWidth", DISPATCH_METHOD,null,Width);
}
@DeclDISPID(1610743835) public void _SetTabFixedHeight(final Integer Height) throws ComException {
assert(Height != null);
this._dispatchCall(1610743835,"_SetTabFixedHeight", DISPATCH_METHOD,null,Height);
}
@DeclDISPID(1610743836) public void _GetTabFixedHeight(final ByRef<Integer> Height) throws ComException {
assert(Height != null);
this._dispatchCall(1610743836,"_GetTabFixedHeight", DISPATCH_METHOD,null,Height);
}
@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(545) public com.wilutions.mslib.msforms.Page getSelectedItem() throws ComException {
final Object obj = this._dispatchCall(545,"SelectedItem", DISPATCH_PROPERTYGET,null);
if (obj == null) return null;
final Dispatch disp = (Dispatch)obj;
return disp.as(com.wilutions.mslib.msforms.Page.class);
}
@DeclDISPID(0) public com.wilutions.mslib.msforms.Pages getPages() throws ComException {
final Object obj = this._dispatchCall(0,"Pages", DISPATCH_PROPERTYGET,null);
if (obj == null) return null;
return Dispatch.as(obj, com.wilutions.mslib.msforms.impl.PagesImpl.class);
}
@DeclDISPID(528) public void setValue(final Integer value) throws ComException {
assert(value != null);
this._dispatchCall(528,"Value", DISPATCH_PROPERTYPUT,value);
}
@DeclDISPID(528) public Integer getValue() throws ComException {
final Object obj = this._dispatchCall(528,"Value", DISPATCH_PROPERTYGET,null);
if (obj == null) return null;
return (Integer)obj;
}
@DeclDISPID(515) public void setTabFixedWidth(final Float value) throws ComException {
assert(value != null);
this._dispatchCall(515,"TabFixedWidth", DISPATCH_PROPERTYPUT,value);
}
@DeclDISPID(515) public Float getTabFixedWidth() throws ComException {
final Object obj = this._dispatchCall(515,"TabFixedWidth", DISPATCH_PROPERTYGET,null);
if (obj == null) return null;
return (Float)obj;
}
@DeclDISPID(516) public void setTabFixedHeight(final Float value) throws ComException {
assert(value != null);
this._dispatchCall(516,"TabFixedHeight", DISPATCH_PROPERTYPUT,value);
}
@DeclDISPID(516) public Float getTabFixedHeight() throws ComException {
final Object obj = this._dispatchCall(516,"TabFixedHeight", DISPATCH_PROPERTYGET,null);
if (obj == null) return null;
return (Float)obj;
}
public IMultiPageImpl(String progId) throws ComException {
super(progId, "{04598FC9-866C-11CF-AB7C-00AA00C08FCF}");
}
protected IMultiPageImpl(long ndisp) {
super(ndisp);
}
public String toString() {
return "[IMultiPageImpl" + super.toString() + "]";
}
}