1 19 20 package org.netbeans.api.editor.settings; 21 22 import javax.swing.text.AttributeSet ; 23 24 57 public abstract class FontColorSettings { 58 59 62 public static final String PROP_FONT_COLORS = "fontColors"; 64 67 public FontColorSettings() { 68 if (!getClass().getName().startsWith("org.netbeans.modules.editor.settings.storage")) { throw new IllegalStateException ("Instantiation prohibited. " + getClass().getName()); } 72 } 73 74 81 public abstract AttributeSet getFontColors(String settingName); 82 83 90 public abstract AttributeSet getTokenFontColors(String tokenName); 91 92 } 93 | Popular Tags |