Java Doc for JOutlookBar.java in  » Swing-Library » l2fprod-common » com » l2fprod » common » swing » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Swing Library » l2fprod common » com.l2fprod.common.swing 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


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)


Field Summary
final public static  StringANIMATED_CHANGED_KEY
    
final public static  StringUI_CLASS_ID
    
protected  MapextendedPages
    

Constructor Summary
public  JOutlookBar()
    
public  JOutlookBar(int tabPlacement)
    

Method Summary
protected  voidaddImpl(Component comp, Object constraints, int index)
    
public  intgetAlignmentAt(int index)
    
public  ColorgetBackgroundAt(int index)
    
protected  ExtendedPagegetExtendedPage(int index)
    
public  ColorgetForegroundAt(int index)
    
public  StringgetUIClassID()
     Returns the name of the L&F class that renders this component.
public  booleanisAnimated()
    
public  JScrollPanemakeScrollPane(Component component)
     Builds a JScrollPane to hold the component.
protected  voidremoveExtendedPage(int index)
    
public  voidremoveTabAt(int index)
    
public  voidsetAlignmentAt(int index, int alignment)
    
public  voidsetAllTabsAlignment(int alignment)
    
public  voidsetAnimated(boolean animated)
     Enables or disables animation during tab transition.
public  voidsetBackgroundAt(int index, Color background)
    
public  voidsetDisabledIconAt(int index, Icon disabledIcon)
    
public  voidsetDisplayedMnemonicIndexAt(int tabIndex, int mnemonicIndex)
    
public  voidsetEnabledAt(int index, boolean enabled)
    
public  voidsetForegroundAt(int index, Color foreground)
    
public  voidsetIconAt(int index, Icon icon)
    
public  voidsetMnemonicAt(int index, int mnemonic)
    
public  voidsetTitleAt(int index, String title)
    
public  voidsetToolTipTextAt(int index, String toolTipText)
    
public  voidsetUI(OutlookBarUI ui)
     Sets the L&F object that renders this component.
public  voidupdateUI()
     Notification from the UIManager that the L&F has changed.

Field Detail
ANIMATED_CHANGED_KEY
final public static String ANIMATED_CHANGED_KEY(Code)
Used when generating PropertyChangeEvents for the "animated" property



UI_CLASS_ID
final public static String UI_CLASS_ID(Code)



extendedPages
protected Map extendedPages(Code)




Constructor Detail
JOutlookBar
public JOutlookBar()(Code)



JOutlookBar
public JOutlookBar(int tabPlacement)(Code)

Parameters:
  tabPlacement -




Method Detail
addImpl
protected void addImpl(Component comp, Object constraints, int index)(Code)



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)



getUIClassID
public String getUIClassID()(Code)
Returns the name of the L&F class that renders this component. the string JOutlookBar.UI_CLASS_ID
See Also:   javax.swing.JComponent.getUIClassID
See Also:   javax.swing.UIDefaults.getUI



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)



setAlignmentAt
public void setAlignmentAt(int index, int alignment)(Code)
Sets the title alignment of the tab at index
Parameters:
  index -
Parameters:
  alignment - one of javax.swing.SwingConstants.LEFT,javax.swing.SwingConstants.CENTER,javax.swing.SwingConstants.RIGHT.



setAllTabsAlignment
public void setAllTabsAlignment(int alignment)(Code)
Sets the title alignment for all tabs
Parameters:
  alignment - one of javax.swing.SwingConstants.LEFT,javax.swing.SwingConstants.CENTER,javax.swing.SwingConstants.RIGHT.



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



setUI
public void setUI(OutlookBarUI ui)(Code)
Sets the L&F object that renders this component.
Parameters:
  ui - the OutlookBarUI L&F object
See Also:   javax.swing.UIDefaults.getUI



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



Fields inherited from javax.swing.JTabbedPane
final public static int SCROLL_TAB_LAYOUT(Code)(Java Doc)
final public static int WRAP_TAB_LAYOUT(Code)(Java Doc)
protected transient ChangeEvent changeEvent(Code)(Java Doc)
protected ChangeListener changeListener(Code)(Java Doc)
protected SingleSelectionModel model(Code)(Java Doc)
protected int tabPlacement(Code)(Java Doc)

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)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.