diff options
author | Roman Kennke <roman@kennke.org> | 2006-08-24 17:09:15 +0000 |
---|---|---|
committer | Roman Kennke <roman@kennke.org> | 2006-08-24 17:09:15 +0000 |
commit | 4f4f8f6d2a9a2b98cc427a3908be743c1c00386c (patch) | |
tree | 1c2ba8e26363fe42411b93b2c62741fb315e386e /javax/swing/plaf | |
parent | 5aa8789a37162eeeafd0dec99877b1b15974b5d2 (diff) | |
download | classpath-4f4f8f6d2a9a2b98cc427a3908be743c1c00386c.tar.gz |
2006-08-24 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicTextUI.java
(RootView.getAttributes): Overridden to return null,
as the RootView has no parent.
Diffstat (limited to 'javax/swing/plaf')
-rw-r--r-- | javax/swing/plaf/basic/BasicTextUI.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/javax/swing/plaf/basic/BasicTextUI.java b/javax/swing/plaf/basic/BasicTextUI.java index f201984db..ce8e61fec 100644 --- a/javax/swing/plaf/basic/BasicTextUI.java +++ b/javax/swing/plaf/basic/BasicTextUI.java @@ -71,6 +71,7 @@ import javax.swing.plaf.InputMapUIResource; import javax.swing.plaf.TextUI; import javax.swing.plaf.UIResource; import javax.swing.text.AbstractDocument; +import javax.swing.text.AttributeSet; import javax.swing.text.BadLocationException; import javax.swing.text.Caret; import javax.swing.text.DefaultCaret; @@ -406,6 +407,14 @@ public abstract class BasicTextUI extends TextUI { return textComponent.getDocument(); } + + /** + * Returns the attributes, which is null for the RootView. + */ + public AttributeSet getAttributes() + { + return null; + } } /** |