|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.biojava.bio.gui.glyph.RectangleGlyph
public class RectangleGlyph
A Glyph that paints a rectangle shape within the bounds.
| Constructor Summary | |
|---|---|
RectangleGlyph()
|
|
RectangleGlyph(java.awt.Paint paint)
|
|
RectangleGlyph(java.awt.geom.Rectangle2D.Float bounds)
|
|
| Method Summary | |
|---|---|
java.awt.geom.Rectangle2D.Float |
getBounds()
|
java.awt.Paint |
getPaint()
|
void |
render(java.awt.Graphics2D g)
|
void |
setBounds(java.awt.geom.Rectangle2D.Float r)
|
void |
setPaint(java.awt.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 |
|---|
public RectangleGlyph()
public RectangleGlyph(java.awt.geom.Rectangle2D.Float bounds)
public RectangleGlyph(java.awt.Paint paint)
| Method Detail |
|---|
public java.awt.geom.Rectangle2D.Float getBounds()
getBounds in interface Glyphpublic void setBounds(java.awt.geom.Rectangle2D.Float r)
setBounds in interface Glyphpublic void render(java.awt.Graphics2D g)
render in interface Glyphpublic java.awt.Paint getPaint()
public void setPaint(java.awt.Paint forePaint)
forePaint -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||