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

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

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

revision 1.3.2.1 by gnu_andrew, Fri Jan 14 10:24:17 2005 UTC revision 1.3.2.2 by gnu_andrew, Sat Jan 15 17:02:21 2005 UTC
# Line 1  Line 1 
1  /* BasicToolBarUI.java  /* BasicToolBarUI.java --
2     Copyright (C) 2004 Free Software Foundation, Inc.     Copyright (C) 2004 Free Software Foundation, Inc.
3    
4  This file is part of GNU Classpath.  This file is part of GNU Classpath.
# Line 35  this exception to your version of the li Line 35  this exception to your version of the li
35  obligated to do so.  If you do not wish to do so, delete this  obligated to do so.  If you do not wish to do so, delete this
36  exception statement from your version. */  exception statement from your version. */
37    
38    
39  package javax.swing.plaf.basic;  package javax.swing.plaf.basic;
40    
41  import java.awt.BorderLayout;  import java.awt.BorderLayout;
42  import java.awt.Color;  import java.awt.Color;
43  import java.awt.Component;  import java.awt.Component;
 import java.awt.ComponentOrientation;  
44  import java.awt.Container;  import java.awt.Container;
45  import java.awt.Dimension;  import java.awt.Dimension;
46  import java.awt.Graphics;  import java.awt.Graphics;
 import java.awt.GridLayout;  
47  import java.awt.Insets;  import java.awt.Insets;
48  import java.awt.Point;  import java.awt.Point;
49  import java.awt.Rectangle;  import java.awt.Rectangle;
# Line 53  import java.awt.event.ContainerEvent; Line 52  import java.awt.event.ContainerEvent;
52  import java.awt.event.ContainerListener;  import java.awt.event.ContainerListener;
53  import java.awt.event.FocusEvent;  import java.awt.event.FocusEvent;
54  import java.awt.event.FocusListener;  import java.awt.event.FocusListener;
 import java.awt.event.MouseAdapter;  
55  import java.awt.event.MouseEvent;  import java.awt.event.MouseEvent;
56  import java.awt.event.WindowAdapter;  import java.awt.event.WindowAdapter;
57  import java.awt.event.WindowEvent;  import java.awt.event.WindowEvent;
58  import java.awt.event.WindowListener;  import java.awt.event.WindowListener;
59  import java.beans.PropertyChangeEvent;  import java.beans.PropertyChangeEvent;
60  import java.beans.PropertyChangeListener;  import java.beans.PropertyChangeListener;
 import java.util.Enumeration;  
61  import java.util.Hashtable;  import java.util.Hashtable;
62    
63  import javax.swing.JButton;  import javax.swing.JButton;
64  import javax.swing.JComponent;  import javax.swing.JComponent;
65  import javax.swing.JDialog;  import javax.swing.JDialog;
# Line 74  import javax.swing.UIDefaults; Line 72  import javax.swing.UIDefaults;
72  import javax.swing.UIManager;  import javax.swing.UIManager;
73  import javax.swing.border.Border;  import javax.swing.border.Border;
74  import javax.swing.event.MouseInputListener;  import javax.swing.event.MouseInputListener;
 import javax.swing.plaf.BorderUIResource;  
75  import javax.swing.plaf.BorderUIResource.EtchedBorderUIResource;  import javax.swing.plaf.BorderUIResource.EtchedBorderUIResource;
76  import javax.swing.plaf.ComponentUI;  import javax.swing.plaf.ComponentUI;
77  import javax.swing.plaf.ToolBarUI;  import javax.swing.plaf.ToolBarUI;
78  import javax.swing.plaf.UIResource;  import javax.swing.plaf.UIResource;
79    
   
80  /**  /**
81   * This is the Basic Look and Feel UI class for JToolBar.   * This is the Basic Look and Feel UI class for JToolBar.
82   */   */
# Line 1331  public class BasicToolBarUI extends Tool Line 1327  public class BasicToolBarUI extends Tool
1327    private static class ToolBarBorder implements Border    private static class ToolBarBorder implements Border
1328    {    {
1329      /** The size of the larger, draggable side of the border. */      /** The size of the larger, draggable side of the border. */
1330      private static int offset = 10;      private static final int offset = 10;
1331    
1332      /** The other sides. */      /** The other sides. */
1333      private static int regular = 2;      private static final int regular = 2;
1334    
1335      /**      /**
1336       * This method returns the border insets for the JToolBar.       * This method returns the border insets for the JToolBar.

Legend:
Removed from v.1.3.2.1  
changed lines
  Added in v.1.3.2.2

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