Weitere aktuelle Java-Titel finden Sie bei dpunkt.
 Inhaltsverzeichnis   Vorhergehendes Paket   Seite Zurück   Seite Vor   Nächstes Paket   Paketübersicht   Index

Klasse javax.swing.text.StyleContext1.2

java.lang.Object
   |
   +--javax.swing.text.StyleContext

Deklaration

public class StyleContext
extends java.lang.Object
implements java.io.Serializable, javax.swing.text.AbstractDocument.AttributeContext

Beschreibung


 
Datenelemente
public final static StringDEFAULT_STYLE
 
Konstruktoren
publicStyleContext()
 
Methoden
public final static StyleContextgetDefaultStyleContext()
public StyleaddStyle(String nm, Style parent)
public voidremoveStyle(String nm)
public StylegetStyle(String nm)
public EnumerationgetStyleNames()
public voidaddChangeListener(ChangeListener l)
public voidremoveChangeListener(ChangeListener l)
public ChangeListener[]getChangeListeners()     [1.4]
public FontgetFont(AttributeSet attr)
public ColorgetForeground(AttributeSet attr)
public ColorgetBackground(AttributeSet attr)
public FontgetFont(String family, int style, int size)
public FontMetricsgetFontMetrics(Font f)
public synchronized AttributeSetaddAttribute(AttributeSet old, Object name, Object value)
public synchronized AttributeSetaddAttributes(AttributeSet old, AttributeSet attr)
public synchronized AttributeSetremoveAttribute(AttributeSet old, Object name)
public synchronized AttributeSetremoveAttributes(AttributeSet old, Enumeration names)
public synchronized AttributeSetremoveAttributes(AttributeSet old, AttributeSet attrs)
public AttributeSetgetEmptySet()
public voidreclaim(AttributeSet a)
protected intgetCompressionThreshold()
protected StyleContext.SmallAttributeSetcreateSmallAttributeSet(AttributeSet a)
protected MutableAttributeSetcreateLargeAttributeSet(AttributeSet a)
public StringtoString()
public voidwriteAttributes(ObjectOutputStream out, AttributeSet a)
public voidreadAttributes(ObjectInputStream in, MutableAttributeSet a)
public static voidwriteAttributeSet(ObjectOutputStream out, AttributeSet a)
public static voidreadAttributeSet(ObjectInputStream in, MutableAttributeSet a)
public static voidregisterStaticAttributeKey(Object key)
public static ObjectgetStaticAttribute(Object key)
public static ObjectgetStaticAttributeKey(Object key)


 

Datenelemente im Detail

public final static String DEFAULT_STYLE

 

Konstruktoren im Detail

public StyleContext()

 

Methoden im Detail

public final static StyleContext getDefaultStyleContext()
public Style addStyle(String nm, Style parent)
public void removeStyle(String nm)
public Style getStyle(String nm)
public Enumeration getStyleNames()
public void addChangeListener(ChangeListener l)
public void removeChangeListener(ChangeListener l)
public ChangeListener[] getChangeListeners()     [1.4]
public Font getFont(AttributeSet attr)
public Color getForeground(AttributeSet attr)
public Color getBackground(AttributeSet attr)
public Font getFont(String family, int style, int size)
public FontMetrics getFontMetrics(Font f)
public synchronized AttributeSet addAttribute(AttributeSet old, Object name, Object value)
public synchronized AttributeSet addAttributes(AttributeSet old, AttributeSet attr)
public synchronized AttributeSet removeAttribute(AttributeSet old, Object name)
public synchronized AttributeSet removeAttributes(AttributeSet old, Enumeration names)
public synchronized AttributeSet removeAttributes(AttributeSet old, AttributeSet attrs)
public AttributeSet getEmptySet()
public void reclaim(AttributeSet a)
protected int getCompressionThreshold()
protected StyleContext.SmallAttributeSet createSmallAttributeSet(AttributeSet a)
protected MutableAttributeSet createLargeAttributeSet(AttributeSet a)
public String toString()
public void writeAttributes(ObjectOutputStream out, AttributeSet a)
Exception: IOException
public void readAttributes(ObjectInputStream in, MutableAttributeSet a)
Exception: ClassNotFoundException
Exception: IOException
public static void writeAttributeSet(ObjectOutputStream out, AttributeSet a)
Exception: IOException
public static void readAttributeSet(ObjectInputStream in, MutableAttributeSet a)
Exception: ClassNotFoundException
Exception: IOException
public static void registerStaticAttributeKey(Object key)
public static Object getStaticAttribute(Object key)
public static Object getStaticAttributeKey(Object key)


 Inhaltsverzeichnis   Vorhergehendes Paket   Seite Zurück   Seite Vor   Nächstes Paket   Paketübersicht   Index

Copyright © 2002 dpunkt.Verlag, Heidelberg. Alle Rechte vorbehalten.