/** provides global helpers
*/ class dbfTools
{ /* ------------------------------------------------------------------ */ /** disposes the component given
*/ publicstaticvoid disposeComponent( Object xComp ) throws java.lang.RuntimeException
{
XComponent xComponent = queryComponent( xComp ); if ( null != xComponent )
xComponent.dispose();
}
/* ------------------------------------------------------------------ */ /** queries an object for the XPropertySet interface
*/ publicstatic XPropertySet queryPropertySet( Object aComp )
{ return UnoRuntime.queryInterface( XPropertySet.class, aComp );
}
/* ------------------------------------------------------------------ */ /** queries an object for the XIndexContainer interface
*/ publicstatic XIndexContainer queryIndexContainer( Object aComp )
{ return UnoRuntime.queryInterface( XIndexContainer.class, aComp );
}
/* ------------------------------------------------------------------ */ /** queries an object for the XComponent interface
*/ publicstatic XComponent queryComponent( Object aComp )
{ return UnoRuntime.queryInterface( XComponent.class, aComp );
}
/* ------------------------------------------------------------------ */ /** retrieves the parent of the given object
*/
@SuppressWarnings("unchecked") static Object getParent( Object aComponent, Class aInterfaceClass )
{
XChild xAsChild = UnoRuntime.queryInterface( XChild.class, aComponent ); return UnoRuntime.queryInterface( aInterfaceClass, xAsChild.getParent() );
}
}
Messung V0.5 in Prozent
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.10Bemerkung:
(vorverarbeitet am 2026-10-04)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.