/[classpath]/classpath/javax/swing/text/DefaultStyledDocument.java
ViewVC logotype

Diff of /classpath/javax/swing/text/DefaultStyledDocument.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by mkoch, Tue Dec 21 07:37:24 2004 UTC revision 1.2 by rabbit78, Wed Jun 1 15:22:55 2005 UTC
# Line 181  public class DefaultStyledDocument exten Line 181  public class DefaultStyledDocument exten
181        
182    public void setLogicalStyle(int position, Style style)    public void setLogicalStyle(int position, Style style)
183    {    {
184      // FIXME: Implement me.      Element el = getParagraphElement(position);
185      throw new Error("not implemented");      if (el instanceof AbstractElement)
186          {
187            AbstractElement ael = (AbstractElement) el;
188            ael.setResolveParent(style);
189          }
190        else
191          throw new AssertionError("paragraph elements are expected to be"
192             + "instances of javax.swing.text.AbstractDocument.AbstractElement");
193    }    }
194    
195    public void setParagraphAttributes(int offset, int length,    public void setParagraphAttributes(int offset, int length,

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26