| javax.swing.JTabbedPane com.l2fprod.common.swing.JOutlookBar
JOutlookBar | public class JOutlookBar extends JTabbedPane (Code) | | JOutlookBar brings the famous Outlook component to
Swing. The component shows stacks of components where only one
stack is visible at a time.
The tab orientation of the
javax.swing.JTabbedPane is
mapped to the JOutlookBar orientation as follow:
- with JTabbedPane.TOP or JTabbedPane.BOTTOM, JOutlookBar will
layout the components horizontally
- with JTabbedPane.LEFT or JTabbedPane.RIGHT, JOutlookBar will
layout the components vertically (default)
|
Method Summary | |
protected void | addImpl(Component comp, Object constraints, int index) | public int | getAlignmentAt(int index) | public Color | getBackgroundAt(int index) | protected ExtendedPage | getExtendedPage(int index) | public Color | getForegroundAt(int index) | public String | getUIClassID() Returns the name of the L&F class that renders this component. | public boolean | isAnimated() | public JScrollPane | makeScrollPane(Component component) Builds a JScrollPane to hold the component. | protected void | removeExtendedPage(int index) | public void | removeTabAt(int index) | public void | setAlignmentAt(int index, int alignment) | public void | setAllTabsAlignment(int alignment) | public void | setAnimated(boolean animated) Enables or disables animation during tab transition. | public void | setBackgroundAt(int index, Color background) | public void | setDisabledIconAt(int index, Icon disabledIcon) | public void | setDisplayedMnemonicIndexAt(int tabIndex, int mnemonicIndex) | public void | setEnabledAt(int index, boolean enabled) | public void | setForegroundAt(int index, Color foreground) | public void | setIconAt(int index, Icon icon) | public void | setMnemonicAt(int index, int mnemonic) | public void | setTitleAt(int index, String title) | public void | setToolTipTextAt(int index, String toolTipText) | public void | setUI(OutlookBarUI ui) Sets the L&F object that renders this component. | public void | updateUI() Notification from the UIManager that the L&F has
changed. |
ANIMATED_CHANGED_KEY | final public static String ANIMATED_CHANGED_KEY(Code) | | Used when generating PropertyChangeEvents for the "animated" property
|
extendedPages | protected Map extendedPages(Code) | | |
JOutlookBar | public JOutlookBar()(Code) | | |
JOutlookBar | public JOutlookBar(int tabPlacement)(Code) | | Parameters: tabPlacement - |
getAlignmentAt | public int getAlignmentAt(int index)(Code) | | Parameters: index - the title alignment of the tab at index |
getBackgroundAt | public Color getBackgroundAt(int index)(Code) | | |
getExtendedPage | protected ExtendedPage getExtendedPage(int index)(Code) | | |
getForegroundAt | public Color getForegroundAt(int index)(Code) | | |
isAnimated | public boolean isAnimated()(Code) | | true if this taskpane is animated during expand/collapsetransition. |
makeScrollPane | public JScrollPane makeScrollPane(Component component)(Code) | | Builds a JScrollPane to hold the component. By default tabs are
not scrollable. They can be made scrollable by putting them in a
JScrollPane and adding the JScrollPane instead of the tab to the
JOutlookBar. It is recommended to use this method to create the
scrollbar as the UI may choose to return a JScrollPane specially
configured for the JOutlookBar component (ex. with different
scrollbars)
Parameters: component - a JScrollPane with component as view |
removeExtendedPage | protected void removeExtendedPage(int index)(Code) | | |
removeTabAt | public void removeTabAt(int index)(Code) | | |
setAnimated | public void setAnimated(boolean animated)(Code) | | Enables or disables animation during tab transition.
Parameters: animated - |
setBackgroundAt | public void setBackgroundAt(int index, Color background)(Code) | | Overriden to notify the UI about the change
|
setDisabledIconAt | public void setDisabledIconAt(int index, Icon disabledIcon)(Code) | | Overriden to notify the UI about the change
|
setDisplayedMnemonicIndexAt | public void setDisplayedMnemonicIndexAt(int tabIndex, int mnemonicIndex)(Code) | | Overriden to notify the UI about the change
|
setEnabledAt | public void setEnabledAt(int index, boolean enabled)(Code) | | Overriden to notify the UI about the change
|
setForegroundAt | public void setForegroundAt(int index, Color foreground)(Code) | | Overriden to notify the UI about the change
|
setIconAt | public void setIconAt(int index, Icon icon)(Code) | | Overriden to notify the UI about the change
|
setMnemonicAt | public void setMnemonicAt(int index, int mnemonic)(Code) | | Overriden to notify the UI about the change
|
setTitleAt | public void setTitleAt(int index, String title)(Code) | | Overriden to notify the UI about the change
|
setToolTipTextAt | public void setToolTipTextAt(int index, String toolTipText)(Code) | | Overriden to notify the UI about the change
|
updateUI | public void updateUI()(Code) | | Notification from the UIManager that the L&F has
changed. Replaces the current UI object with the latest version
from the UIManager .
See Also: javax.swing.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)
|
|
|