|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
JCLabelGenerator
is an interface that can be used to generate
labels for a JCTick
. It has one method,
makeLabel()
, which is called by the gauge when a label is
required at a particular value.
Method Summary | |
JComponent |
makeLabel(com.klg.jclass.swing.gauge.JCTick tick,
double value,
com.klg.jclass.swing.gauge.GaugeConstraint constraint)
Callback called by gauge whenever a label is required. |
Method Detail |
public JComponent makeLabel(com.klg.jclass.swing.gauge.JCTick tick, double value, com.klg.jclass.swing.gauge.GaugeConstraint constraint)
tick
- the JCTick
for which the label is to be generatedvalue
- the current value of the tickconstraint
- The encapsulation of the extent and angle/position at
which this label will be placed. layoutContainer
when the label is
laid out.
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |