|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TimeScaleRenderer
Interface for a renderer used to render a time scale in the TimeBarViewer. Care has to be taken not to create a
JComponent for every call of getRendererComponent
. The renderer should guard one JComponent to configure
and return on subsequent calls.
Method Summary | |
---|---|
int |
getHeight()
Return the height needed for painting the time scale. |
javax.swing.JComponent |
getRendererComponent(TimeBarViewer tbv,
boolean top)
Return a JComponent to be used to render the time scale. |
Method Detail |
---|
javax.swing.JComponent getRendererComponent(TimeBarViewer tbv, boolean top)
The component may implement getToolTipText(MouseEvent evt)
to return a proper tooltip for the
location
tbv
- the TimeBarViwer the component is used fortop
- if true the scale is drawn at the top of the diagram
int getHeight()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |