|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.biojava.bio.gui.PlainStyle
public class PlainStyle
A simple implementation of SymbolStyle that just uses a single paint for outlines and a single paint for filling.
Constructor Summary | |
---|---|
PlainStyle()
|
|
PlainStyle(java.awt.Paint outlinePaint,
java.awt.Paint fillPaint)
|
Method Summary | |
---|---|
java.awt.Paint |
fillPaint(Symbol s)
Return the fill paint for a symbol. |
java.awt.Paint |
outlinePaint(Symbol s)
Return the outline paint for a symbol. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PlainStyle()
public PlainStyle(java.awt.Paint outlinePaint, java.awt.Paint fillPaint)
Method Detail |
---|
public java.awt.Paint outlinePaint(Symbol s)
SymbolStyle
outlinePaint
in interface SymbolStyle
s
- the symbol to outline
public java.awt.Paint fillPaint(Symbol s)
SymbolStyle
fillPaint
in interface SymbolStyle
s
- the symbol to fill
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |