|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
JCLegendRenderer
is an interface implemented by a class that
wishes to help render the legend.
Method Summary | |
void |
drawLegendItem(Graphics gc,
Font useFont,
com.klg.jclass.util.legend.JCLegendItem thisItem)
Used for implementing custom legend item draws. |
void |
drawLegendItemSymbol(Graphics gc,
Font useFont,
com.klg.jclass.util.legend.JCLegendItem thisItem)
Used for implementing custom symbol draws for a legend item. |
void |
drawLegendItemText(Graphics gc,
Font useFont,
com.klg.jclass.util.legend.JCLegendItem thisItem)
Used for implementing custom text draws for a legend item. |
Color |
getOutlineColor(com.klg.jclass.util.legend.JCLegendItem thisItem)
Retrieves the outline color to use when drawing the legend item's symbol. |
void |
setFillGraphics(Graphics gc,
com.klg.jclass.util.legend.JCLegendItem thisItem)
Called to set the provided Graphics object with the appropriate
paint settings for use in drawing this legend item's symbol. |
Method Detail |
public void drawLegendItem(Graphics gc, Font useFont, com.klg.jclass.util.legend.JCLegendItem thisItem)
JCLegend.CUSTOM_ALL
.
If implemented, the method should draw both the symbol and text portions
of the specified legend item. If CUSTOM_ALL
is not used by this
legend implementation, simply return out of the method.
gc
- graphics object used to draw the legenduseFont
- the font being used in this legendthisItem
- the JCLegendItem
object representing the
legend item to drawpublic void drawLegendItemSymbol(Graphics gc, Font useFont, com.klg.jclass.util.legend.JCLegendItem thisItem)
JCLegend.CUSTOM_SYMBOL
. If CUSTOM_SYMBOL
is not
used by this legend implementation, simply return out of the method.
gc
- graphics object used to draw the legenduseFont
- the font being used in this legendthisItem
- the JCLegendItem
object representing the
legend item to drawpublic void drawLegendItemText(Graphics gc, Font useFont, com.klg.jclass.util.legend.JCLegendItem thisItem)
gc
- graphics object used to draw the legenduseFont
- the font being used in this legendthisItem
- the JCLegendItem
object representing the
legend item to drawpublic Color getOutlineColor(com.klg.jclass.util.legend.JCLegendItem thisItem)
thisItem
- the JCLegendItem
object representing the
legend item in question
public void setFillGraphics(Graphics gc, com.klg.jclass.util.legend.JCLegendItem thisItem)
Graphics
object with the appropriate
paint settings for use in drawing this legend item's symbol.
gc
- the Graphics
object to changethisItem
- the JCLegendItem
object representing the legend
item in question
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |