/[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.4 by gnu_andrew, Thu Jan 27 09:45:37 2005 UTC revision 1.3.2.5 by gnu_andrew, Thu Apr 28 23:00:14 2005 UTC
# Line 82  import javax.swing.plaf.UIResource; Line 82  import javax.swing.plaf.UIResource;
82   */   */
83  public class BasicToolBarUI extends ToolBarUI implements SwingConstants  public class BasicToolBarUI extends ToolBarUI implements SwingConstants
84  {  {
85    /** Static owner of all DragWindows. */    /** Static owner of all DragWindows.
86    private static JFrame owner = new JFrame();     * This is package-private to avoid an accessor method.  */
87      static JFrame owner = new JFrame();
88    
89    /** The border used when the JToolBar is in nonrollover mode. */    /** The border used when the JToolBar is in nonrollover mode. */
90    private static Border nonRolloverBorder;    private static Border nonRolloverBorder;
# Line 94  public class BasicToolBarUI extends Tool Line 95  public class BasicToolBarUI extends Tool
95    /** The last known BorderLayout constraint before floating. */    /** The last known BorderLayout constraint before floating. */
96    protected String constraintBeforeFloating;    protected String constraintBeforeFloating;
97    
98    /** The last known orientation of the JToolBar before floating. */    /** The last known orientation of the JToolBar before floating.
99    private int lastGoodOrientation;     * This is package-private to avoid an accessor method.  */
100      int lastGoodOrientation;
101    
102    /** The color of the border when it is dockable. */    /** The color of the border when it is dockable. */
103    protected Color dockingBorderColor;    protected Color dockingBorderColor;
# Line 136  public class BasicToolBarUI extends Tool Line 138  public class BasicToolBarUI extends Tool
138     */     */
139    private transient Window floatFrame;    private transient Window floatFrame;
140    
141    /** The original parent of the JToolBar. */    /** The original parent of the JToolBar.
142    private transient Container origParent;     * This is package-private to avoid an accessor method.  */
143      transient Container origParent;
144    /** A hashtable of components and their original borders. */  
145    private transient Hashtable borders;    /** A hashtable of components and their original borders.
146       * This is package-private to avoid an accessor method.  */
147      transient Hashtable borders;
148    
149    /** A window listener for the floatable frame. */    /** A window listener for the floatable frame. */
150    private transient WindowListener windowListener;    private transient WindowListener windowListener;
151    
152    /** A set of cached bounds of the JToolBar. */    /** A set of cached bounds of the JToolBar.
153    private transient Dimension cachedBounds;     * This is package-private to avoid an accessor method.  */
154      transient Dimension cachedBounds;
155    /** The cached orientation of the JToolBar. */  
156    private transient int cachedOrientation;    /** The cached orientation of the JToolBar.
157       * This is package-private to avoid an accessor method.  */
158      transient int cachedOrientation;
159    
160    /**    /**
161     * This method creates a new <code>BasicToolBarUI</code> object for the given JToolBar.     * This method creates a new <code>BasicToolBarUI</code> object for the given JToolBar.
# Line 1086  public class BasicToolBarUI extends Tool Line 1092  public class BasicToolBarUI extends Tool
1092    
1093      /**      /**
1094       * Creates a new DragWindow object.       * Creates a new DragWindow object.
1095         * This is package-private to avoid an accessor method.
1096       */       */
1097      private DragWindow()      DragWindow()
1098      {      {
1099        super(owner);        super(owner);
1100      }      }

Legend:
Removed from v.1.3.2.4  
changed lines
  Added in v.1.3.2.5

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