Java Doc for BasicScrollingTabDisplayerUI.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.BasicTabDisplayerUI
      org.netbeans.swing.tabcontrol.plaf.BasicScrollingTabDisplayerUI

All known Subclasses:   org.netbeans.swing.tabcontrol.plaf.GtkEditorTabDisplayerUI,  org.netbeans.swing.tabcontrol.plaf.WinXPEditorTabDisplayerUI,  org.netbeans.swing.tabcontrol.plaf.AquaEditorTabDisplayerUI,  org.netbeans.swing.tabcontrol.plaf.WinVistaEditorTabDisplayerUI,  org.netbeans.swing.tabcontrol.plaf.WinClassicEditorTabDisplayerUI,  org.netbeans.swing.tabcontrol.plaf.MetalEditorTabDisplayerUI,
BasicScrollingTabDisplayerUI
abstract public class BasicScrollingTabDisplayerUI extends BasicTabDisplayerUI (Code)
Base class for tab displayers that have scrollable tabs.
author:
   Tim Boudreau

Inner Class :protected class ScrollingTabState extends BasicTabState
Inner Class :protected class ScrollingDisplayerComponentListener extends ComponentAdapter
Inner Class :protected class ScrollingHierarchyListener extends DisplayerHierarchyListener

Field Summary
static  SoftReference<BufferedImage>ctx
    

Constructor Summary
public  BasicScrollingTabDisplayerUI(TabDisplayer displayer)
    

Method Summary
protected  ComponentListenercreateComponentListener()
    
protected  HierarchyListenercreateHierarchyListener()
    
protected  LayoutManagercreateLayout()
    
final protected  TabLayoutModelcreateLayoutModel()
    
protected  TabStatecreateTabState()
    
protected  ComponentgetControlButtons()
    
protected  RectanglegetControlButtonsRectangle(Container parent)
    
final protected  intgetFirstVisibleTab()
    
final protected  intgetLastVisibleTab()
    
public  DimensiongetMinimumSize(JComponent c)
    
public static  Graphics2DgetOffscreenGraphics()
    
public  InsetsgetTabAreaInsets()
    
final protected  intgetTabsAreaWidth()
    
protected  voidinstall()
    
protected  voidinstallControlButtons()
    
public  voidmakeTabVisible(int tab)
    
protected  voidmodelChanged()
     Overrides modelChanged() to clear the transient information in the state model, which may now contain tab indices that don't exist, and also to clear cached width/last-visible-tab data in the layout model, and ensure that the selected tab is visible.
protected  voidprocessMouseWheelEvent(MouseWheelEvent e)
    
final protected  ScrollingTabLayoutModelscroll()
    
protected  voiduninstall()
    

Field Detail
ctx
static SoftReference<BufferedImage> ctx(Code)




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




Method Detail
createComponentListener
protected ComponentListener createComponentListener()(Code)



createHierarchyListener
protected HierarchyListener createHierarchyListener()(Code)



createLayout
protected LayoutManager createLayout()(Code)



createLayoutModel
final protected TabLayoutModel createLayoutModel()(Code)



createTabState
protected TabState createTabState()(Code)



getControlButtons
protected Component getControlButtons()(Code)
A component that holds control buttons (scroll left/right, drop down menu)that are displayed to right of the tab area.



getControlButtonsRectangle
protected Rectangle getControlButtonsRectangle(Container parent)(Code)
Bounds for the control buttons in the tab displayer container.



getFirstVisibleTab
final protected int getFirstVisibleTab()(Code)



getLastVisibleTab
final protected int getLastVisibleTab()(Code)



getMinimumSize
public Dimension getMinimumSize(JComponent c)(Code)



getOffscreenGraphics
public static Graphics2D getOffscreenGraphics()(Code)
Provides an offscreen graphics context so that widths based on character size can be calculated correctly before the component is shown



getTabAreaInsets
public Insets getTabAreaInsets()(Code)



getTabsAreaWidth
final protected int getTabsAreaWidth()(Code)
Returns the width of the tabs area



install
protected void install()(Code)



installControlButtons
protected void installControlButtons()(Code)



makeTabVisible
public void makeTabVisible(int tab)(Code)



modelChanged
protected void modelChanged()(Code)
Overrides modelChanged() to clear the transient information in the state model, which may now contain tab indices that don't exist, and also to clear cached width/last-visible-tab data in the layout model, and ensure that the selected tab is visible.



processMouseWheelEvent
protected void processMouseWheelEvent(MouseWheelEvent e)(Code)
Overridden to update the offset of the ScrollingTabLayoutModel on mouse wheel events



scroll
final protected ScrollingTabLayoutModel scroll()(Code)
Convenience getter for the layout model as an instance of ScrollingTabLayoutModel



uninstall
protected void uninstall()(Code)



Fields inherited from org.netbeans.swing.tabcontrol.plaf.BasicTabDisplayerUI
protected TabCellRenderer defaultRenderer(Code)(Java Doc)
int pixelsToAdd(Code)(Java Doc)
protected int repaintPolicy(Code)(Java Doc)
protected TabState tabState(Code)(Java Doc)

Methods inherited from org.netbeans.swing.tabcontrol.plaf.BasicTabDisplayerUI
final protected void cancelRequestAttention(int tab)(Code)(Java Doc)
abstract protected TabCellRenderer createDefaultRenderer()(Code)(Java Doc)
public Image createImageOfTab(int index)(Code)(Java Doc)
protected ModelListener createModelListener()(Code)(Java Doc)
protected MouseListener createMouseListener()(Code)(Java Doc)
protected PropertyChangeListener createPropertyChangeListener()(Code)(Java Doc)
protected int createRepaintPolicy()(Code)(Java Doc)
protected ChangeListener createSelectionListener()(Code)(Java Doc)
protected TabState createTabState()(Code)(Java Doc)
public int dropIndexOfPoint(Point p)(Code)(Java Doc)
public Polygon getExactTabIndication(int index)(Code)(Java Doc)
protected int getFirstVisibleTab()(Code)(Java Doc)
public Polygon getInsertTabIndication(int index)(Code)(Java Doc)
final protected Point getLastKnownMouseLocation()(Code)(Java Doc)
protected int getLastVisibleTab()(Code)(Java Doc)
abstract public Insets getTabAreaInsets()(Code)(Java Doc)
protected TabCellRenderer getTabCellRenderer(int tab)(Code)(Java Doc)
public Rectangle getTabRect(int idx, Rectangle rect)(Code)(Java Doc)
protected Rectangle getTabRectForRepaint(int tab, Rectangle rect)(Code)(Java Doc)
TabState getTabState()(Code)(Java Doc)
final protected void getTabsVisibleArea(Rectangle rect)(Code)(Java Doc)
protected void install()(Code)(Java Doc)
protected boolean isAntialiased()(Code)(Java Doc)
protected void modelChanged()(Code)(Java Doc)
final public void paint(Graphics g, JComponent c)(Code)(Java Doc)
protected void paintAfterTabs(Graphics g)(Code)(Java Doc)
protected void paintBackground(Graphics g)(Code)(Java Doc)
protected void processMouseWheelEvent(MouseWheelEvent e)(Code)(Java Doc)
final protected void requestAttention(int tab)(Code)(Java Doc)
public int tabForCoordinate(Point p)(Code)(Java Doc)
protected void uninstall()(Code)(Java Doc)

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.