Changed Methods |
void addChangeListener(ChangeListener )
|
Documentation changed from old to new. |
Adds a ChangeListener to this tabbedpane. |
ChangeListener createChangeListener()
|
Documentation changed from old to new. |
Subclasses that want to handle ChangeEvents differently can override this to return a subclass of ModelListener or another ChangeListener implementation. |
void fireStateChanged()
|
Documentation changed from old to new. |
Send a ChangeEvent whose source is this tabbedpane to each listener. |
AccessibleContext getAccessibleContext()
|
Documentation changed from old to new. |
Gets the AccessibleContext associated with this JTabbedPane. |
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 . |
Component getSelectedComponent()
|
Documentation changed from old to new. |
Returns the currently selected component for this tabbedpane. |
int getTabCount()
|
Documentation changed from old to new. |
Returns the number of tabs in this tabbedpane . |
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 getUIClassID()
|
Documentation changed from old to new. |
Returns the name of the UI class that implements the L&F for this component. |
int indexOfComponent(Component )
|
Documentation changed from old to new. |
Returns the index of the tab for the specified 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. |
String paramString()
|
Documentation changed from old to new. |
Returns a string representation of this JTabbedPane . |
void removeAll()
|
Documentation changed from old to new. |
Removes all the tabs and their corresponding components from the tabbedpane . |
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 setSelectedComponent(Component )
|
Documentation changed from old to new. |
Sets the selected component for this tabbedpane. |
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 updateUI()
|
Documentation changed from old to new. |
Notification from the UIManager that the L&F has changed. |
Component add(Component )
|
Documentation changed from old to new. |
Adds a component with a tab title defaulting to the name of the component. |
Component add(Component, int)
|
Documentation changed from old to new. |
Adds a component at the specified tab index with a tab title defaulting to the name of the component. |
Component add(String, Component)
|
Documentation changed from old to new. |
Adds a component with the specified tab title. |
void add(Component, Object)
|
Documentation changed from old to new. |
Adds a component to the tabbed pane. |
void add(Component, Object, int)
|
Documentation changed from old to new. |
Adds a component at the specified tab index. |
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. |
int indexOfTab(String )
|
Documentation changed from old to new. |
Returns the first tab index with a given title or -1 if no tab has this title. |
int indexOfTab(Icon )
|
Documentation changed from old to new. |
Returns the first tab index with a given icon or -1 if no tab has this icon. |