| java.lang.Object java.awt.Component java.awt.Container javax.swing.JComponent javax.swing.JTabbedPane com.jidesoft.swing.JideTabbedPane
JideTabbedPane | public class JideTabbedPane extends JTabbedPane (Code) | | JidetabbedPane is an enhanced version of JTabbedPane .
Different from JTabbedPane , it
- has an option to hide tab area if there is only one
component in tabbed pane.
- has an option to resize tab width so that all tabs
can be fitted in one row.
- has an option to show a close button along with scroll left
and scroll right buttons in tab area.
Except methods to set additional options specified above, the uage of
JideTabbedPane is the same as JTabbedPane .
|
Inner Class :public static interface ColorProvider | |
Inner Class :public static interface GradientColorProvider extends ColorProvider | |
Constructor Summary | |
public | JideTabbedPane() Creates an empty TabbedPane with a default
tab placement of JTabbedPane.TOP . | public | JideTabbedPane(int tabPlacement) Creates an empty TabbedPane with the specified tab placement
of either: JTabbedPane.TOP , JTabbedPane.BOTTOM ,
JTabbedPane.LEFT , or JTabbedPane.RIGHT . | public | JideTabbedPane(int tabPlacement, int tabLayoutPolicy) Creates an empty JideTabbedPane with the specified tab placement
and tab layout policy. |
Method Summary | |
public void | addNotify() | public void | addTabEditingListener(TabEditingListener l) Adds a TabEditingListener to this tabbedpane. | public void | cancelTabEditing() | protected PropertyChangeListener | createFocusChangeListener() | public void | editTabAt(int tabIndex) Starts tab editing. | protected void | fireStateChanged() | protected void | fireTabEditing(int id, int index, String oldTitle, String newTitle) | public Action | getCloseAction() Gets close action. | public int | getColorTheme() | public Insets | getContentBorderInsets() | public int | getDefaultColorTheme() | public int | getDefaultTabResizeMode() | public int | getDefaultTabStyle() | public String | getDisplayTitleAt(int index) Gets the display title. | public int | getEditingTabIndex() | public Component | getLastFocusedComponent(Component pageComponent) Gets the last focused component of a particular page. | protected Hashtable | getPageLastFocusTrackers() | public Font | getSelectedTabFont() Gets the font for selected tab. | public StringConverter | getStringConverter() Gets the string converter that converts the tab title to the display title. | public int | getTabAtLocation(int x, int y) | public ColorProvider | getTabColorProvider() Gets the tab color provider. | public TabEditingListener[] | getTabEditingListeners() Returns an array of all the TabEditingListener s added
to this JTabbedPane with addTabEditingListener . | public int | getTabHeight() Gets tab height. | public Component | getTabLeadingComponent() | public ListCellRenderer | getTabListCellRenderer() Gets the tab list cell renderer. | public int | getTabResizeMode() | public int | getTabShape() | public Component | getTabTrailingComponent() | public TabbedPaneUI | getUI() Returns the UI object which implements the L&F for this component. | public String | getUIClassID() Returns the name of the UI class that implements the
L&F for this component. | public boolean | hasFocusComponent() Checks if the JideTabbedPane has the focus component. | public void | insertTab(String title, Icon icon, Component component, String tip, int index) Overridden to add a PageLastFocusTracker to each page, used to
update the page's last focused component. | public boolean | isAutoRequestFocus() Checks if the UI should automatically request focus on selecte dcomponent when doing the layout.
This method is only used internally when the tab is being moved.
true or false. | public boolean | isBoldActiveTab() If the active tab is in bold. | public boolean | isBoxStyleTab() Checks if tabs are displayed as box style. | public boolean | isDragOverDisabled() Checks the dragOverDisabled property. | public boolean | isHideOneTab() Checks if tab area will be hidden if there is only one tab. | public boolean | isRightClickSelect() Returns true if you want right click on unselected tab will select that tab. | public boolean | isShowCloseButton() If close button is visible. | public boolean | isShowCloseButtonOnSelectedTab() | public boolean | isShowCloseButtonOnTab() Checks if the close button will be shown on tab. | public boolean | isShowGripper() If the grip is visible. | public boolean | isShowIconsOnTab() Checks if the icon will be shown on tab. | public boolean | isShowTabArea() If the tab area is visible. | public boolean | isShowTabButtons() Checks if tab buttons are always visible. | public boolean | isShowTabContent() If the tab content is visible. | public boolean | isShrinkTabs() Returns if tabs are shrinked when avaliable space is not enough to hold all tabs. | public boolean | isTabClosableAt(int tabIndex) Checks if the tab at tabIndex should show the close button.
This is only a valid if showCloseButtonOnTab attribute is true.
By default, this method always return true. | public boolean | isTabEditing() Checks if tab is in editing mode. | public boolean | isTabEditingAllowed() Checks if the tab editing is allowed.
true if tab editing is allowed. | public boolean | isTabShown() Checks if tab area is shown. | public boolean | isUseDefaultShowCloseButtonOnTab() If the return is true, the value set to setShowCloseButtonOnTab() will be ignored. | public boolean | isUseDefaultShowIconsOnTab() If the return is true, the value set to setShowIconsOnTab() will be ignored. | public void | moveSelectedTabTo(int tabIndex) Moves selected tab from current position to the position specified in tabIndex. | public void | removeNotify() | public void | removeTabAt(int index) | public void | removeTabEditingListener(TabEditingListener l) Removes a TabEditingListener from this tabbedpane. | public void | repaintTabAreaAndContentBorder() Repaints the tab area and the content border if any. | protected boolean | requestFocusForVisibleComponent() | public void | resetDefaultCloseAction() Resets close action to default. | public void | scrollSelectedTabToVisible(boolean scrollLeft) Scroll the selected tab visible in case the tab is outside of the viewport.
Parameters: scrollLeft - true to scroll the first tab visible first then scroll left to makethe selected tab visible. | public void | setBoldActiveTab(boolean boldActiveTab) Sets if the active tab is in bold. | public void | setBoxStyleTab(boolean boxStyleTab) Sets the value if tabs are box style. | public void | setCloseAction(Action action) Sets default close action for close button. | public void | setColorTheme(int colorTheme) | public void | setContentBorderInsets(Insets contentBorderInsets) Sets the content border insets. | public void | setDragOverDisabled(boolean dragOverDisabled) Sets the dragOverDisabled property. | public void | setHideOneTab(boolean hideOne) Sets the value if tab area will be hidden if there is only one tab. | public void | setRightClickSelect(boolean rightClickSelect) Sets if you want right click on unselected tab will select that tab. | public void | setSelectedIndex(int index) | public void | setSelectedTabFont(Font selectedTabFont) Sets the font for selected tab. | public void | setShowCloseButton(boolean showCloseButton) Sets if the close button is visible. | public void | setShowCloseButtonOnSelectedTab(boolean i) Shows the close button on the selected tab only. | public void | setShowCloseButtonOnTab(boolean showCloseButtonOnTab) Sets to true if the close button will be shown on tab. | public void | setShowGripper(boolean showGripper) Sets the visibility of grip. | public void | setShowIconsOnTab(boolean showIconsOnTab) Sets to true if the icon will be shown on tab. | public void | setShowTabArea(boolean showTabArea) Sets if the tab area is visible. | public void | setShowTabButtons(boolean showButtons) Sets the value if tab buttons are always visible. | public void | setShowTabContent(boolean showTabContent) Sets if the tab content is visible. | public void | setShrinkTabs(boolean shrinkTab) Sets the value if if tabs are shrinked when avaliable space is not enough to hold all tabs. | public void | setStringConverter(StringConverter stringConverter) Sets the string converter. | public void | setTabClosableAt(int tabIndex, boolean closble) Checks if the tab at tabIndex should show the close button.
This is only a valid if showCloseButtonOnTab attribute is true.
By default, this method always return true. | public void | setTabColorProvider(ColorProvider tabColorProvider) Sets the tab color provider.It allows you to set the background color of each tab. | public void | setTabEditingAllowed(boolean allowed) Sets the value if the tab editing is allowed. | public void | setTabLeadingComponent(Component component) Sets the tab leading component. | public void | setTabListCellRenderer(ListCellRenderer tabListCellRenderer) Sets the tab list cell renderer. | public void | setTabResizeMode(int resizeMode) Sets the tab resize mode. | public void | setTabShape(int tabShape) | public void | setTabTrailingComponent(Component component) Sets the tab trailing component. | public void | setTitleAt(int index, String title) | public void | setUI(TabbedPaneUI ui) Sets the UI object which implements the L&F for this component. | public void | setUseDefaultShowCloseButtonOnTab(boolean useDefaultShowCloseButtonOnTab) Set if use the default value from UIDefaults. | public void | setUseDefaultShowIconsOnTab(boolean useDefaultShowIconsOnTab) Set if use the default value from UIDefaults. | public void | stopTabEditing() | public void | updateUI() Resets the UI property to a value from the current look and feel. |
BOLDACTIVETAB_PROPERTY | final public static String BOLDACTIVETAB_PROPERTY(Code) | | Bound property name for if the active tab title is in bold
|
BOX_STYLE_PROPERTY | final public static String BOX_STYLE_PROPERTY(Code) | | Bound property name for box style
|
COLOR_THEME_DEFAULT | final public static int COLOR_THEME_DEFAULT(Code) | | color style
|
COLOR_THEME_OFFICE2003 | final public static int COLOR_THEME_OFFICE2003(Code) | | |
COLOR_THEME_VSNET | final public static int COLOR_THEME_VSNET(Code) | | |
COLOR_THEME_WIN2K | final public static int COLOR_THEME_WIN2K(Code) | | |
COLOR_THEME_WINXP | final public static int COLOR_THEME_WINXP(Code) | | |
GRIPPER_PROPERTY | final public static String GRIPPER_PROPERTY(Code) | | Bound property name for gripper.
|
HIDE_IF_ONE_TAB_PROPERTY | final public static String HIDE_IF_ONE_TAB_PROPERTY(Code) | | Bound property name for hide tab area if there is only one tab.
|
ONENOTE_COLOR_PROVIDER | public static ColorProvider ONENOTE_COLOR_PROVIDER(Code) | | |
PROPERTY_COLOR_THEME | final public static String PROPERTY_COLOR_THEME(Code) | | |
PROPERTY_CONTENT_BORDER_INSETS | final public static String PROPERTY_CONTENT_BORDER_INSETS(Code) | | |
PROPERTY_DRAG_OVER_DISABLED | final public static String PROPERTY_DRAG_OVER_DISABLED(Code) | | |
PROPERTY_TAB_COLOR_PROVIDER | final public static String PROPERTY_TAB_COLOR_PROVIDER(Code) | | |
PROPERTY_TAB_LEADING_COMPONENT | final public static String PROPERTY_TAB_LEADING_COMPONENT(Code) | | |
PROPERTY_TAB_RESIZE_MODE | final public static String PROPERTY_TAB_RESIZE_MODE(Code) | | |
PROPERTY_TAB_SHAPE | final public static String PROPERTY_TAB_SHAPE(Code) | | |
PROPERTY_TAB_TRAILING_COMPONENT | final public static String PROPERTY_TAB_TRAILING_COMPONENT(Code) | | |
RESIZE_MODE_COMPRESSED | final public static int RESIZE_MODE_COMPRESSED(Code) | | A tab resize mode. In this mode, the select tab will have full tab width. Non-selected tab will only display the icon. The actual width of non-selected tab is determined by
UIDefault "JideTabbedPane.compressedStyleNoIconRectSize" which is an integer.
|
RESIZE_MODE_DEFAULT | final public static int RESIZE_MODE_DEFAULT(Code) | | A tab resize mode. The default resize mode means it will use the resize mode of
JideTabbedPane.getDefaultTabResizeMode() which is defined
in UIDefault "JideTabbedPane.defaultResizeMode". You can change this in UIDefault. It will affect the resize mode of all JideTabbedPane s.
|
RESIZE_MODE_FIT | final public static int RESIZE_MODE_FIT(Code) | | A tab resize mode. The fit resize mode means the tabs will shrink if the tabbed pane width shinks so there is no way to display the full contents of the tabs.
|
RESIZE_MODE_FIXED | final public static int RESIZE_MODE_FIXED(Code) | | A tab resize mode. All tabs will be at a fixed width. The fixed width is defined as UIDefault "JideTabbedPane.fixedStyleRectSize" which is an integer.
|
RESIZE_MODE_NONE | final public static int RESIZE_MODE_NONE(Code) | | A tab resize mode. The none resize mode means the tab will not resize when tabbed pane width changes.
|
SHAPE_BOX | final public static int SHAPE_BOX(Code) | | |
SHAPE_DEFAULT | final public static int SHAPE_DEFAULT(Code) | | |
SHAPE_ECLIPSE | final public static int SHAPE_ECLIPSE(Code) | | |
SHAPE_ECLIPSE3X | final public static int SHAPE_ECLIPSE3X(Code) | | |
SHAPE_EXCEL | final public static int SHAPE_EXCEL(Code) | | |
SHAPE_FLAT | final public static int SHAPE_FLAT(Code) | | |
SHAPE_OFFICE2003 | final public static int SHAPE_OFFICE2003(Code) | | |
SHAPE_ROUNDED_FLAT | final public static int SHAPE_ROUNDED_FLAT(Code) | | |
SHAPE_ROUNDED_VSNET | final public static int SHAPE_ROUNDED_VSNET(Code) | | |
SHAPE_VSNET | final public static int SHAPE_VSNET(Code) | | |
SHAPE_WINDOWS | final public static int SHAPE_WINDOWS(Code) | | |
SHAPE_WINDOWS_SELECTED | final public static int SHAPE_WINDOWS_SELECTED(Code) | | |
SHOW_CLOSE_BUTTON_ON_TAB_PROPERTY | final public static String SHOW_CLOSE_BUTTON_ON_TAB_PROPERTY(Code) | | Bound property name for if showing close button on tab
|
SHOW_CLOSE_BUTTON_PROPERTY | final public static String SHOW_CLOSE_BUTTON_PROPERTY(Code) | | Bound property name for if showing close button
|
SHOW_ICONS_PROPERTY | final public static String SHOW_ICONS_PROPERTY(Code) | | Bound property name for show icons on tab
|
SHOW_TAB_AREA_PROPERTY | final public static String SHOW_TAB_AREA_PROPERTY(Code) | | Bound property name for if the tab area is visible.
|
SHOW_TAB_BUTTONS_PROPERTY | final public static String SHOW_TAB_BUTTONS_PROPERTY(Code) | | Bound property name for show tab button.
|
SHOW_TAB_CONTENT_PROPERTY | final public static String SHOW_TAB_CONTENT_PROPERTY(Code) | | Bound property name for if the tab area is visible.
|
SHRINK_TAB_PROPERTY | final public static String SHRINK_TAB_PROPERTY(Code) | | Bound property name for shrink tabs.
|
TAB_CLOSABLE_PROPERTY | final public static String TAB_CLOSABLE_PROPERTY(Code) | | Bound property name for tab closable.
|
USE_DEFAULT_SHOW_CLOSE_BUTTON_ON_TAB_PROPERTY | final public static String USE_DEFAULT_SHOW_CLOSE_BUTTON_ON_TAB_PROPERTY(Code) | | Bound property name for using default show close button on tab value from UIDefaults
|
USE_DEFAULT_SHOW_ICONS_PROPERTY | final public static String USE_DEFAULT_SHOW_ICONS_PROPERTY(Code) | | Bound property name for using default show icons on tab value from UIDefaults
|
_tabEditingAllowed | protected transient boolean _tabEditingAllowed(Code) | | |
JideTabbedPane | public JideTabbedPane()(Code) | | Creates an empty TabbedPane with a default
tab placement of JTabbedPane.TOP .
See Also: JideTabbedPane.addTab |
JideTabbedPane | public JideTabbedPane(int tabPlacement)(Code) | | Creates an empty TabbedPane with the specified tab placement
of either: JTabbedPane.TOP , JTabbedPane.BOTTOM ,
JTabbedPane.LEFT , or JTabbedPane.RIGHT .
Parameters: tabPlacement - the placement for the tabs relative to the content See Also: JideTabbedPane.addTab |
JideTabbedPane | public JideTabbedPane(int tabPlacement, int tabLayoutPolicy)(Code) | | Creates an empty JideTabbedPane with the specified tab placement
and tab layout policy. Tab placement may be either:
JTabbedPane.TOP or JTabbedPane.BOTTOM
Tab layout policy should always be JTabbedPane.SCROLL_TAB_LAYOUT .
JTabbedPane also supports JTabbedPane.WRAP_TAB_LAYOUT . However the style of
tabs in JideTabbedPane doesn't match with JTabbedPane.WRAP_TAB_LAYOUT
very well, so we decided not to support it.
Parameters: tabPlacement - the placement for the tabs relative to the content Parameters: tabLayoutPolicy - the policy for laying out tabs when all tabs will not fit on one run throws: IllegalArgumentException - if tab placement or tab layout policy are notone of the above supported values See Also: JideTabbedPane.addTab |
addNotify | public void addNotify()(Code) | | |
cancelTabEditing | public void cancelTabEditing()(Code) | | |
fireStateChanged | protected void fireStateChanged()(Code) | | |
fireTabEditing | protected void fireTabEditing(int id, int index, String oldTitle, String newTitle)(Code) | | |
getCloseAction | public Action getCloseAction()(Code) | | Gets close action.
close action |
getColorTheme | public int getColorTheme()(Code) | | |
getContentBorderInsets | public Insets getContentBorderInsets()(Code) | | |
getDefaultColorTheme | public int getDefaultColorTheme()(Code) | | |
getDefaultTabResizeMode | public int getDefaultTabResizeMode()(Code) | | |
getDefaultTabStyle | public int getDefaultTabStyle()(Code) | | |
getDisplayTitleAt | public String getDisplayTitleAt(int index)(Code) | | Gets the display title. Display title is result of using string converter that converts from
the title to a display title. There is no setter for display title. You control the value by using
a different string converter.
Parameters: index - the display title. |
getEditingTabIndex | public int getEditingTabIndex()(Code) | | |
getLastFocusedComponent | public Component getLastFocusedComponent(Component pageComponent)(Code) | | Gets the last focused component of a particular page.
Parameters: pageComponent - the last focused component of a particular page. |
getPageLastFocusTrackers | protected Hashtable getPageLastFocusTrackers()(Code) | | |
getSelectedTabFont | public Font getSelectedTabFont()(Code) | | Gets the font for selected tab.
the font for selected tab. |
getStringConverter | public StringConverter getStringConverter()(Code) | | Gets the string converter that converts the tab title to the display title.
the converter that converts the tab title to the display title. |
getTabAtLocation | public int getTabAtLocation(int x, int y)(Code) | | |
getTabColorProvider | public ColorProvider getTabColorProvider()(Code) | | Gets the tab color provider.
tab color provider. |
getTabEditingListeners | public TabEditingListener[] getTabEditingListeners()(Code) | | Returns an array of all the TabEditingListener s added
to this JTabbedPane with addTabEditingListener .
all of the TabEditingListener s added or an emptyarray if no listeners have been added |
getTabHeight | public int getTabHeight()(Code) | | Gets tab height.
height of tab |
getTabListCellRenderer | public ListCellRenderer getTabListCellRenderer()(Code) | | Gets the tab list cell renderer. This renderer is used to render the list in the popup when tab list button is pressed.
the tab list cell renderer. |
getTabResizeMode | public int getTabResizeMode()(Code) | | |
getTabShape | public int getTabShape()(Code) | | |
hasFocusComponent | public boolean hasFocusComponent()(Code) | | Checks if the JideTabbedPane has the focus component. If true, in some styles such as Office2003 style, we will
paint a background on the insets to indicate the tabbed pane has focus.
true if the JideTabbedPane has the focus component. Otherwise false. |
insertTab | public void insertTab(String title, Icon icon, Component component, String tip, int index)(Code) | | Overridden to add a PageLastFocusTracker to each page, used to
update the page's last focused component.
|
isAutoRequestFocus | public boolean isAutoRequestFocus()(Code) | | Checks if the UI should automatically request focus on selecte dcomponent when doing the layout.
This method is only used internally when the tab is being moved.
true or false. Default is true. |
isBoldActiveTab | public boolean isBoldActiveTab()(Code) | | If the active tab is in bold.
if the active tab is in bold. |
isHideOneTab | public boolean isHideOneTab()(Code) | | Checks if tab area will be hidden if there is only one tab.
If the showTabButtons option is true, isHideOneTab will
always return false so that there
is a place to place those tab buttons.
true if tab areas will be hidden if there is only one tab; false otherwise. |
isRightClickSelect | public boolean isRightClickSelect()(Code) | | Returns true if you want right click on unselected tab will select that tab.
true if right click on unselected tab will select that tab |
isShowCloseButton | public boolean isShowCloseButton()(Code) | | If close button is visible.
true if the close button is visible. |
isShowCloseButtonOnSelectedTab | public boolean isShowCloseButtonOnSelectedTab()(Code) | | |
isShowCloseButtonOnTab | public boolean isShowCloseButtonOnTab()(Code) | | Checks if the close button will be shown on tab.
true if close button will be shown on tab. |
isShowGripper | public boolean isShowGripper()(Code) | | If the grip is visible.
true if grip is visible |
isShowIconsOnTab | public boolean isShowIconsOnTab()(Code) | | Checks if the icon will be shown on tab.
true if the icon will be shown on tab. |
isShowTabArea | public boolean isShowTabArea()(Code) | | If the tab area is visible.
true if the tab area is visible. |
isShowTabButtons | public boolean isShowTabButtons()(Code) | | Checks if tab buttons are always visible. Tab buttons are scroll left button,
scroll right button and close button which appear to the right of tabs in tab area.
If the showTabButtons is set to true, isHideOneTab will
always return false so that there is a place to place those tab buttons.
true if tab buttons are always visible; false otherwise. |
isShowTabContent | public boolean isShowTabContent()(Code) | | If the tab content is visible.
true if the tab content is visible. |
isTabClosableAt | public boolean isTabClosableAt(int tabIndex)(Code) | | Checks if the tab at tabIndex should show the close button.
This is only a valid if showCloseButtonOnTab attribute is true.
By default, this method always return true. Subclass can override
this method to return a different value.
Parameters: tabIndex - throws: IndexOutOfBoundsException - if index is out of range(index < 0 || index >= tab count) |
isTabEditing | public boolean isTabEditing()(Code) | | Checks if tab is in editing mode.
true if editing. |
isTabEditingAllowed | public boolean isTabEditingAllowed()(Code) | | Checks if the tab editing is allowed.
true if tab editing is allowed. Otherwise false. |
isTabShown | public boolean isTabShown()(Code) | | Checks if tab area is shown.
true if tab area is visible; false otherwise. |
isUseDefaultShowCloseButtonOnTab | public boolean isUseDefaultShowCloseButtonOnTab()(Code) | | If the return is true, the value set to setShowCloseButtonOnTab() will be ignored.
if use default value from UIDefaults in L&F. |
isUseDefaultShowIconsOnTab | public boolean isUseDefaultShowIconsOnTab()(Code) | | If the return is true, the value set to setShowIconsOnTab() will be ignored.
if use default value from UIDefaults in L&F. |
moveSelectedTabTo | public void moveSelectedTabTo(int tabIndex)(Code) | | Moves selected tab from current position to the position specified in tabIndex.
Parameters: tabIndex - new index |
removeNotify | public void removeNotify()(Code) | | |
removeTabAt | public void removeTabAt(int index)(Code) | | |
repaintTabAreaAndContentBorder | public void repaintTabAreaAndContentBorder()(Code) | | Repaints the tab area and the content border if any. This is mainly for the focus border in JideTabbedPane Office2003 and Eclipse3x style.
|
requestFocusForVisibleComponent | protected boolean requestFocusForVisibleComponent()(Code) | | |
resetDefaultCloseAction | public void resetDefaultCloseAction()(Code) | | Resets close action to default. Default action
is to remove currently selected tab.
|
scrollSelectedTabToVisible | public void scrollSelectedTabToVisible(boolean scrollLeft)(Code) | | Scroll the selected tab visible in case the tab is outside of the viewport.
Parameters: scrollLeft - true to scroll the first tab visible first then scroll left to makethe selected tab visible. This will get a more consistent result.If false, it will simple scroll the selected tab visible. Sometimes thetab will appear as the first visible tab or the last visible tab depending onthe previous viewport position. |
setBoldActiveTab | public void setBoldActiveTab(boolean boldActiveTab)(Code) | | Sets if the active tab is in bold.
Parameters: boldActiveTab - |
setBoxStyleTab | public void setBoxStyleTab(boolean boxStyleTab)(Code) | | Sets the value if tabs are box style.
PropertyChangeEvent of BOX_STYLE_PROPERTY will be fired.
Parameters: boxStyleTab - true to show tab as box style; false otherwise.JideTabbedPane.setTabShape(int) |
setCloseAction | public void setCloseAction(Action action)(Code) | | Sets default close action for close button.
Parameters: action - the close action. |
setColorTheme | public void setColorTheme(int colorTheme)(Code) | | |
setContentBorderInsets | public void setContentBorderInsets(Insets contentBorderInsets)(Code) | | Sets the content border insets. It's the inserts around the JideTabbedPane's content. The direction of the insets
is when the tabs are on top. We will rotate it automatically when the tabs are on other direcitons.
Parameters: contentBorderInsets - |
setDragOverDisabled | public void setDragOverDisabled(boolean dragOverDisabled)(Code) | | Sets the dragOverDisabled property. Default is false. It means when you drag something over an unselected tab, the tab will be selected
automatically. You may want to set it to true if you want to add your own drop listener to the tabs.
Parameters: dragOverDisabled - |
setHideOneTab | public void setHideOneTab(boolean hideOne)(Code) | | Sets the value if tab area will be hidden if there is only one tab.
PropertyChangeEvent of HIDE_IF_ONE_TAB_PROPERTY will be fired.
If the showTabButtons option is true, no matter what option you pass to setHideOneTab,
isHideOneTab will always return false.
Parameters: hideOne - true to hide tab areas if there is only one tab; false otherwise. |
setRightClickSelect | public void setRightClickSelect(boolean rightClickSelect)(Code) | | Sets if you want right click on unselected tab will select that tab.
Parameters: rightClickSelect - true if right click on unselected tab will select that tab |
setSelectedIndex | public void setSelectedIndex(int index)(Code) | | |
setSelectedTabFont | public void setSelectedTabFont(Font selectedTabFont)(Code) | | Sets the font for selected tab.
Parameters: selectedTabFont - new font for selected tab. |
setShowCloseButton | public void setShowCloseButton(boolean showCloseButton)(Code) | | Sets if the close button is visible. Close button can be either
side by side with scroll buttons, or on each tab. If you call setShowCloseButton(false), it will
hide close buttons for both cases.
Parameters: showCloseButton - true or false. |
setShowCloseButtonOnSelectedTab | public void setShowCloseButtonOnSelectedTab(boolean i)(Code) | | Shows the close button on the selected tab only.
You also need to setShowCloseButtonOnTab(true) and setShowCloseButton(true) if you want to setShowCloseButtonOnSelectedTab(true).
Parameters: i - |
setShowCloseButtonOnTab | public void setShowCloseButtonOnTab(boolean showCloseButtonOnTab)(Code) | | Sets to true if the close button will be shown on tab. The value set to this
method will be used only when isUseDefaultShowCloseButtonOnTab() returns false.
You also need to setShowCloseButton(true) if you want to setShowCloseButtonOnTab(true).
Parameters: showCloseButtonOnTab - true or false. |
setShowGripper | public void setShowGripper(boolean showGripper)(Code) | | Sets the visibility of grip.
Parameters: showGripper - true to show grip |
setShowIconsOnTab | public void setShowIconsOnTab(boolean showIconsOnTab)(Code) | | Sets to true if the icon will be shown on tab. The value set to this
method will be used only when isUseDefaultShowIconsOnTab() returns false.
Parameters: showIconsOnTab - true or false. |
setShowTabArea | public void setShowTabArea(boolean showTabArea)(Code) | | Sets if the tab area is visible. If not visible, you can programatically
call setSelectedIndex to change ta. User will not be able to do it by clicking on
tabs since they are not visible.
Parameters: showTabArea - true or false. |
setShowTabButtons | public void setShowTabButtons(boolean showButtons)(Code) | | Sets the value if tab buttons are always visible.
PropertyChangeEvent of SHOW_TAB_BUTTONS_PROPERTY will be fired.
Parameters: showButtons - true to always show tab buttons; false otherwise. |
setShowTabContent | public void setShowTabContent(boolean showTabContent)(Code) | | Sets if the tab content is visible.
Parameters: showTabContent - true or false. |
setStringConverter | public void setStringConverter(StringConverter stringConverter)(Code) | | Sets the string converter.
Parameters: stringConverter - the StringConverter. |
setTabClosableAt | public void setTabClosableAt(int tabIndex, boolean closble)(Code) | | Checks if the tab at tabIndex should show the close button.
This is only a valid if showCloseButtonOnTab attribute is true.
By default, this method always return true. Subclass can override
this method to return a different value.
Please note, this attribute has effect only when
JideTabbedPane.isShowCloseButtonOnTab() return true.
Parameters: tabIndex - throws: IndexOutOfBoundsException - if index is out of range(index < 0 || index >= tab count) |
setTabColorProvider | public void setTabColorProvider(ColorProvider tabColorProvider)(Code) | | Sets the tab color provider.It allows you to set the background color of each tab. The reason
to use this way instead of
JideTabbedPane.setBackgroundAt(int,java.awt.Color) method is because
this way queries the color. So it can support unlimited number of tabs. When you don't know
exactly how many tabs it will be, this way can still handle it very well.
There is
JideTabbedPane.ONENOTE_COLOR_PROVIDER which provides the tab color as you see in Microsoft OneNote 2003.
You can also define your own ColorProvider to fit your application color theme.
Parameters: tabColorProvider - |
setTabEditingAllowed | public void setTabEditingAllowed(boolean allowed)(Code) | | Sets the value if the tab editing is allowed. Tab editing allows user to edit
the tab title directly by double clicking on the tab.
Parameters: allowed - true or false. |
setTabLeadingComponent | public void setTabLeadingComponent(Component component)(Code) | | Sets the tab leading component. The tab leading component will appear before the tabs in the tab area.
Please note, you must implement UIResource for the component you want to use as tab leading component.
Parameters: component - throws: IllegalArgumentException - if the component doesn't implement UIResource. |
setTabListCellRenderer | public void setTabListCellRenderer(ListCellRenderer tabListCellRenderer)(Code) | | Sets the tab list cell renderer. This renderer is used to render the list in the popup when tab list button is pressed.
In this list cell renderer, the value will always be the JideTabbedPane. The index will tell you which tab it is.
See below for the default cell renderer we used.
public static class TabListCellRenderer extends DefaultListCellRenderer {
public Component getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus) {
if (value instanceof JideTabbedPane) { // will always be true
JideTabbedPane tabbedPane = (JideTabbedPane) value;
String title = tabbedPane.getTitleAt(index);
Icon icon = tabbedPane.getIconAt(index);
JLabel label = (JLabel) super.getListCellRendererComponent(list, title, index, isSelected, cellHasFocus);
label.setIcon(icon);
return label;
}
else {
return super.getListCellRendererComponent(list, value, index, isSelected, cellHasFocus);
}
}
}
You can create your own cell renderer either extending
TabListCellRenderer or starting from scratch.
Parameters: tabListCellRenderer - |
setTabShape | public void setTabShape(int tabShape)(Code) | | |
setTabTrailingComponent | public void setTabTrailingComponent(Component component)(Code) | | Sets the tab trailing component. The tab trailing component will appear after the tabs in the tab area.
Please note, you must implement UIResource for the component you want to use as tab trailing component.
Parameters: component - throws: IllegalArgumentException - if the component doesn't implement UIResource. |
setTitleAt | public void setTitleAt(int index, String title)(Code) | | |
setUI | public void setUI(TabbedPaneUI ui)(Code) | | Sets the UI object which implements the L&F for this component.
Parameters: ui - the new UI object See Also: UIDefaults.getUI |
setUseDefaultShowCloseButtonOnTab | public void setUseDefaultShowCloseButtonOnTab(boolean useDefaultShowCloseButtonOnTab)(Code) | | Set if use the default value from UIDefaults.
Parameters: useDefaultShowCloseButtonOnTab - true or false. |
setUseDefaultShowIconsOnTab | public void setUseDefaultShowIconsOnTab(boolean useDefaultShowIconsOnTab)(Code) | | Set if use the default value from UIDefaults.
Parameters: useDefaultShowIconsOnTab - true or false. |
stopTabEditing | public void stopTabEditing()(Code) | | |
updateUI | public void updateUI()(Code) | | Resets the UI property to a value from the current look and feel.
See Also: JComponent.updateUI |
Methods inherited from javax.swing.JTabbedPane | public Component add(Component component)(Code)(Java Doc) public Component add(String title, Component component)(Code)(Java Doc) public Component add(Component component, int index)(Code)(Java Doc) public void add(Component component, Object constraints)(Code)(Java Doc) public void add(Component component, Object constraints, int index)(Code)(Java Doc) public void addChangeListener(ChangeListener l)(Code)(Java Doc) public void addTab(String title, Icon icon, Component component, String tip)(Code)(Java Doc) public void addTab(String title, Icon icon, Component component)(Code)(Java Doc) public void addTab(String title, Component component)(Code)(Java Doc) protected ChangeListener createChangeListener()(Code)(Java Doc) protected void fireStateChanged()(Code)(Java Doc) public AccessibleContext getAccessibleContext()(Code)(Java Doc) public Color getBackgroundAt(int index)(Code)(Java Doc) public Rectangle getBoundsAt(int index)(Code)(Java Doc) public ChangeListener[] getChangeListeners()(Code)(Java Doc) public Component getComponentAt(int index)(Code)(Java Doc) public Icon getDisabledIconAt(int index)(Code)(Java Doc) public int getDisplayedMnemonicIndexAt(int tabIndex)(Code)(Java Doc) public Color getForegroundAt(int index)(Code)(Java Doc) public Icon getIconAt(int index)(Code)(Java Doc) public int getMnemonicAt(int tabIndex)(Code)(Java Doc) public SingleSelectionModel getModel()(Code)(Java Doc) public Component getSelectedComponent()(Code)(Java Doc) public int getSelectedIndex()(Code)(Java Doc) public Component getTabComponentAt(int index)(Code)(Java Doc) public int getTabCount()(Code)(Java Doc) public int getTabLayoutPolicy()(Code)(Java Doc) public int getTabPlacement()(Code)(Java Doc) public int getTabRunCount()(Code)(Java Doc) public String getTitleAt(int index)(Code)(Java Doc) public String getToolTipText(MouseEvent event)(Code)(Java Doc) public String getToolTipTextAt(int index)(Code)(Java Doc) public TabbedPaneUI getUI()(Code)(Java Doc) public String getUIClassID()(Code)(Java Doc) public int indexAtLocation(int x, int y)(Code)(Java Doc) public int indexOfComponent(Component component)(Code)(Java Doc) public int indexOfTab(String title)(Code)(Java Doc) public int indexOfTab(Icon icon)(Code)(Java Doc) public int indexOfTabComponent(Component tabComponent)(Code)(Java Doc) public void insertTab(String title, Icon icon, Component component, String tip, int index)(Code)(Java Doc) public boolean isEnabledAt(int index)(Code)(Java Doc) protected String paramString()(Code)(Java Doc) public void remove(Component component)(Code)(Java Doc) public void remove(int index)(Code)(Java Doc) public void removeAll()(Code)(Java Doc) public void removeChangeListener(ChangeListener l)(Code)(Java Doc) public void removeTabAt(int index)(Code)(Java Doc) public void setBackgroundAt(int index, Color background)(Code)(Java Doc) public void setComponentAt(int index, Component component)(Code)(Java Doc) public void setDisabledIconAt(int index, Icon disabledIcon)(Code)(Java Doc) public void setDisplayedMnemonicIndexAt(int tabIndex, int mnemonicIndex)(Code)(Java Doc) public void setEnabledAt(int index, boolean enabled)(Code)(Java Doc) public void setForegroundAt(int index, Color foreground)(Code)(Java Doc) public void setIconAt(int index, Icon icon)(Code)(Java Doc) public void setMnemonicAt(int tabIndex, int mnemonic)(Code)(Java Doc) public void setModel(SingleSelectionModel model)(Code)(Java Doc) public void setSelectedComponent(Component c)(Code)(Java Doc) public void setSelectedIndex(int index)(Code)(Java Doc) public void setTabComponentAt(int index, Component component)(Code)(Java Doc) public void setTabLayoutPolicy(int tabLayoutPolicy)(Code)(Java Doc) public void setTabPlacement(int tabPlacement)(Code)(Java Doc) public void setTitleAt(int index, String title)(Code)(Java Doc) public void setToolTipTextAt(int index, String toolTipText)(Code)(Java Doc) public void setUI(TabbedPaneUI ui)(Code)(Java Doc) public void updateUI()(Code)(Java Doc)
|
Methods inherited from javax.swing.JComponent | public void addAncestorListener(AncestorListener listener)(Code)(Java Doc) public void addNotify()(Code)(Java Doc) public synchronized void addVetoableChangeListener(VetoableChangeListener listener)(Code)(Java Doc) public void computeVisibleRect(Rectangle visibleRect)(Code)(Java Doc) public boolean contains(int x, int y)(Code)(Java Doc) public JToolTip createToolTip()(Code)(Java Doc) public void disable()(Code)(Java Doc) public void enable()(Code)(Java Doc) public void firePropertyChange(String propertyName, boolean oldValue, boolean newValue)(Code)(Java Doc) public void firePropertyChange(String propertyName, int oldValue, int newValue)(Code)(Java Doc) public void firePropertyChange(String propertyName, char oldValue, char newValue)(Code)(Java Doc) protected void fireVetoableChange(String propertyName, Object oldValue, Object newValue) throws java.beans.PropertyVetoException(Code)(Java Doc) public AccessibleContext getAccessibleContext()(Code)(Java Doc) public ActionListener getActionForKeyStroke(KeyStroke aKeyStroke)(Code)(Java Doc) final public ActionMap getActionMap()(Code)(Java Doc) public float getAlignmentX()(Code)(Java Doc) public float getAlignmentY()(Code)(Java Doc) public AncestorListener[] getAncestorListeners()(Code)(Java Doc) public boolean getAutoscrolls()(Code)(Java Doc) public int getBaseline(int width, int height)(Code)(Java Doc) public BaselineResizeBehavior getBaselineResizeBehavior()(Code)(Java Doc) public Border getBorder()(Code)(Java Doc) public Rectangle getBounds(Rectangle rv)(Code)(Java Doc) final public Object getClientProperty(Object key)(Code)(Java Doc) protected Graphics getComponentGraphics(Graphics g)(Code)(Java Doc) public JPopupMenu getComponentPopupMenu()(Code)(Java Doc) public int getConditionForKeyStroke(KeyStroke aKeyStroke)(Code)(Java Doc) public int getDebugGraphicsOptions()(Code)(Java Doc) public static Locale getDefaultLocale()(Code)(Java Doc) public FontMetrics getFontMetrics(Font font)(Code)(Java Doc) public Graphics getGraphics()(Code)(Java Doc) public int getHeight()(Code)(Java Doc) public boolean getInheritsPopupMenu()(Code)(Java Doc) final public InputMap getInputMap(int condition)(Code)(Java Doc) final public InputMap getInputMap()(Code)(Java Doc) public InputVerifier getInputVerifier()(Code)(Java Doc) public Insets getInsets()(Code)(Java Doc) public Insets getInsets(Insets insets)(Code)(Java Doc) public T[] getListeners(Class<T> listenerType)(Code)(Java Doc) public Point getLocation(Point rv)(Code)(Java Doc) public Dimension getMaximumSize()(Code)(Java Doc) public Dimension getMinimumSize()(Code)(Java Doc) public Component getNextFocusableComponent()(Code)(Java Doc) public Point getPopupLocation(MouseEvent event)(Code)(Java Doc) public Dimension getPreferredSize()(Code)(Java Doc) public KeyStroke[] getRegisteredKeyStrokes()(Code)(Java Doc) public JRootPane getRootPane()(Code)(Java Doc) public Dimension getSize(Dimension rv)(Code)(Java Doc) public Point getToolTipLocation(MouseEvent event)(Code)(Java Doc) public String getToolTipText()(Code)(Java Doc) public String getToolTipText(MouseEvent event)(Code)(Java Doc) public Container getTopLevelAncestor()(Code)(Java Doc) public TransferHandler getTransferHandler()(Code)(Java Doc) public String getUIClassID()(Code)(Java Doc) public boolean getVerifyInputWhenFocusTarget()(Code)(Java Doc) public synchronized VetoableChangeListener[] getVetoableChangeListeners()(Code)(Java Doc) public Rectangle getVisibleRect()(Code)(Java Doc) public int getWidth()(Code)(Java Doc) public int getX()(Code)(Java Doc) public int getY()(Code)(Java Doc) public void grabFocus()(Code)(Java Doc) public boolean isDoubleBuffered()(Code)(Java Doc) public static boolean isLightweightComponent(Component c)(Code)(Java Doc) public boolean isManagingFocus()(Code)(Java Doc) public boolean isOpaque()(Code)(Java Doc) public boolean isOptimizedDrawingEnabled()(Code)(Java Doc) final public boolean isPaintingForPrint()(Code)(Java Doc) public boolean isPaintingTile()(Code)(Java Doc) public boolean isRequestFocusEnabled()(Code)(Java Doc) public boolean isValidateRoot()(Code)(Java Doc) public void paint(Graphics g)(Code)(Java Doc) protected void paintBorder(Graphics g)(Code)(Java Doc) protected void paintChildren(Graphics g)(Code)(Java Doc) protected void paintComponent(Graphics g)(Code)(Java Doc) public void paintImmediately(int x, int y, int w, int h)(Code)(Java Doc) public void paintImmediately(Rectangle r)(Code)(Java Doc) protected String paramString()(Code)(Java Doc) public void print(Graphics g)(Code)(Java Doc) public void printAll(Graphics g)(Code)(Java Doc) protected void printBorder(Graphics g)(Code)(Java Doc) protected void printChildren(Graphics g)(Code)(Java Doc) protected void printComponent(Graphics g)(Code)(Java Doc) protected void processComponentKeyEvent(KeyEvent e)(Code)(Java Doc) protected boolean processKeyBinding(KeyStroke ks, KeyEvent e, int condition, boolean pressed)(Code)(Java Doc) protected void processKeyEvent(KeyEvent e)(Code)(Java Doc) protected void processMouseEvent(MouseEvent e)(Code)(Java Doc) protected void processMouseMotionEvent(MouseEvent e)(Code)(Java Doc) final public void putClientProperty(Object key, Object value)(Code)(Java Doc) public void registerKeyboardAction(ActionListener anAction, String aCommand, KeyStroke aKeyStroke, int aCondition)(Code)(Java Doc) public void registerKeyboardAction(ActionListener anAction, KeyStroke aKeyStroke, int aCondition)(Code)(Java Doc) public void removeAncestorListener(AncestorListener listener)(Code)(Java Doc) public void removeNotify()(Code)(Java Doc) public synchronized void removeVetoableChangeListener(VetoableChangeListener listener)(Code)(Java Doc) public void repaint(long tm, int x, int y, int width, int height)(Code)(Java Doc) public void repaint(Rectangle r)(Code)(Java Doc) public boolean requestDefaultFocus()(Code)(Java Doc) public void requestFocus()(Code)(Java Doc) public boolean requestFocus(boolean temporary)(Code)(Java Doc) public boolean requestFocusInWindow()(Code)(Java Doc) protected boolean requestFocusInWindow(boolean temporary)(Code)(Java Doc) public void resetKeyboardActions()(Code)(Java Doc) public void reshape(int x, int y, int w, int h)(Code)(Java Doc) public void revalidate()(Code)(Java Doc) public void scrollRectToVisible(Rectangle aRect)(Code)(Java Doc) final public void setActionMap(ActionMap am)(Code)(Java Doc) public void setAlignmentX(float alignmentX)(Code)(Java Doc) public void setAlignmentY(float alignmentY)(Code)(Java Doc) public void setAutoscrolls(boolean autoscrolls)(Code)(Java Doc) public void setBackground(Color bg)(Code)(Java Doc) public void setBorder(Border border)(Code)(Java Doc) public void setComponentPopupMenu(JPopupMenu popup)(Code)(Java Doc) public void setDebugGraphicsOptions(int debugOptions)(Code)(Java Doc) public static void setDefaultLocale(Locale l)(Code)(Java Doc) public void setDoubleBuffered(boolean aFlag)(Code)(Java Doc) public void setEnabled(boolean enabled)(Code)(Java Doc) public void setFocusTraversalKeys(int id, Set<? extends AWTKeyStroke> keystrokes)(Code)(Java Doc) public void setFont(Font font)(Code)(Java Doc) public void setForeground(Color fg)(Code)(Java Doc) public void setInheritsPopupMenu(boolean value)(Code)(Java Doc) final public void setInputMap(int condition, InputMap map)(Code)(Java Doc) public void setInputVerifier(InputVerifier inputVerifier)(Code)(Java Doc) public void setMaximumSize(Dimension maximumSize)(Code)(Java Doc) public void setMinimumSize(Dimension minimumSize)(Code)(Java Doc) public void setNextFocusableComponent(Component aComponent)(Code)(Java Doc) public void setOpaque(boolean isOpaque)(Code)(Java Doc) public void setPreferredSize(Dimension preferredSize)(Code)(Java Doc) public void setRequestFocusEnabled(boolean requestFocusEnabled)(Code)(Java Doc) public void setToolTipText(String text)(Code)(Java Doc) public void setTransferHandler(TransferHandler newHandler)(Code)(Java Doc) protected void setUI(ComponentUI newUI)(Code)(Java Doc) public void setVerifyInputWhenFocusTarget(boolean verifyInputWhenFocusTarget)(Code)(Java Doc) public void setVisible(boolean aFlag)(Code)(Java Doc) public void unregisterKeyboardAction(KeyStroke aKeyStroke)(Code)(Java Doc) public void update(Graphics g)(Code)(Java Doc) public void updateUI()(Code)(Java Doc)
|
Methods inherited from java.awt.Container | public Component add(Component comp)(Code)(Java Doc) public Component add(String name, Component comp)(Code)(Java Doc) public Component add(Component comp, int index)(Code)(Java Doc) public void add(Component comp, Object constraints)(Code)(Java Doc) public void add(Component comp, Object constraints, int index)(Code)(Java Doc) public synchronized void addContainerListener(ContainerListener l)(Code)(Java Doc) protected void addImpl(Component comp, Object constraints, int index)(Code)(Java Doc) public void addNotify()(Code)(Java Doc) public void addPropertyChangeListener(PropertyChangeListener listener)(Code)(Java Doc) public void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)(Code)(Java Doc) public void applyComponentOrientation(ComponentOrientation o)(Code)(Java Doc) public boolean areFocusTraversalKeysSet(int id)(Code)(Java Doc) public int countComponents()(Code)(Java Doc) public void deliverEvent(Event e)(Code)(Java Doc) public void doLayout()(Code)(Java Doc) public Component findComponentAt(int x, int y)(Code)(Java Doc) public Component findComponentAt(Point p)(Code)(Java Doc) public float getAlignmentX()(Code)(Java Doc) public float getAlignmentY()(Code)(Java Doc) public Component getComponent(int n)(Code)(Java Doc) public Component getComponentAt(int x, int y)(Code)(Java Doc) public Component getComponentAt(Point p)(Code)(Java Doc) public int getComponentCount()(Code)(Java Doc) public int getComponentZOrder(Component comp)(Code)(Java Doc) public Component[] getComponents()(Code)(Java Doc) public synchronized ContainerListener[] getContainerListeners()(Code)(Java Doc) public Set<AWTKeyStroke> getFocusTraversalKeys(int id)(Code)(Java Doc) public FocusTraversalPolicy getFocusTraversalPolicy()(Code)(Java Doc) public Insets getInsets()(Code)(Java Doc) public LayoutManager getLayout()(Code)(Java Doc) public T[] getListeners(Class<T> listenerType)(Code)(Java Doc) public Dimension getMaximumSize()(Code)(Java Doc) public Dimension getMinimumSize()(Code)(Java Doc) public Point getMousePosition(boolean allowChildren) throws HeadlessException(Code)(Java Doc) public Dimension getPreferredSize()(Code)(Java Doc) public Insets insets()(Code)(Java Doc) public void invalidate()(Code)(Java Doc) public boolean isAncestorOf(Component c)(Code)(Java Doc) public boolean isFocusCycleRoot(Container container)(Code)(Java Doc) public boolean isFocusCycleRoot()(Code)(Java Doc) final public boolean isFocusTraversalPolicyProvider()(Code)(Java Doc) public boolean isFocusTraversalPolicySet()(Code)(Java Doc) public void layout()(Code)(Java Doc) public void list(PrintStream out, int indent)(Code)(Java Doc) public void list(PrintWriter out, int indent)(Code)(Java Doc) public Component locate(int x, int y)(Code)(Java Doc) public Dimension minimumSize()(Code)(Java Doc) public void paint(Graphics g)(Code)(Java Doc) public void paintComponents(Graphics g)(Code)(Java Doc) protected String paramString()(Code)(Java Doc) public Dimension preferredSize()(Code)(Java Doc) public void print(Graphics g)(Code)(Java Doc) public void printComponents(Graphics g)(Code)(Java Doc) protected void processContainerEvent(ContainerEvent e)(Code)(Java Doc) protected void processEvent(AWTEvent e)(Code)(Java Doc) public void remove(int index)(Code)(Java Doc) public void remove(Component comp)(Code)(Java Doc) public void removeAll()(Code)(Java Doc) public synchronized void removeContainerListener(ContainerListener l)(Code)(Java Doc) public void removeNotify()(Code)(Java Doc) public void setComponentZOrder(Component comp, int index)(Code)(Java Doc) public void setFocusCycleRoot(boolean focusCycleRoot)(Code)(Java Doc) public void setFocusTraversalKeys(int id, Set<? extends AWTKeyStroke> keystrokes)(Code)(Java Doc) public void setFocusTraversalPolicy(FocusTraversalPolicy policy)(Code)(Java Doc) final public void setFocusTraversalPolicyProvider(boolean provider)(Code)(Java Doc) public void setFont(Font f)(Code)(Java Doc) public void setLayout(LayoutManager mgr)(Code)(Java Doc) public void transferFocusDownCycle()(Code)(Java Doc) public void update(Graphics g)(Code)(Java Doc) public void validate()(Code)(Java Doc) protected void validateTree()(Code)(Java Doc)
|
Methods inherited from java.awt.Component | public boolean action(Event evt, Object what)(Code)(Java Doc) public void add(PopupMenu popup)(Code)(Java Doc) public synchronized void addComponentListener(ComponentListener l)(Code)(Java Doc) public synchronized void addFocusListener(FocusListener l)(Code)(Java Doc) public void addHierarchyBoundsListener(HierarchyBoundsListener l)(Code)(Java Doc) public void addHierarchyListener(HierarchyListener l)(Code)(Java Doc) public synchronized void addInputMethodListener(InputMethodListener l)(Code)(Java Doc) public synchronized void addKeyListener(KeyListener l)(Code)(Java Doc) public synchronized void addMouseListener(MouseListener l)(Code)(Java Doc) public synchronized void addMouseMotionListener(MouseMotionListener l)(Code)(Java Doc) public synchronized void addMouseWheelListener(MouseWheelListener l)(Code)(Java Doc) public void addNotify()(Code)(Java Doc) public synchronized void addPropertyChangeListener(PropertyChangeListener listener)(Code)(Java Doc) public synchronized void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)(Code)(Java Doc) public void applyComponentOrientation(ComponentOrientation orientation)(Code)(Java Doc) public boolean areFocusTraversalKeysSet(int id)(Code)(Java Doc) public Rectangle bounds()(Code)(Java Doc) public int checkImage(Image image, ImageObserver observer)(Code)(Java Doc) public int checkImage(Image image, int width, int height, ImageObserver observer)(Code)(Java Doc) protected AWTEvent coalesceEvents(AWTEvent existingEvent, AWTEvent newEvent)(Code)(Java Doc) public boolean contains(int x, int y)(Code)(Java Doc) public boolean contains(Point p)(Code)(Java Doc) public Image createImage(ImageProducer producer)(Code)(Java Doc) public Image createImage(int width, int height)(Code)(Java Doc) public VolatileImage createVolatileImage(int width, int height)(Code)(Java Doc) public VolatileImage createVolatileImage(int width, int height, ImageCapabilities caps) throws AWTException(Code)(Java Doc) public void deliverEvent(Event e)(Code)(Java Doc) public void disable()(Code)(Java Doc) final protected void disableEvents(long eventsToDisable)(Code)(Java Doc) final public void dispatchEvent(AWTEvent e)(Code)(Java Doc) public void doLayout()(Code)(Java Doc) public void enable()(Code)(Java Doc) public void enable(boolean b)(Code)(Java Doc) final protected void enableEvents(long eventsToEnable)(Code)(Java Doc) public void enableInputMethods(boolean enable)(Code)(Java Doc) protected void firePropertyChange(String propertyName, Object oldValue, Object newValue)(Code)(Java Doc) protected void firePropertyChange(String propertyName, boolean oldValue, boolean newValue)(Code)(Java Doc) protected void firePropertyChange(String propertyName, int oldValue, int newValue)(Code)(Java Doc) public void firePropertyChange(String propertyName, byte oldValue, byte newValue)(Code)(Java Doc) public void firePropertyChange(String propertyName, char oldValue, char newValue)(Code)(Java Doc) public void firePropertyChange(String propertyName, short oldValue, short newValue)(Code)(Java Doc) public void firePropertyChange(String propertyName, long oldValue, long newValue)(Code)(Java Doc) public void firePropertyChange(String propertyName, float oldValue, float newValue)(Code)(Java Doc) public void firePropertyChange(String propertyName, double oldValue, double newValue)(Code)(Java Doc) public AccessibleContext getAccessibleContext()(Code)(Java Doc) public float getAlignmentX()(Code)(Java Doc) public float getAlignmentY()(Code)(Java Doc) public Color getBackground()(Code)(Java Doc) public int getBaseline(int width, int height)(Code)(Java Doc) public BaselineResizeBehavior getBaselineResizeBehavior()(Code)(Java Doc) public Rectangle getBounds()(Code)(Java Doc) public Rectangle getBounds(Rectangle rv)(Code)(Java Doc) public ColorModel getColorModel()(Code)(Java Doc) public Component getComponentAt(int x, int y)(Code)(Java Doc) public Component getComponentAt(Point p)(Code)(Java Doc) public synchronized ComponentListener[] getComponentListeners()(Code)(Java Doc) public ComponentOrientation getComponentOrientation()(Code)(Java Doc) public Cursor getCursor()(Code)(Java Doc) public synchronized DropTarget getDropTarget()(Code)(Java Doc) public Container getFocusCycleRootAncestor()(Code)(Java Doc) public synchronized FocusListener[] getFocusListeners()(Code)(Java Doc) public Set<AWTKeyStroke> getFocusTraversalKeys(int id)(Code)(Java Doc) public boolean getFocusTraversalKeysEnabled()(Code)(Java Doc) public Font getFont()(Code)(Java Doc) public FontMetrics getFontMetrics(Font font)(Code)(Java Doc) public Color getForeground()(Code)(Java Doc) public Graphics getGraphics()(Code)(Java Doc) public GraphicsConfiguration getGraphicsConfiguration()(Code)(Java Doc) public int getHeight()(Code)(Java Doc) public synchronized HierarchyBoundsListener[] getHierarchyBoundsListeners()(Code)(Java Doc) public synchronized HierarchyListener[] getHierarchyListeners()(Code)(Java Doc) public boolean getIgnoreRepaint()(Code)(Java Doc) public InputContext getInputContext()(Code)(Java Doc) public synchronized InputMethodListener[] getInputMethodListeners()(Code)(Java Doc) public InputMethodRequests getInputMethodRequests()(Code)(Java Doc) public synchronized KeyListener[] getKeyListeners()(Code)(Java Doc) public T[] getListeners(Class<T> listenerType)(Code)(Java Doc) public Locale getLocale()(Code)(Java Doc) public Point getLocation()(Code)(Java Doc) public Point getLocation(Point rv)(Code)(Java Doc) public Point getLocationOnScreen()(Code)(Java Doc) public Dimension getMaximumSize()(Code)(Java Doc) public Dimension getMinimumSize()(Code)(Java Doc) public synchronized MouseListener[] getMouseListeners()(Code)(Java Doc) public synchronized MouseMotionListener[] getMouseMotionListeners()(Code)(Java Doc) public Point getMousePosition() throws HeadlessException(Code)(Java Doc) public synchronized MouseWheelListener[] getMouseWheelListeners()(Code)(Java Doc) public String getName()(Code)(Java Doc) public Container getParent()(Code)(Java Doc) public ComponentPeer getPeer()(Code)(Java Doc) public Dimension getPreferredSize()(Code)(Java Doc) public synchronized PropertyChangeListener[] getPropertyChangeListeners()(Code)(Java Doc) public synchronized PropertyChangeListener[] getPropertyChangeListeners(String propertyName)(Code)(Java Doc) public Dimension getSize()(Code)(Java Doc) public Dimension getSize(Dimension rv)(Code)(Java Doc) public Toolkit getToolkit()(Code)(Java Doc) final public Object getTreeLock()(Code)(Java Doc) public int getWidth()(Code)(Java Doc) public int getX()(Code)(Java Doc) public int getY()(Code)(Java Doc) public boolean gotFocus(Event evt, Object what)(Code)(Java Doc) public boolean handleEvent(Event evt)(Code)(Java Doc) public boolean hasFocus()(Code)(Java Doc) public void hide()(Code)(Java Doc) public boolean imageUpdate(Image img, int infoflags, int x, int y, int w, int h)(Code)(Java Doc) public boolean inside(int x, int y)(Code)(Java Doc) public void invalidate()(Code)(Java Doc) public boolean isBackgroundSet()(Code)(Java Doc) public boolean isCursorSet()(Code)(Java Doc) public boolean isDisplayable()(Code)(Java Doc) public boolean isDoubleBuffered()(Code)(Java Doc) public boolean isEnabled()(Code)(Java Doc) public boolean isFocusCycleRoot(Container container)(Code)(Java Doc) public boolean isFocusOwner()(Code)(Java Doc) public boolean isFocusTraversable()(Code)(Java Doc) public boolean isFocusable()(Code)(Java Doc) public boolean isFontSet()(Code)(Java Doc) public boolean isForegroundSet()(Code)(Java Doc) public boolean isLightweight()(Code)(Java Doc) public boolean isMaximumSizeSet()(Code)(Java Doc) public boolean isMinimumSizeSet()(Code)(Java Doc) public boolean isOpaque()(Code)(Java Doc) public boolean isPreferredSizeSet()(Code)(Java Doc) public boolean isShowing()(Code)(Java Doc) public boolean isValid()(Code)(Java Doc) public boolean isVisible()(Code)(Java Doc) public boolean keyDown(Event evt, int key)(Code)(Java Doc) public boolean keyUp(Event evt, int key)(Code)(Java Doc) public void layout()(Code)(Java Doc) public void list()(Code)(Java Doc) public void list(PrintStream out)(Code)(Java Doc) public void list(PrintStream out, int indent)(Code)(Java Doc) public void list(PrintWriter out)(Code)(Java Doc) public void list(PrintWriter out, int indent)(Code)(Java Doc) public Component locate(int x, int y)(Code)(Java Doc) public Point location()(Code)(Java Doc) public boolean lostFocus(Event evt, Object what)(Code)(Java Doc) public Dimension minimumSize()(Code)(Java Doc) public boolean mouseDown(Event evt, int x, int y)(Code)(Java Doc) public boolean mouseDrag(Event evt, int x, int y)(Code)(Java Doc) public boolean mouseEnter(Event evt, int x, int y)(Code)(Java Doc) public boolean mouseExit(Event evt, int x, int y)(Code)(Java Doc) public boolean mouseMove(Event evt, int x, int y)(Code)(Java Doc) public boolean mouseUp(Event evt, int x, int y)(Code)(Java Doc) public void move(int x, int y)(Code)(Java Doc) public void nextFocus()(Code)(Java Doc) public void paint(Graphics g)(Code)(Java Doc) public void paintAll(Graphics g)(Code)(Java Doc) protected String paramString()(Code)(Java Doc) public boolean postEvent(Event e)(Code)(Java Doc) public Dimension preferredSize()(Code)(Java Doc) public boolean prepareImage(Image image, ImageObserver observer)(Code)(Java Doc) public boolean prepareImage(Image image, int width, int height, ImageObserver observer)(Code)(Java Doc) public void print(Graphics g)(Code)(Java Doc) public void printAll(Graphics g)(Code)(Java Doc) protected void processComponentEvent(ComponentEvent e)(Code)(Java Doc) protected void processEvent(AWTEvent e)(Code)(Java Doc) protected void processFocusEvent(FocusEvent e)(Code)(Java Doc) protected void processHierarchyBoundsEvent(HierarchyEvent e)(Code)(Java Doc) protected void processHierarchyEvent(HierarchyEvent e)(Code)(Java Doc) protected void processInputMethodEvent(InputMethodEvent e)(Code)(Java Doc) protected void processKeyEvent(KeyEvent e)(Code)(Java Doc) protected void processMouseEvent(MouseEvent e)(Code)(Java Doc) protected void processMouseMotionEvent(MouseEvent e)(Code)(Java Doc) protected void processMouseWheelEvent(MouseWheelEvent e)(Code)(Java Doc) public void remove(MenuComponent popup)(Code)(Java Doc) public synchronized void removeComponentListener(ComponentListener l)(Code)(Java Doc) public synchronized void removeFocusListener(FocusListener l)(Code)(Java Doc) public void removeHierarchyBoundsListener(HierarchyBoundsListener l)(Code)(Java Doc) public void removeHierarchyListener(HierarchyListener l)(Code)(Java Doc) public synchronized void removeInputMethodListener(InputMethodListener l)(Code)(Java Doc) public synchronized void removeKeyListener(KeyListener l)(Code)(Java Doc) public synchronized void removeMouseListener(MouseListener l)(Code)(Java Doc) public synchronized void removeMouseMotionListener(MouseMotionListener l)(Code)(Java Doc) public synchronized void removeMouseWheelListener(MouseWheelListener l)(Code)(Java Doc) public void removeNotify()(Code)(Java Doc) public synchronized void removePropertyChangeListener(PropertyChangeListener listener)(Code)(Java Doc) public synchronized void removePropertyChangeListener(String propertyName, PropertyChangeListener listener)(Code)(Java Doc) public void repaint()(Code)(Java Doc) public void repaint(long tm)(Code)(Java Doc) public void repaint(int x, int y, int width, int height)(Code)(Java Doc) public void repaint(long tm, int x, int y, int width, int height)(Code)(Java Doc) public void requestFocus()(Code)(Java Doc) protected boolean requestFocus(boolean temporary)(Code)(Java Doc) public boolean requestFocusInWindow()(Code)(Java Doc) protected boolean requestFocusInWindow(boolean temporary)(Code)(Java Doc) public void reshape(int x, int y, int width, int height)(Code)(Java Doc) public void resize(int width, int height)(Code)(Java Doc) public void resize(Dimension d)(Code)(Java Doc) public void setBackground(Color c)(Code)(Java Doc) public void setBounds(int x, int y, int width, int height)(Code)(Java Doc) public void setBounds(Rectangle r)(Code)(Java Doc) public void setComponentOrientation(ComponentOrientation o)(Code)(Java Doc) public void setCursor(Cursor cursor)(Code)(Java Doc) public synchronized void setDropTarget(DropTarget dt)(Code)(Java Doc) public void setEnabled(boolean b)(Code)(Java Doc) public void setFocusTraversalKeys(int id, Set<? extends AWTKeyStroke> keystrokes)(Code)(Java Doc) public void setFocusTraversalKeysEnabled(boolean focusTraversalKeysEnabled)(Code)(Java Doc) public void setFocusable(boolean focusable)(Code)(Java Doc) public void setFont(Font f)(Code)(Java Doc) public void setForeground(Color c)(Code)(Java Doc) public void setIgnoreRepaint(boolean ignoreRepaint)(Code)(Java Doc) public void setLocale(Locale l)(Code)(Java Doc) public void setLocation(int x, int y)(Code)(Java Doc) public void setLocation(Point p)(Code)(Java Doc) public void setMaximumSize(Dimension maximumSize)(Code)(Java Doc) public void setMinimumSize(Dimension minimumSize)(Code)(Java Doc) public void setName(String name)(Code)(Java Doc) public void setPreferredSize(Dimension preferredSize)(Code)(Java Doc) public void setSize(int width, int height)(Code)(Java Doc) public void setSize(Dimension d)(Code)(Java Doc) public void setVisible(boolean b)(Code)(Java Doc) public void show()(Code)(Java Doc) public void show(boolean b)(Code)(Java Doc) public Dimension size()(Code)(Java Doc) public String toString()(Code)(Java Doc) public void transferFocus()(Code)(Java Doc) public void transferFocusBackward()(Code)(Java Doc) public void transferFocusUpCycle()(Code)(Java Doc) public void update(Graphics g)(Code)(Java Doc) public void validate()(Code)(Java Doc)
|
|
|