|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecty.view.Graph2DPrinter.DefaultTitleDrawable
public static class Graph2DPrinter.DefaultTitleDrawable
Default title drawable implementation.
| Constructor Summary | |
|---|---|
Graph2DPrinter.DefaultTitleDrawable()
|
|
| Method Summary | |
|---|---|
Rectangle |
getBounds()
returns the bounds of this drawable. |
Font |
getFont()
|
Graph2DPrinter.PrintContext |
getPrintContext()
|
String |
getText()
|
Color |
getTextColor()
|
Color |
getTitleBarColor()
|
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 title. |
void |
setFont(Font font)
|
void |
setPrintContext(Graph2DPrinter.PrintContext printContext)
|
void |
setText(String text)
|
void |
setTextColor(Color textColor)
|
void |
setTitleBarColor(Color titleBarColor)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Graph2DPrinter.DefaultTitleDrawable()
| Method Detail |
|---|
public void setContext(Graph2DPrinter.PrintContext printContext)
Graph2DPrinter.TitleDrawable
setContext in interface Graph2DPrinter.TitleDrawablepublic 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 getTitleBarColor()
public void setTitleBarColor(Color titleBarColor)
titleBarColor - The titleBarColor 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 | ||||||||