Adds a component with a tab title defaulting to
the name of the component which is the result of calling
component.getName.
Cover method for insertTab.
component | the component to be displayed when this tab is clicked |
insertTab, removeTabAt
Adds a component with the specified tab title.
Cover method for insertTab.
title | the title to be displayed in this tab | |
component | the component to be displayed when this tab is clicked |
insertTab, removeTabAt
Adds a component at the specified tab index with a tab
title defaulting to the name of the component.
Cover method for insertTab.
component | the component to be displayed when this tab is clicked | |
index | the position to insert this new tab |
insertTab, removeTabAt
Adds a component to the tabbed pane.
If constraints is a String or an
Icon, it will be used for the tab title,
otherwise the component's name will be used as the tab title.
Cover method for insertTab.
component | the component to be displayed when this tab is clicked | |
constraints | the object to be displayed in the tab |
insertTab, removeTabAt
Adds a component at the specified tab index.
If constraints is a String or an
Icon, it will be used for the tab title,
otherwise the component's name will be used as the tab title.
Cover method for insertTab.
component | the component to be displayed when this tab is clicked | |
constraints | the object to be displayed in the tab | |
index | the position to insert this new tab |
insertTab, removeTabAt
Gets the AccessibleContext associated with this JTabbedPane. For tabbed panes, the AccessibleContext takes the form of an AccessibleJTabbedPane. A new AccessibleJTabbedPane instance is created if necessary.
Returns the tooltip text for the component determined by the mouse event location.
event | the MouseEvent that tells where the
cursor is lingering |
String containing the tooltip text
Returns the name of the UI class that implements the L&F for this component.
JComponent.getUIClassID, UIDefaults.getUI
Returns a string representation of this JTabbedPane.
This method
is intended to be used only for debugging purposes, and the
content and format of the returned string may vary between
implementations. The returned string may be empty but may not
be null.
Removes the specified Component from the
JTabbedPane. The method does nothing
if the component is null.
component | the component to remove from the tabbedpane |
addTab, removeTabAt
Removes the tab and component which corresponds to the specified index.
index | the index of the component to remove from the
tabbedpane |
addTab, removeTabAt
Removes all the tabs and their corresponding components
from the tabbedpane.
addTab, removeTabAt
Resets the UI property to a value from the current look and feel.
JComponent.updateUI
Diagram: Panes