public abstract class ColorAndFontDescription extends TextAttributes implements EditorSchemeAttributeDescriptorWithPath
ERASE_MARKER
NAME_SEPARATOR
Constructor and Description |
---|
ColorAndFontDescription(java.lang.String name,
java.lang.String group,
java.lang.String type,
EditorColorsScheme scheme,
javax.swing.Icon icon,
java.lang.String toolTip) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
TextAttributes |
getBaseAttributes() |
abstract java.awt.Color |
getExternalBackground() |
abstract java.awt.Color |
getExternalEffectColor() |
abstract EffectType |
getExternalEffectType() |
abstract java.awt.Color |
getExternalErrorStripe() |
abstract java.awt.Color |
getExternalForeground() |
Pair<ColorAndFontDescriptorsProvider,? extends AbstractKeyDescriptor> |
getFallbackKeyDescriptor() |
abstract int |
getFontType() |
java.lang.String |
getGroup() |
javax.swing.Icon |
getIcon() |
EditorColorsScheme |
getScheme() |
java.lang.String |
getToolTip() |
java.lang.String |
getType() |
int |
hashCode() |
protected void |
initCheckedStatus() |
boolean |
isBackgroundChecked() |
boolean |
isBackgroundEnabled() |
boolean |
isEditable() |
boolean |
isEffectsColorChecked() |
boolean |
isEffectsColorEnabled() |
boolean |
isErrorStripeChecked() |
boolean |
isErrorStripeEnabled() |
boolean |
isFontEnabled() |
boolean |
isForegroundChecked() |
boolean |
isForegroundEnabled() |
boolean |
isInherited() |
boolean |
isModified() |
boolean |
isTransparencyEnabled() |
void |
setBackgroundChecked(boolean val) |
void |
setBackgroundColor(java.awt.Color col) |
void |
setEffectColor(java.awt.Color col) |
void |
setEffectsColorChecked(boolean val) |
void |
setEffectType(EffectType effectType) |
void |
setErrorStripeChecked(boolean val) |
void |
setErrorStripeColor(java.awt.Color color) |
abstract void |
setExternalBackground(java.awt.Color col) |
abstract void |
setExternalEffectColor(java.awt.Color color) |
abstract void |
setExternalEffectType(EffectType type) |
abstract void |
setExternalErrorStripe(java.awt.Color col) |
abstract void |
setExternalForeground(java.awt.Color col) |
abstract void |
setFontType(int type) |
void |
setForegroundChecked(boolean val) |
void |
setForegroundColor(java.awt.Color col) |
void |
setInherited(boolean isInherited) |
java.lang.String |
toString() |
clone, copyFrom, forEachAdditionalEffect, forEachEffect, fromFlyweight, getBackgroundColor, getEffectColor, getEffectType, getErrorStripeColor, getFlyweight, getForegroundColor, hasEffects, isEmpty, merge, readExternal, setAdditionalEffects, setAttributes, setAttributes, withAdditionalEffect, withAdditionalEffects, writeExternal
finalize, getClass, notify, notifyAll, wait, wait, wait
apply
public ColorAndFontDescription(java.lang.String name, java.lang.String group, java.lang.String type, EditorColorsScheme scheme, javax.swing.Icon icon, java.lang.String toolTip)
public java.lang.String toString()
toString
in class TextAttributes
public java.lang.String getGroup()
getGroup
in interface EditorSchemeAttributeDescriptor
public java.lang.String getType()
getType
in interface EditorSchemeAttributeDescriptor
public EditorColorsScheme getScheme()
getScheme
in interface EditorSchemeAttributeDescriptor
public javax.swing.Icon getIcon()
public java.lang.String getToolTip()
protected void initCheckedStatus()
public abstract java.awt.Color getExternalForeground()
public abstract java.awt.Color getExternalBackground()
public abstract java.awt.Color getExternalErrorStripe()
public abstract java.awt.Color getExternalEffectColor()
public abstract EffectType getExternalEffectType()
public abstract void setExternalForeground(java.awt.Color col)
public abstract void setExternalBackground(java.awt.Color col)
public abstract void setExternalErrorStripe(java.awt.Color col)
public abstract void setExternalEffectColor(java.awt.Color color)
public abstract void setExternalEffectType(EffectType type)
public final void setForegroundColor(java.awt.Color col)
setForegroundColor
in class TextAttributes
public boolean isTransparencyEnabled()
public final void setBackgroundColor(java.awt.Color col)
setBackgroundColor
in class TextAttributes
public void setErrorStripeColor(java.awt.Color color)
setErrorStripeColor
in class TextAttributes
public final void setEffectColor(java.awt.Color col)
setEffectColor
in class TextAttributes
public final void setEffectType(EffectType effectType)
setEffectType
in class TextAttributes
public boolean isForegroundChecked()
public boolean isBackgroundChecked()
public boolean isErrorStripeChecked()
public boolean isEffectsColorChecked()
public final void setForegroundChecked(boolean val)
public final void setBackgroundChecked(boolean val)
public final void setErrorStripeChecked(boolean val)
public final void setEffectsColorChecked(boolean val)
public abstract int getFontType()
getFontType
in class TextAttributes
public abstract void setFontType(int type)
setFontType
in class TextAttributes
public boolean isFontEnabled()
public boolean isForegroundEnabled()
public boolean isBackgroundEnabled()
public boolean isErrorStripeEnabled()
public boolean isEffectsColorEnabled()
public boolean isModified()
isModified
in interface EditorSchemeAttributeDescriptor
public final boolean isInherited()
public void setInherited(boolean isInherited)
public boolean isEditable()
public TextAttributes getBaseAttributes()
public Pair<ColorAndFontDescriptorsProvider,? extends AbstractKeyDescriptor> getFallbackKeyDescriptor()
public boolean equals(java.lang.Object o)
equals
in class TextAttributes
public int hashCode()
hashCode
in class TextAttributes