org.biojava.bio.gui.glyph
Class TurnGlyph

java.lang.Object
  extended by org.biojava.bio.gui.glyph.TurnGlyph
All Implemented Interfaces:
Glyph

public class TurnGlyph
extends Object
implements Glyph

A Glyph that paints a wide 'H' line within the bounds

Since:
1.5
Author:
Mark Southern

Constructor Summary
TurnGlyph()
           
TurnGlyph(Paint paint, Stroke stroke)
           
TurnGlyph(Rectangle2D.Float bounds)
           
 
Method Summary
 Rectangle2D.Float getBounds()
           
 Paint getPaint()
           
 void render(Graphics2D g)
           
 void setBounds(Rectangle2D.Float r)
           
 void setPaint(Paint forePaint)
          Allows you to set the paint properties of this glyph, i.e., its color.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TurnGlyph

public TurnGlyph()

TurnGlyph

public TurnGlyph(Rectangle2D.Float bounds)

TurnGlyph

public TurnGlyph(Paint paint,
                 Stroke stroke)
Method Detail

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

getPaint

public Paint getPaint()
Returns:
The currently set paint properties of this glyph.

setPaint

public void setPaint(Paint forePaint)
Allows you to set the paint properties of this glyph, i.e., its color.

Parameters:
forePaint -