/[classpath]/classpath/javax/swing/plaf/basic/BasicTextUI.java
ViewVC logotype

Diff of /classpath/javax/swing/plaf/basic/BasicTextUI.java

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

revision 1.47 by langel, Tue Oct 18 15:15:47 2005 UTC revision 1.48 by rabbit78, Tue Oct 18 22:10:32 2005 UTC
# Line 93  public abstract class BasicTextUI extend Line 93  public abstract class BasicTextUI extend
93    /**    /**
94     * A {@link DefaultCaret} that implements {@link UIResource}.     * A {@link DefaultCaret} that implements {@link UIResource}.
95     */     */
96    public static class BasicCaret extends DefaultCaret    public static class BasicCaret extends DefaultCaret implements UIResource
     implements UIResource  
97    {    {
98      public BasicCaret()      public BasicCaret()
99      {      {
100          // Nothing to do here.
101      }      }
102    }    }
103    
# Line 109  public abstract class BasicTextUI extend Line 109  public abstract class BasicTextUI extend
109    {    {
110      public BasicHighlighter()      public BasicHighlighter()
111      {      {
112          // Nothing to do here.
113      }      }
114    }    }
115    
# Line 253  public abstract class BasicTextUI extend Line 254  public abstract class BasicTextUI extend
254       *       *
255       * This is delegated to the real root view.       * This is delegated to the real root view.
256       *       *
257       * @param pos the position of the character in the model       * @param position the position of the character in the model
258       * @param a the area that is occupied by the view       * @param a the area that is occupied by the view
259       * @param bias either {@link Position.Bias.Forward} or       * @param bias either {@link Position.Bias#Forward} or
260       *        {@link Position.Bias.Backward} depending on the preferred       *        {@link Position.Bias#Backward} depending on the preferred
261       *        direction bias. If <code>null</code> this defaults to       *        direction bias. If <code>null</code> this defaults to
262       *        <code>Position.Bias.Forward</code>       *        <code>Position.Bias.Forward</code>
263       *       *
# Line 435  public abstract class BasicTextUI extend Line 436  public abstract class BasicTextUI extend
436     */     */
437    public BasicTextUI()    public BasicTextUI()
438    {    {
439        // Nothing to do here.
440    }    }
441    
442    /**    /**
# Line 809  public abstract class BasicTextUI extend Line 811  public abstract class BasicTextUI extend
811    {    {
812      // This method does nothing. All the background filling is done by the      // This method does nothing. All the background filling is done by the
813      // ComponentUI update method. However, the method is called by paint      // ComponentUI update method. However, the method is called by paint
814      // to provide a way for subclasses to draw something different (e.g. background      // to provide a way for subclasses to draw something different (e.g.
815      // images etc) on the background.      // background images etc) on the background.
816    }    }
817    
818    /**    /**
# Line 897  public abstract class BasicTextUI extend Line 899  public abstract class BasicTextUI extend
899    /**    /**
900     * Maps a position in the document into the coordinate space of the View.     * Maps a position in the document into the coordinate space of the View.
901     * The output rectangle usually reflects the font height but has a width     * The output rectangle usually reflects the font height but has a width
902     * of zero. A bias of {@link Position.Bias.Forward} is used in this method.     * of zero. A bias of {@link Position.Bias#Forward} is used in this method.
903     *     *
904       * @param t the text component
905     * @param pos the position of the character in the model     * @param pos the position of the character in the model
    * @param a the area that is occupied by the view  
906     *     *
907     * @return a rectangle that gives the location of the document position     * @return a rectangle that gives the location of the document position
908     *         inside the view coordinate space     *         inside the view coordinate space
# Line 920  public abstract class BasicTextUI extend Line 922  public abstract class BasicTextUI extend
922     * The output rectangle usually reflects the font height but has a width     * The output rectangle usually reflects the font height but has a width
923     * of zero.     * of zero.
924     *     *
925       * @param t the text component
926     * @param pos the position of the character in the model     * @param pos the position of the character in the model
927     * @param a the area that is occupied by the view     * @param bias either {@link Position.Bias#Forward} or
928     * @param bias either {@link Position.Bias.Forward} or     *        {@link Position.Bias#Backward} depending on the preferred
    *        {@link Position.Bias.Backward} depending on the preferred  
929     *        direction bias. If <code>null</code> this defaults to     *        direction bias. If <code>null</code> this defaults to
930     *        <code>Position.Bias.Forward</code>     *        <code>Position.Bias.Forward</code>
931     *     *

Legend:
Removed from v.1.47  
changed lines
  Added in v.1.48

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