Package org.jungrapht.samples.util
Class TitlePaintable
- java.lang.Object
-
- org.jungrapht.samples.util.TitlePaintable
-
- All Implemented Interfaces:
VisualizationServer.Paintable
public class TitlePaintable extends Object implements VisualizationServer.Paintable
-
-
Constructor Summary
Constructors Constructor Description TitlePaintable(String title, Dimension overallSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
paint(Graphics g)
void
setTitle(String title)
boolean
useTransform()
-
-
-
Method Detail
-
setTitle
public void setTitle(String title)
-
paint
public void paint(Graphics g)
- Specified by:
paint
in interfaceVisualizationServer.Paintable
-
useTransform
public boolean useTransform()
- Specified by:
useTransform
in interfaceVisualizationServer.Paintable
-
-