Generated by
JDiff

Class javax.swing.JToolBar

Documentation changed from old to new.

Added Constructors
JToolBar(String) Creates a new toolbar with the specified name.
JToolBar(String, int) Creates a new toolbar with a specified name and orientation.
 

Changed Constructors
JToolBar(int) Documentation changed from old to new.
Creates a new toolbar with the specified orientation.
JToolBar(void) Documentation changed from old to new.
Creates a new toolbar; orientation defaults to HORIZONTAL.
 

Removed Methods
void remove(Component) Remove the Component from the tool bar.
 

Added Methods
JButton createActionComponent(Action) Factory method which creates the JButton for Actions added to the JToolBar.
 

Changed Methods
void addImpl(Component, Object, int) Documentation changed from old to new.
If a JButton is being added it is initially set to be disabled.
PropertyChangeListener createActionChangeListener(JButton) Documentation changed from old to new.
Returns a properly configured PropertyChangeListener which updates the control as changes to the Action occur or null if the default property change listener for the control is desired.
AccessibleContext getAccessibleContext() Documentation changed from old to new.
Gets the AccessibleContext associated with this JToolBar.
Component getComponentAtIndex(int) Documentation changed from old to new.
Returns the component at the specified index.
int getComponentIndex(Component) Documentation changed from old to new.
Returns the index of the specified component.
Insets getMargin() Documentation changed from old to new.
Returns the margin between the toolbar's border and its buttons.
int getOrientation() Documentation changed from old to new.
Returns the current orientation of the toolbar.
String getUIClassID() Documentation changed from old to new.
Returns the name of the L&F class that renders this component.
boolean isFloatable() Documentation changed from old to new.
Returns true if the JToolbar can be dragged out by the user.
void paintBorder(Graphics) Documentation changed from old to new.
Paint the toolbar's border if BorderPainted property is true.
String paramString() Documentation changed from old to new.
Returns a string representation of this JToolBar.
void setBorderPainted(boolean) Documentation changed from old to new.
Sets whether the border should be painted.
void setFloatable(boolean) Documentation changed from old to new.
Sets whether the toolbar can be made to float.
void setMargin(Insets) Documentation changed from old to new.
Sets the margin between the toolbar's border and its buttons.
void setOrientation(int) Documentation changed from old to new.
Sets the orientation of the toolbar.
void updateUI() Documentation changed from old to new.
Notification from the UIFactory that the L&F has changed.
JButton add(Action) Documentation changed from old to new.
Adds a new JButton which dispatches the action.
void addSeparator() Documentation changed from old to new.
Appends a toolbar separator of default size to the end of the toolbar.
void addSeparator(Dimension) Documentation changed from old to new.
Appends a toolbar separator of a specified size to the end of the toolbar.
void setUI(ToolBarUI) Documentation changed from old to new.
Sets the L&F object that renders this component.