|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecty.view.Graph2DPrinter.DefaultFooterDrawable
public static class Graph2DPrinter.DefaultFooterDrawable
Default footer drawable implementation.
![]() |
![]() |
| Constructor Summary | |
|---|---|
Graph2DPrinter.DefaultFooterDrawable()
|
|
| Method Summary | |
|---|---|
Rectangle |
getBounds()
returns the bounds of this drawable. |
Font |
getFont()
|
Color |
getFooterColor()
|
Graph2DPrinter.PrintContext |
getPrintContext()
|
String |
getText()
|
Color |
getTextColor()
|
void |
paint(Graphics2D gfx)
Paints itself on the given graphics context. |
void |
setContext(Graph2DPrinter.PrintContext printContext)
This method will be invoked by the surrounding class to set the PrintContext used for drawing the footer. |
void |
setFont(Font font)
|
void |
setFooterColor(Color footerColor)
|
void |
setPrintContext(Graph2DPrinter.PrintContext printContext)
|
void |
setText(String text)
|
void |
setTextColor(Color textColor)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Graph2DPrinter.DefaultFooterDrawable()
| Method Detail |
|---|
public void setContext(Graph2DPrinter.PrintContext printContext)
Graph2DPrinter.FooterDrawable
setContext in interface Graph2DPrinter.FooterDrawablepublic void paint(Graphics2D gfx)
Drawable
paint in interface Drawablepublic Rectangle getBounds()
Drawable
getBounds in interface Drawablepublic Font getFont()
public void setFont(Font font)
font - The font to set.public Graph2DPrinter.PrintContext getPrintContext()
public void setPrintContext(Graph2DPrinter.PrintContext printContext)
printContext - The printContext to set.public String getText()
public void setText(String text)
text - The text to set.public Color getTextColor()
public void setTextColor(Color textColor)
textColor - The textColor to set.public Color getFooterColor()
public void setFooterColor(Color footerColor)
footerColor - The background color of the footer to set.
|
© Copyright 2000-2008, yWorks GmbH. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||