Package org.biojava.bio.gui
Class PlainStyle
java.lang.Object
org.biojava.bio.gui.PlainStyle
- All Implemented Interfaces:
SymbolStyle
A simple implementation of SymbolStyle that just uses a single paint for
outlines and a single paint for filling.
- Author:
- Matthew Pocock
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PlainStyle
public PlainStyle() -
PlainStyle
-
-
Method Details
-
outlinePaint
Description copied from interface:SymbolStyle
Return the outline paint for a symbol.- Specified by:
outlinePaint
in interfaceSymbolStyle
- Parameters:
s
- the symbol to outline- Returns:
- the Paint to use
-
fillPaint
Description copied from interface:SymbolStyle
Return the fill paint for a symbol.- Specified by:
fillPaint
in interfaceSymbolStyle
- Parameters:
s
- the symbol to fill- Returns:
- the Paint to use
-