org.biojava.bio.gui.glyph
Class ArrowGlyph
java.lang.Object
org.biojava.bio.gui.glyph.ArrowGlyph
- All Implemented Interfaces:
- Glyph
public class ArrowGlyph
- extends Object
- implements Glyph
A Glyph that paints an arrow shape within the bounds.
Currently it only renders a right facing arrow.
- Since:
- 1.5
- Author:
- Mark Southern
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArrowGlyph
public ArrowGlyph()
ArrowGlyph
public ArrowGlyph(Rectangle2D.Float bounds)
getBounds
public Rectangle2D.Float getBounds()
- Specified by:
getBounds
in interface Glyph
setBounds
public void setBounds(Rectangle2D.Float r)
- Specified by:
setBounds
in interface Glyph
render
public void render(Graphics2D g)
- Specified by:
render
in interface Glyph