Java Doc for BasicSlidingTabDisplayerUI.java in  » IDE-Netbeans » library » org » netbeans » swing » tabcontrol » plaf » 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 » IDE Netbeans » library » org.netbeans.swing.tabcontrol.plaf 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.netbeans.swing.tabcontrol.plaf.AbstractTabDisplayerUI
   org.netbeans.swing.tabcontrol.plaf.BasicSlidingTabDisplayerUI

BasicSlidingTabDisplayerUI
final public class BasicSlidingTabDisplayerUI extends AbstractTabDisplayerUI (Code)
Common UI for sliding tabs. Simply uses JToggleButtons for displayers, since the contents of the data model are not expected to change often, and no scrolling behavior needs to be supported for the tabs area.

Note that the "sliding" is provided by an instance of FxProvider provided in the DefaultTabbedContainerUI, not here.

To change the appearance of the buttons, simply provide a subclass of SlidingTabDisplayerButtonUI via UIDefaults. This class is final.
author:
   Tim Boudreau


Inner Class :final protected class SlidingPropertyChangeListener extends AbstractTabDisplayerUI.DisplayerPropertyChangeListener
Inner Class :final public class IndexButton extends JToggleButton implements ActionListener


Constructor Summary
public  BasicSlidingTabDisplayerUI(TabDisplayer displayer)
    

Method Summary
public  voidcancelRequestAttention(int tab)
    
protected  FontcreateFont()
    
public  ImagecreateImageOfTab(int index)
    
protected  TabLayoutModelcreateLayoutModel()
    
protected  MouseListenercreateMouseListener()
    
protected  ChangeListenercreateSelectionListener()
    
public static  ComponentUIcreateUI(JComponent c)
    
public  IcongetButtonIcon(int buttonId, int buttonState)
    
public  PolygongetExactTabIndication(int index)
    
public  PolygongetInsertTabIndication(int index)
    
public  DimensiongetMinimumSize(JComponent c)
    
public  DimensiongetPreferredSize(JComponent c)
    
public  RectanglegetTabRect(int index, Rectangle destination)
    
protected  voidinstall()
    
protected  voidmodelChanged()
    
public  voidrequestAttention(int tab)
    
public  inttabForCoordinate(Point p)
    
protected  voiduninstall()
    


Constructor Detail
BasicSlidingTabDisplayerUI
public BasicSlidingTabDisplayerUI(TabDisplayer displayer)(Code)
Creates a new instance of BasicSlidingTabDisplayerUI




Method Detail
cancelRequestAttention
public void cancelRequestAttention(int tab)(Code)



createFont
protected Font createFont()(Code)



createImageOfTab
public Image createImageOfTab(int index)(Code)
Paints the rectangle occupied by a tab into an image and returns the result



createLayoutModel
protected TabLayoutModel createLayoutModel()(Code)
Not used so much to determine layout as to calculate preferred sizes here



createMouseListener
protected MouseListener createMouseListener()(Code)



createSelectionListener
protected ChangeListener createSelectionListener()(Code)



createUI
public static ComponentUI createUI(JComponent c)(Code)



getButtonIcon
public Icon getButtonIcon(int buttonId, int buttonState)(Code)



getExactTabIndication
public Polygon getExactTabIndication(int index)(Code)



getInsertTabIndication
public Polygon getInsertTabIndication(int index)(Code)



getMinimumSize
public Dimension getMinimumSize(JComponent c)(Code)



getPreferredSize
public Dimension getPreferredSize(JComponent c)(Code)



getTabRect
public Rectangle getTabRect(int index, Rectangle destination)(Code)



install
protected void install()(Code)



modelChanged
protected void modelChanged()(Code)



requestAttention
public void requestAttention(int tab)(Code)



tabForCoordinate
public int tabForCoordinate(Point p)(Code)



uninstall
protected void uninstall()(Code)



Fields inherited from org.netbeans.swing.tabcontrol.plaf.AbstractTabDisplayerUI
protected ComponentListener componentListener(Code)(Java Doc)
protected HierarchyListener hierarchyListener(Code)(Java Doc)
protected TabLayoutModel layoutModel(Code)(Java Doc)
protected ModelListener modelListener(Code)(Java Doc)
protected MouseListener mouseListener(Code)(Java Doc)
protected PropertyChangeListener propertyChangeListener(Code)(Java Doc)
protected ChangeListener selectionListener(Code)(Java Doc)

Methods inherited from org.netbeans.swing.tabcontrol.plaf.AbstractTabDisplayerUI
protected ComponentListener createComponentListener()(Code)(Java Doc)
protected Font createFont()(Code)(Java Doc)
protected HierarchyListener createHierarchyListener()(Code)(Java Doc)
abstract protected TabLayoutModel createLayoutModel()(Code)(Java Doc)
protected ModelListener createModelListener()(Code)(Java Doc)
abstract protected MouseListener createMouseListener()(Code)(Java Doc)
protected PropertyChangeListener createPropertyChangeListener()(Code)(Java Doc)
abstract protected ChangeListener createSelectionListener()(Code)(Java Doc)
protected SingleSelectionModel createSelectionModel()(Code)(Java Doc)
public int dropIndexOfPoint(Point p)(Code)(Java Doc)
protected void install()(Code)(Java Doc)
final protected void installListeners()(Code)(Java Doc)
final public void installUI(JComponent c)(Code)(Java Doc)
protected void modelChanged()(Code)(Java Doc)
public void registerShortcuts(JComponent comp)(Code)(Java Doc)
protected Point toDropPoint(Point location)(Code)(Java Doc)
protected void uninstall()(Code)(Java Doc)
final protected void uninstallListeners()(Code)(Java Doc)
final public void uninstallUI(JComponent c)(Code)(Java Doc)
public void unregisterShortcuts(JComponent comp)(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.