< prev index next >
src/java.desktop/share/classes/javax/swing/plaf/basic/BasicToolBarUI.java
Print this page
*** 689,699 ****
}
/**
* Installs rollover borders on all the child components of the JComponent.
* <p>
! * This is a convenience method to call <code>setBorderToRollover</code>
* for each child component.
*
* @param c container which holds the child components (usually a JToolBar)
* @see #setBorderToRollover
* @since 1.4
--- 689,699 ----
}
/**
* Installs rollover borders on all the child components of the JComponent.
* <p>
! * This is a convenience method to call {@code setBorderToRollover}
* for each child component.
*
* @param c container which holds the child components (usually a JToolBar)
* @see #setBorderToRollover
* @since 1.4
*** 713,723 ****
/**
* Installs non-rollover borders on all the child components of the JComponent.
* A non-rollover border is the border that is installed on the child component
* while it is in the toolbar.
* <p>
! * This is a convenience method to call <code>setBorderToNonRollover</code>
* for each child component.
*
* @param c container which holds the child components (usually a JToolBar)
* @see #setBorderToNonRollover
* @since 1.4
--- 713,723 ----
/**
* Installs non-rollover borders on all the child components of the JComponent.
* A non-rollover border is the border that is installed on the child component
* while it is in the toolbar.
* <p>
! * This is a convenience method to call {@code setBorderToNonRollover}
* for each child component.
*
* @param c container which holds the child components (usually a JToolBar)
* @see #setBorderToNonRollover
* @since 1.4
*** 737,747 ****
/**
* Installs normal borders on all the child components of the JComponent.
* A normal border is the original border that was installed on the child
* component before it was added to the toolbar.
* <p>
! * This is a convenience method to call <code>setBorderNormal</code>
* for each child component.
*
* @param c container which holds the child components (usually a JToolBar)
* @see #setBorderToNonRollover
* @since 1.4
--- 737,747 ----
/**
* Installs normal borders on all the child components of the JComponent.
* A normal border is the original border that was installed on the child
* component before it was added to the toolbar.
* <p>
! * This is a convenience method to call {@code setBorderNormal}
* for each child component.
*
* @param c container which holds the child components (usually a JToolBar)
* @see #setBorderToNonRollover
* @since 1.4
*** 1233,1243 ****
/**
* Paints the contents of the window used for dragging.
*
* @param g Graphics to paint to.
! * @throws NullPointerException is <code>g</code> is null
* @since 1.5
*/
protected void paintDragWindow(Graphics g) {
g.setColor(dragWindow.getBackground());
int w = dragWindow.getWidth();
--- 1233,1243 ----
/**
* Paints the contents of the window used for dragging.
*
* @param g Graphics to paint to.
! * @throws NullPointerException is {@code g} is null
* @since 1.5
*/
protected void paintDragWindow(Graphics g) {
g.setColor(dragWindow.getBackground());
int w = dragWindow.getWidth();
*** 1576,1587 ****
super(w);
}
/**
* Returns the orientation of the toolbar window when the toolbar is
! * floating. The orientation is either one of <code>JToolBar.HORIZONTAL</code>
! * or <code>JToolBar.VERTICAL</code>.
*
* @return the orientation of the toolbar window
* @since 1.6
*/
public int getOrientation() {
--- 1576,1587 ----
super(w);
}
/**
* Returns the orientation of the toolbar window when the toolbar is
! * floating. The orientation is either one of {@code JToolBar.HORIZONTAL}
! * or {@code JToolBar.VERTICAL}.
*
* @return the orientation of the toolbar window
* @since 1.6
*/
public int getOrientation() {
< prev index next >