int a = com.sun.star.chart.ChartSymbolType.AUTO; int b = com.sun.star.chart.ChartSymbolType.NONE; if ( ((Integer) oldValue).intValue() == a) return Integer.valueOf(b); else return Integer.valueOf(a);
}
} ;
/** *Testsproperty'SymbolBitmapURL'.
*/ publicvoid _SymbolBitmapURL() {
log.println("Testing with custom Property tester") ; try {
oObj.setPropertyValue("SymbolType",
Integer.valueOf(com.sun.star.chart.ChartSymbolType.BITMAPURL));
} catch(com.sun.star.lang.WrappedTargetException e) {
log.println("Exception while set property value");
e.printStackTrace(log); thrownew StatusException("Exception while set property value", e);
} catch(com.sun.star.lang.IllegalArgumentException e) {
log.println("Exception while set property value");
e.printStackTrace(log); thrownew StatusException("Exception while set property value", e);
} catch(com.sun.star.beans.PropertyVetoException e) {
log.println("Exception while set property value");
e.printStackTrace(log); thrownew StatusException("Exception while set property value", e);
} catch(com.sun.star.beans.UnknownPropertyException e) {
log.println("Exception while set property value");
e.printStackTrace(log); thrownew StatusException("Exception while set property value", e);
}
try {
oObj.setPropertyValue( "SymbolBitmapURL",
util.utils.getFullTestURL("space-metal.jpg") );
} catch(com.sun.star.lang.WrappedTargetException e) {
log.println("Exception while set property value");
e.printStackTrace(log); thrownew StatusException("Exception while set property value", e);
} catch(com.sun.star.lang.IllegalArgumentException e) {
log.println("Exception while set property value");
e.printStackTrace(log); thrownew StatusException("Exception while set property value", e);
} catch(com.sun.star.beans.PropertyVetoException e) {
log.println("Exception while set property value");
e.printStackTrace(log); thrownew StatusException("Exception while set property value", e);
} catch(com.sun.star.beans.UnknownPropertyException e) {
log.println("Exception while set property value");
e.printStackTrace(log); thrownew StatusException("Exception while set property value", e);
}
}
} // EOF LineDiagram
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.