Generated by
JDiff

Class javax.swing.JTabbedPane

Documentation changed from old to new.

Added Constructors
JTabbedPane(int, int) Creates an empty TabbedPane with the specified tab placement and tab layout policy.
 

Changed Constructors
JTabbedPane(int) Documentation changed from old to new.
Creates an empty TabbedPane with the specified tab placement of either: JTabbedPane.TOP JTabbedPane.BOTTOM JTabbedPane.LEFT or JTabbedPane.RIGHT and a default tab layout policy of JTabbedPane.WRAP_TAB_LAYOUT.
JTabbedPane(void) Documentation changed from old to new.
Creates an empty TabbedPane with a default tab placement of JTabbedPane.TOP and default tab layout policy of JTabbedPane.WRAP_TAB_LAYOUT.
 

Added Methods
ChangeListener[] getChangeListeners() Returns an array of all the ChangeListeners added to this JTabbedPane with addChangeListener.
int getDisplayedMnemonicIndexAt(int) Returns the character as an index that the look and feel should provide decoration for as representing the mnemonic character.
int getMnemonicAt(int) Returns the keyboard mnemonic for accessing the specified tab.
int getTabLayoutPolicy() Returns the policy used by the tabbedpane to layout the tabs when all the tabs will not fit within a single run.
int indexAtLocation(int, int) Returns the tab index corresponding to the tab whose bounds intersect the specified location.
void setDisplayedMnemonicIndexAt(int, int) Provides a hint to the look and feel as to which character in the text should be decorated to represent the mnemonic.
void setMnemonicAt(int, int) Sets the keyboard mnemonic for accessing the specified tab.
void setTabLayoutPolicy(int) Sets the policy which the tabbedpane will use in laying out the tabs when all the tabs will not fit within a single run.
 

Changed Methods
void fireStateChanged() Documentation changed from old to new.
Sends a ChangeEvent whose source is this tabbedpane to each listener.
Color getBackgroundAt(int) Documentation changed from old to new.
Returns the tab background color at index.
Rectangle getBoundsAt(int) Documentation changed from old to new.
Returns the tab bounds at index.
Icon getDisabledIconAt(int) Documentation changed from old to new.
Returns the tab disabled icon at index.
Color getForegroundAt(int) Documentation changed from old to new.
Returns the tab foreground color at index.
Icon getIconAt(int) Documentation changed from old to new.
Returns the tab icon at index.
int getTabRunCount() Documentation changed from old to new.
Returns the number of tab runs currently used to display the tabs.
String getTitleAt(int) Documentation changed from old to new.
Returns the tab title at index.
String getToolTipTextAt(int) Documentation changed from old to new.
Returns the tab tooltip text at index.
TabbedPaneUI getUI() Documentation changed from old to new.
Returns the UI object which implements the L&F for this component.
void insertTab(String, Icon, Component, String, int) Documentation changed from old to new.
Inserts a component at index represented by a title and/or icon either of which may be null.
boolean isEnabledAt(int) Documentation changed from old to new.
Returns whether or not the tab at index is currently enabled.
void removeChangeListener(ChangeListener) Documentation changed from old to new.
Removes a ChangeListener from this tabbedpane.
void removeTabAt(int) Documentation changed from old to new.
Removes the tab at index.
void setBackgroundAt(int, Color) Documentation changed from old to new.
Sets the background color at index to background which can be null in which case the tab's background color will default to the background color of the tabbedpane.
void setComponentAt(int, Component) Documentation changed from old to new.
Sets the component at index to component.
void setDisabledIconAt(int, Icon) Documentation changed from old to new.
Sets the disabled icon at index to icon which can be null.
void setEnabledAt(int, boolean) Documentation changed from old to new.
Sets whether or not the tab at index is enabled.
void setForegroundAt(int, Color) Documentation changed from old to new.
Sets the foreground color at index to foreground which can be null in which case the tab's foreground color will default to the foreground color of this tabbedpane.
void setIconAt(int, Icon) Documentation changed from old to new.
Sets the icon at index to icon which can be null.
void setSelectedIndex(int) Documentation changed from old to new.
Sets the selected index for this tabbedpane.
void setTabPlacement(int) Documentation changed from old to new.
Sets the tab placement for this tabbedpane.
void setTitleAt(int, String) Documentation changed from old to new.
Sets the title at index to title which can be null.
void setToolTipTextAt(int, String) Documentation changed from old to new.
Sets the tooltip text at index to toolTipText which can be null.
void updateUI() Documentation changed from old to new.
Resets the UI property to a value from the current look and feel.
Component add(Component) Documentation changed from old to new.
Adds a component with a tab title defaulting to the name of the component which is the result of calling component.getName.
void addTab(String, Component) Documentation changed from old to new.
Adds a component represented by a title and no icon.
void addTab(String, Icon, Component) Documentation changed from old to new.
Adds a component represented by a title and/or icon either of which can be null.
void addTab(String, Icon, Component, String) Documentation changed from old to new.
Adds a component and tip represented by a title and/or icon either of which can be null.
Component getComponentAt(int) Documentation changed from old to new.
Returns the component at index.
String getToolTipText(MouseEvent) Documentation changed from old to new.
Returns the tooltip text for the component determined by the mouse event location.
void remove(int) Documentation changed from old to new.
Removes the tab and component which corresponds to the specified index.
void remove(Component) Documentation changed from old to new.
Removes the specified Component from the JTabbedPane.
 

Added Fields
int SCROLL_TAB_LAYOUT The tab layout policy for providing a scrollable region of tabs when all the tabs will not fit within a single run.
int WRAP_TAB_LAYOUT The tab layout policy for wrapping tabs in multiple runs when all tabs will not fit within a single run.
 

Changed Fields
ChangeListener changeListener Documentation changed from old to new.
The changeListener is the listener we add to the model.