Component | add(Component component)- This method adds a tab to the JTabbedPane.
|
Component | add(Component component, int index)- This method adds a tab to the JTabbedPane.
|
void | add(Component component, Object constraints)- This method adds a tab to the JTabbedPane.
|
void | add(Component component, Object constraints, int index)- This method adds a tab to the JTabbedPane.
|
Component | add(String title, Component component)- This method adds a tab to the JTabbedPane.
|
void | addChangeListener(ChangeListener l)- This method adds a ChangeListener to the JTabbedPane.
|
void | addTab(String title, Component component)- This method adds a tab to the JTabbedPane.
|
void | addTab(String title, Icon icon, Component component)- This method adds a tab to the JTabbedPane.
|
void | addTab(String title, Icon icon, Component component, String tip)- This method adds a tab to the JTabbedPane.
|
protected ChangeListener | createChangeListener()- This method creates a ChangeListener that is used to listen to the model
for events.
|
protected void | fireStateChanged()- This method fires a ChangeEvent to all the JTabbedPane's ChangeListeners.
|
AccessibleContext | getAccessibleContext()- Returns the object that provides accessibility features for this
JTabbedPane component.
|
Color | getBackgroundAt(int index)- This method returns the background color for the tab.
|
Rectangle | getBoundsAt(int index)- This method returns the bounds of the tab given the index.
|
ChangeListener[] | getChangeListeners()- This method returns all ChangeListeners registered with the JTabbedPane.
|
Component | getComponentAt(int index)- This method returns the component associated with the tab.
|
Icon | getDisabledIconAt(int index)- This method returns the disabled icon given the index.
|
int | getDisplayedMnemonicIndexAt(int tabIndex)- This method returns the mnemonic index for the tab.
|
Color | getForegroundAt(int index)- This method returns the foreground color for the tab.
|
Icon | getIconAt(int index)- This method returns the active icon given the index.
|
int | getMnemonicAt(int tabIndex)- This method returns the mnemonic for the tab.
|
SingleSelectionModel | getModel()- This method returns the model used with the JTabbedPane.
|
Component | getSelectedComponent()- This method returns the component at the selected index.
|
int | getSelectedIndex()- This method returns the index of the tab that is currently selected.
|
int | getTabCount()- This method returns how many tabs are in the JTabbedPane.
|
int | getTabLayoutPolicy()- This method returns the tabLayoutPolicy.
|
int | getTabPlacement()- This method returns the tabPlacement.
|
int | getTabRunCount()- This method returns the number of runs used to paint the JTabbedPane.
|
String | getTitleAt(int index)- This method returns the tab title given the index.
|
String | getToolTipText(MouseEvent event)- This method returns the tooltip text given a mouse event.
|
String | getToolTipTextAt(int index)- This method returns the tooltip string for the tab.
|
TabbedPaneUI | getUI()- This method returns the UI used to display the JTabbedPane.
|
String | getUIClassID()- This method returns a string identifier that is used to determine which
UI will be used with the JTabbedPane.
|
int | indexAtLocation(int x, int y)- This method returns a tab index given an (x,y) location.
|
int | indexOfComponent(Component component)- This method finds the index of a tab given the component.
|
int | indexOfTab(String title)- This method finds the index of a tab given the title.
|
int | indexOfTab(Icon icon)- This method finds the index of a tab given the icon.
|
void | insertTab(String title, Icon icon, Component component, String tip, int index)- This method inserts tabs into JTabbedPane.
|
boolean | isEnabledAt(int index)- This method returns whether this tab is enabled.
|
protected String | paramString()- Returns a string describing the attributes for the
JTabbedPane component, for use in debugging.
|
void | remove(int index)- Removes the tab and component which corresponds to the specified index.
|
void | remove(Component component)- Removes the specified Component from the JTabbedPane.
|
void | removeAll()- This method removes all tabs and associated components from the
JTabbedPane.
|
void | removeChangeListener(ChangeListener l)- This method removes a ChangeListener to the JTabbedPane.
|
void | removeTabAt(int index)- Removes the tab at index.
|
void | setBackgroundAt(int index, Color background)- This method sets the background color of the tab.
|
void | setComponentAt(int index, Component component)- This method sets the component associated with the tab.
|
void | setDisabledIconAt(int index, Icon disabledIcon)- This method sets the disabled icon of the tab.
|
void | setDisplayedMnemonicIndexAt(int tabIndex, int mnemonicIndex)- This method sets the displayed mnemonic index of the tab.
|
void | setEnabledAt(int index, boolean enabled)- This method sets whether the tab is enabled.
|
void | setForegroundAt(int index, Color foreground)- This method sets the foreground color of the tab.
|
void | setIconAt(int index, Icon icon)- This method sets the icon of the tab.
|
void | setMnemonicAt(int tabIndex, int mnemonic)- This method sets the mnemonic for the tab.
|
void | setModel(SingleSelectionModel m)- This method changes the model property of the JTabbedPane.
|
void | setSelectedComponent(Component c)- This method sets the component at the selected index.
|
void | setSelectedIndex(int index)- This method sets the selected index.
|
void | setTabLayoutPolicy(int tabLayoutPolicy)- This method changes the tabLayoutPolicy property of the JTabbedPane.
|
void | setTabPlacement(int tabPlacement)- This method changes the tabPlacement property of the JTabbedPane.
|
void | setTitleAt(int index, String title)- This method sets the title of the tab.
|
void | setToolTipTextAt(int index, String toolTipText)- This method sets the tooltip text of the tab.
|
void | setUI(TabbedPaneUI ui)- This method sets the UI used to display the JTabbedPane.
|
void | updateUI()- This method restores the UI to the defaults given by the UIManager.
|