public class SimpleSymbolStyle extends java.lang.Object implements SymbolStyle
| Constructor and Description |
|---|
SimpleSymbolStyle(FiniteAlphabet alphabet) |
| Modifier and Type | Method and Description |
|---|---|
java.awt.Paint |
fillPaint(Symbol s)
Return the fill paint for a symbol.
|
Alphabet |
getAlphabet() |
static java.util.Map |
getStandardFillPaints(Alphabet alpha) |
static java.util.Map |
getStandardOutlinePaints(Alphabet alpha) |
java.awt.Paint |
outlinePaint(Symbol s)
Return the outline paint for a symbol.
|
void |
setFillPaint(Symbol s,
java.awt.Paint paint) |
void |
setOutlinePaint(Symbol s,
java.awt.Paint paint) |
public SimpleSymbolStyle(FiniteAlphabet alphabet)
public Alphabet getAlphabet()
public java.awt.Paint outlinePaint(Symbol s) throws IllegalSymbolException
SymbolStyleoutlinePaint in interface SymbolStyles - the symbol to outlineIllegalSymbolException - if this SymbolStyle can not handle the
symbolpublic java.awt.Paint fillPaint(Symbol s) throws IllegalSymbolException
SymbolStylefillPaint in interface SymbolStyles - the symbol to fillIllegalSymbolException - if this SymbolStyle can not handle the
symbolpublic void setOutlinePaint(Symbol s, java.awt.Paint paint) throws IllegalSymbolException
IllegalSymbolExceptionpublic void setFillPaint(Symbol s, java.awt.Paint paint) throws IllegalSymbolException
IllegalSymbolExceptionpublic static java.util.Map getStandardFillPaints(Alphabet alpha)
public static java.util.Map getStandardOutlinePaints(Alphabet alpha)
Copyright © 2018 BioJava. All Rights Reserved.