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

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

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

revision 1.83 by langel, Mon Sep 26 15:20:00 2005 UTC revision 1.84 by rabbit78, Thu Sep 29 22:51:34 2005 UTC
# Line 329  public class BasicTreeUI Line 329  public class BasicTreeUI
329     *     *
330     * @return the indent value for the left child.     * @return the indent value for the left child.
331     */     */
332    public int getLeftChildIndent(int newAmount)    public int getLeftChildIndent()
333    {    {
334      return leftChildIndent;      return leftChildIndent;
335    }    }
# Line 3642  public class BasicTreeUI Line 3642  public class BasicTreeUI
3642     *          is the center position in y-direction FIXME what to do if x <     *          is the center position in y-direction FIXME what to do if x <
3643     *          (icon.width / 2). Same with y     *          (icon.width / 2). Same with y
3644     */     */
3645    protected void drawCentered(JComponent c, Graphics g, Icon icon, int x, int y)    protected void drawCentered(Component c, Graphics g, Icon icon, int x, int y)
3646    {    {
3647      int beginPositionX = x - icon.getIconWidth() / 2;      int beginPositionX = x - icon.getIconWidth() / 2;
3648      int beginPositionY = y - icon.getIconHeight() / 2;      int beginPositionY = y - icon.getIconHeight() / 2;

Legend:
Removed from v.1.83  
changed lines
  Added in v.1.84

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