Constructor and Description |
---|
FontStyleFilter(int style)
Creates a font filter that filters font on the given style.
|
Modifier and Type | Method and Description |
---|---|
boolean |
accept(Font element)
Checks whether or not the specified element is accepted.
|
void |
setStyle(int style)
Sets the style.
|
public FontStyleFilter(int style)
style
- the style to use for the filter.public void setStyle(int style)
style
- the style to use for the filter.public boolean accept(Font element)
Filter