JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.chart3d
Interface JCLabelGenerator


public interface JCLabelGenerator

An interface that can be used to generate labels for an axis. It has one method -- makeLabel() -- which is called by a JClass Chart 3D when a label is required at a particular value.


Method Summary
 void makeLabel(com.klg.jclass.chart3d.JCValueLabel valueLabel)
          Callback called by a chart 3D whenever a label is required.
 

Method Detail

makeLabel

public void makeLabel(com.klg.jclass.chart3d.JCValueLabel valueLabel)
Callback called by a chart 3D whenever a label is required.

Parameters:
valueLabel - This method is passed the internal value label that is generated for a given value. The user can modify the label, drawLabel, drawTick, minorTick, background, and foreground properties of the value label if desired. The value property is readonly and will be set back to the original value after the method returns. The label can be changed to whatever the user desires for the given value (a null or string of length 0 will cause no label to be drawn for this value).
See Also:
JCValueLabel

Copyright © 2004 Quest Software Inc..
All rights reserved.