net.rgielen.com4j.office2010.excel.IMenuItems Maven / Gradle / Ivy
The newest version!
package net.rgielen.com4j.office2010.excel ;
import com4j.*;
@IID("{00020867-0001-0000-C000-000000000046}")
public interface IMenuItems extends Com4jObject,Iterable {
// Methods:
/**
*
* Getter method for the COM property "Application"
*
* @return Returns a value of type net.rgielen.com4j.office2010.excel._Application
*/
@VTID(7)
net.rgielen.com4j.office2010.excel._Application application();
/**
*
* Getter method for the COM property "Creator"
*
* @return Returns a value of type net.rgielen.com4j.office2010.excel.XlCreator
*/
@VTID(8)
net.rgielen.com4j.office2010.excel.XlCreator creator();
/**
*
* Getter method for the COM property "Parent"
*
* @return Returns a value of type com4j.Com4jObject
*/
@VTID(9)
@ReturnValue(type=NativeType.Dispatch)
com4j.Com4jObject parent();
/**
* @param caption Mandatory java.lang.String parameter.
* @param onAction Optional parameter. Default value is com4j.Variant.getMissing()
* @param shortcutKey Optional parameter. Default value is com4j.Variant.getMissing()
* @param before Optional parameter. Default value is com4j.Variant.getMissing()
* @param restore Optional parameter. Default value is com4j.Variant.getMissing()
* @param statusBar Optional parameter. Default value is com4j.Variant.getMissing()
* @param helpFile Optional parameter. Default value is com4j.Variant.getMissing()
* @param helpContextID Optional parameter. Default value is com4j.Variant.getMissing()
* @return Returns a value of type net.rgielen.com4j.office2010.excel.MenuItem
*/
@VTID(10)
net.rgielen.com4j.office2010.excel.MenuItem add(
java.lang.String caption,
@Optional @MarshalAs(NativeType.VARIANT) java.lang.Object onAction,
@Optional @MarshalAs(NativeType.VARIANT) java.lang.Object shortcutKey,
@Optional @MarshalAs(NativeType.VARIANT) java.lang.Object before,
@Optional @MarshalAs(NativeType.VARIANT) java.lang.Object restore,
@Optional @MarshalAs(NativeType.VARIANT) java.lang.Object statusBar,
@Optional @MarshalAs(NativeType.VARIANT) java.lang.Object helpFile,
@Optional @MarshalAs(NativeType.VARIANT) java.lang.Object helpContextID);
/**
* @param caption Mandatory java.lang.String parameter.
* @param before Optional parameter. Default value is com4j.Variant.getMissing()
* @param restore Optional parameter. Default value is com4j.Variant.getMissing()
* @return Returns a value of type net.rgielen.com4j.office2010.excel.Menu
*/
@VTID(11)
net.rgielen.com4j.office2010.excel.Menu addMenu(
java.lang.String caption,
@Optional @MarshalAs(NativeType.VARIANT) java.lang.Object before,
@Optional @MarshalAs(NativeType.VARIANT) java.lang.Object restore);
/**
*
* Getter method for the COM property "Count"
*
* @return Returns a value of type int
*/
@VTID(12)
int count();
/**
*
* Getter method for the COM property "_Default"
*
* @param index Mandatory java.lang.Object parameter.
* @return Returns a value of type com4j.Com4jObject
*/
@VTID(13)
@DefaultMethod
@ReturnValue(type=NativeType.Dispatch)
com4j.Com4jObject _Default(
@MarshalAs(NativeType.VARIANT) java.lang.Object index);
/**
*
* Getter method for the COM property "Item"
*
* @param index Mandatory java.lang.Object parameter.
* @return Returns a value of type com4j.Com4jObject
*/
@VTID(14)
@ReturnValue(type=NativeType.Dispatch)
com4j.Com4jObject item(
@MarshalAs(NativeType.VARIANT) java.lang.Object index);
/**
*
* Getter method for the COM property "_NewEnum"
*
*/
@VTID(15)
java.util.Iterator iterator();
// Properties:
}