public class TextLogoPainter extends Object implements LogoPainter
Constructor and Description |
---|
TextLogoPainter() |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener) |
void |
addPropertyChangeListener(String propertyName,
PropertyChangeListener listener) |
void |
firePropertyChange(PropertyChangeEvent evt) |
void |
firePropertyChange(String propertyName,
boolean oldValue,
boolean newValue) |
void |
firePropertyChange(String propertyName,
int oldValue,
int newValue) |
void |
firePropertyChange(String propertyName,
Object oldValue,
Object newValue) |
Font |
getLogoFont()
Retrieve the current font.
|
boolean |
hasListeners(String propertyName) |
void |
paintLogo(LogoContext ctxt)
Render the state from sl onto the graphics object g.
|
void |
removePropertyChangeListener(PropertyChangeListener listener) |
void |
removePropertyChangeListener(String propertyName,
PropertyChangeListener listener) |
void |
setLogoFont(Font logoFont)
Set the current logo font.
|
public TextLogoPainter()
public Font getLogoFont()
public void setLogoFont(Font logoFont)
logoFont
- the new Font to render the logo letters inpublic void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)
public void removePropertyChangeListener(String propertyName, PropertyChangeListener listener)
public void firePropertyChange(String propertyName, Object oldValue, Object newValue)
public void firePropertyChange(String propertyName, int oldValue, int newValue)
public void firePropertyChange(String propertyName, boolean oldValue, boolean newValue)
public void firePropertyChange(PropertyChangeEvent evt)
public boolean hasListeners(String propertyName)
public void paintLogo(LogoContext ctxt)
LogoPainter
paintLogo
in interface LogoPainter
ctxt
- the LogoContext to renderCopyright © 2014 BioJava. All rights reserved.