:: com :: sun :: star :: inspection ::

service ObjectInspectorModel
Supported Interface
XObjectInspectorModel
Description
describes a default implementation of an ObjectInspectorModel

This service simplifies usage of an ObjectInspector.

The XObjectInspectorModel implemented by this service will not provide any property categories, nor apply any particular order to the properties provided by its handler(s).

Since
OOo 2.0.3
See also
ObjectInspector, XObjectInspectorModel, XObjectInspectorModel::describeCategories, XObjectInspectorModel::getPropertyOrderIndex


Constructors' Summary
createDefault creates a default ObjectInspectorModel, whose one and only handler factory creates a GenericPropertyHandler.  
createWithHandlerFactories creates a default ObjectInspectorModel, using an externally provided sequence of property handler factories.  
createWithHandlerFactoriesAndHelpSection creates a default ObjectInspectorModel, using an externally provided sequence of property handler factories, and describing an ObjectInspector which has a help section.  
Constructors' Details
createDefault
createDefault();

Description
creates a default ObjectInspectorModel, whose one and only handler factory creates a GenericPropertyHandler.
createWithHandlerFactories
createWithHandlerFactories( [in] sequence< any >  handlerFactories )
raises( ::com::sun::star::lang::IllegalArgumentException );

Description
creates a default ObjectInspectorModel, using an externally provided sequence of property handler factories.
Parameter handlerFactories
a sequence of handler factories, as to be provided in the XObjectInspectorModel::HandlerFactories method.
Throws
::com::sun::star::lang::IllegalArgumentException if the given sequence is empty.
See also
XObjectInspectorModel::HandlerFactories
createWithHandlerFactoriesAndHelpSection
createWithHandlerFactoriesAndHelpSection( [in] sequence< any >  handlerFactories,
[in] long  minHelpTextLines,
[in] long  maxHelpTextLines )
raises( ::com::sun::star::lang::IllegalArgumentException );

Description
creates a default ObjectInspectorModel, using an externally provided sequence of property handler factories, and describing an ObjectInspector which has a help section.
Parameter handlerFactories
a sequence of handler factories, as to be provided in the XObjectInspectorModel::HandlerFactories method.
Parameter minHelpTextLines
denotes the minimum number of lines of text to be reserved for the help section.
Parameter maxHelpTextLines
denotes the maximum number of lines of text to be reserved for the help section.
Throws
::com::sun::star::lang::IllegalArgumentException if handlerFactories is empty.
Throws
::com::sun::star::lang::IllegalArgumentException if minHelpTextLines or maxHelpTextLines are negative, or if minHelpTextLines is greater than maxHelpTextLines.
Since
OOo 2.2
See also
XObjectInspectorModel::HandlerFactories, XObjectInspectorModel::HasHelpSection, XObjectInspectorModel::MinHelpTextLines, XObjectInspectorModel::MaxHelpTextLines

 
Top of Page