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

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

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

revision 1.22 by rabbit78, Tue Aug 2 15:33:02 2005 UTC revision 1.23 by trebligd, Mon Aug 22 11:35:23 2005 UTC
# Line 136  public abstract class AbstractDocument Line 136  public abstract class AbstractDocument
136     * @param doc the <code>Content</code> model to be used in this     * @param doc the <code>Content</code> model to be used in this
137     *        <code>Document<code>     *        <code>Document<code>
138     *     *
139     * @see {@link GapContent}     * @see GapContent
140     * @see {@link StringContent}     * @see StringContent
141     */     */
142    protected AbstractDocument(Content doc)    protected AbstractDocument(Content doc)
143    {    {
# Line 152  public abstract class AbstractDocument Line 152  public abstract class AbstractDocument
152     *        <code>Document<code>     *        <code>Document<code>
153     * @param ctx the <code>AttributeContext</code> to use     * @param ctx the <code>AttributeContext</code> to use
154     *     *
155     * @see {@link GapContent}     * @see GapContent
156     * @see {@link StringContent}     * @see StringContent
157     */     */
158    protected AbstractDocument(Content doc, AttributeContext ctx)    protected AbstractDocument(Content doc, AttributeContext ctx)
159    {    {
# Line 193  public abstract class AbstractDocument Line 193  public abstract class AbstractDocument
193     *     *
194     * @return the new branch <code>Element</code>     * @return the new branch <code>Element</code>
195     *     *
196     * @see {@link BranchElement}     * @see BranchElement
197     */     */
198    protected Element createBranchElement(Element parent,    protected Element createBranchElement(Element parent,
199                                          AttributeSet attributes)                                          AttributeSet attributes)
# Line 213  public abstract class AbstractDocument Line 213  public abstract class AbstractDocument
213     *     *
214     * @return the new branch <code>Element</code>     * @return the new branch <code>Element</code>
215     *     *
216     * @see {@link LeafElement}     * @see LeafElement
217     */     */
218    protected Element createLeafElement(Element parent, AttributeSet attributes,    protected Element createLeafElement(Element parent, AttributeSet attributes,
219                                        int start, int end)                                        int start, int end)
# Line 329  public abstract class AbstractDocument Line 329  public abstract class AbstractDocument
329     *     *
330     * @return the {@link Content} model for this <code>Document</code>     * @return the {@link Content} model for this <code>Document</code>
331     *     *
332     * @see {@link GapContent}     * @see GapContent
333     * @see {@link StringContent}     * @see StringContent
334     */     */
335    protected Content getContent()    protected Content getContent()
336    {    {
# Line 401  public abstract class AbstractDocument Line 401  public abstract class AbstractDocument
401    /**    /**
402     * Returns all registered listeners of a given listener type.     * Returns all registered listeners of a given listener type.
403     *     *
404     * @return the type of the listeners to be queried     * @param listenerType the type of the listeners to be queried
405     *     *
406     * @return all registered listeners of the specified type     * @return all registered listeners of the specified type
407     */     */
# Line 800  public abstract class AbstractDocument Line 800  public abstract class AbstractDocument
800     * provide intelligent management of <code>AttributeSet</code>s, eliminating     * provide intelligent management of <code>AttributeSet</code>s, eliminating
801     * costly duplication.     * costly duplication.
802     *     *
803     * @see {@link StyleContext}     * @see StyleContext
804     */     */
805    public interface AttributeContext    public interface AttributeContext
806    {    {
# Line 1134  public abstract class AbstractDocument Line 1134  public abstract class AbstractDocument
1134      /**      /**
1135       * Removes a set of attribute from this element.       * Removes a set of attribute from this element.
1136       *       *
1137       * @param the names of the attributes to be removed       * @param names the names of the attributes to be removed
1138       */       */
1139      public void removeAttributes(Enumeration names)      public void removeAttributes(Enumeration names)
1140      {      {
# Line 1234  public abstract class AbstractDocument Line 1234  public abstract class AbstractDocument
1234       *       *
1235       * @return the resolve parent of this element       * @return the resolve parent of this element
1236       *       *
1237       * @see {@link #setResolveParent(AttributeSet)}       * @see #setResolveParent(AttributeSet)
1238       */       */
1239      public AttributeSet getResolveParent()      public AttributeSet getResolveParent()
1240      {      {
# Line 1563  public abstract class AbstractDocument Line 1563  public abstract class AbstractDocument
1563       * @return the <code>Element</code> at the specified <code>Document</code>       * @return the <code>Element</code> at the specified <code>Document</code>
1564       *         offset       *         offset
1565       *       *
1566       * @see {@link #getElementIndex(int)}       * @see #getElementIndex(int)
1567       */       */
1568      public Element positionToElement(int position)      public Element positionToElement(int position)
1569      {      {

Legend:
Removed from v.1.22  
changed lines
  Added in v.1.23

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