org.jppf.ui.monitoring.charts
Class Bar3DChartHandler.CategoryItemLabelGeneratorInvocationHandler

java.lang.Object
  extended by org.jppf.ui.monitoring.charts.Bar3DChartHandler.CategoryItemLabelGeneratorInvocationHandler
All Implemented Interfaces:
InvocationHandler
Enclosing class:
Bar3DChartHandler

public static class Bar3DChartHandler.CategoryItemLabelGeneratorInvocationHandler
extends Object
implements InvocationHandler

Invocation handler for a dynamic proxy to a org.jppf.ui.monitoring.charts.PlotXYChartHandler.LegendLabelGenerator implementation.


Constructor Summary
Bar3DChartHandler.CategoryItemLabelGeneratorInvocationHandler(String unit, int precision)
          Initialize this label generator by configuring the NumberFormat instance it uses.
 
Method Summary
 Object invoke(Object proxy, Method method, Object[] args)
          Invoke a specified method on the specified proxy.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Bar3DChartHandler.CategoryItemLabelGeneratorInvocationHandler

public Bar3DChartHandler.CategoryItemLabelGeneratorInvocationHandler(String unit,
                                                                     int precision)
Initialize this label generator by configuring the NumberFormat instance it uses.

Parameters:
unit - the unit to display for the values.
precision - the number of fraction digits to display for the values.
Method Detail

invoke

public Object invoke(Object proxy,
                     Method method,
                     Object[] args)
              throws Throwable
Invoke a specified method on the specified proxy.

Specified by:
invoke in interface InvocationHandler
Parameters:
proxy - the dynamic proxy to invoke the method on.
method - the method to invoke.
args - the method parameters values.
Returns:
the result of the method invocation.
Throws:
Throwable - if any error occurs.
See Also:
InvocationHandler.invoke(java.lang.Object, java.lang.reflect.Method, java.lang.Object[])


Copyright © 2005-2010 JPPF Team.