com.l2fprod.common.swing
Class MonospacedFontChooserModel

java.lang.Object
  extended by com.l2fprod.common.swing.DefaultFontChooserModel
      extended by com.l2fprod.common.swing.MonospacedFontChooserModel
All Implemented Interfaces:
FontChooserModel

public class MonospacedFontChooserModel
extends DefaultFontChooserModel

An extension of the DefaultFontChooserModel showing only Monospaced fonts.


Field Summary
 
Fields inherited from class com.l2fprod.common.swing.DefaultFontChooserModel
DEFAULT_FONT_SIZES, fontFamilies
 
Constructor Summary
MonospacedFontChooserModel()
           
 
Method Summary
protected  boolean isMonospaced(java.lang.String fontFamily)
           
 
Methods inherited from class com.l2fprod.common.swing.DefaultFontChooserModel
getCharSets, getDefaultSizes, getFontFamilies, getPreviewMessage, setCharSets, setDefaultFontSizes, setFontFamilies, setPreviewMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MonospacedFontChooserModel

public MonospacedFontChooserModel()
Method Detail

isMonospaced

protected boolean isMonospaced(java.lang.String fontFamily)
Parameters:
fontFamily -
Returns:
true if fontFamily can be considered as Monospaced, i.e if it contains the strings Fixed, Monospaced, ProFont, Console or Typewriter