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

All known Subclasses:   org.netbeans.swing.tabcontrol.plaf.WinXPViewTabDisplayerUI,  org.netbeans.swing.tabcontrol.plaf.WinVistaViewTabDisplayerUI,  org.netbeans.swing.tabcontrol.plaf.MetalViewTabDisplayerUI,  org.netbeans.swing.tabcontrol.plaf.WinClassicViewTabDisplayerUI,  org.netbeans.swing.tabcontrol.plaf.AquaViewTabDisplayerUI,  org.netbeans.swing.tabcontrol.plaf.GtkViewTabDisplayerUI,
AbstractViewTabDisplayerUI
abstract public class AbstractViewTabDisplayerUI extends TabDisplayerUI (Code)
Basic UI class for view tabs - non scrollable tabbed displayer, which shows all tabs equally sized, proportionally. This class is independent on specific L&F, acts as base class for specific L&F descendants.

XXX eventually this class should be deleted and a subclass of BasicTabDisplayer can be used; currently this is simply a port of the original code to the new API. Do not introduce any new subclasses of this.
author:
   Dafe Simonek


Inner Class :protected class Controller extends MouseAdapter implements MouseMotionListener,ChangeListener,PropertyChangeListener,ComplexListDataListener

Field Summary
protected  Controllercontroller
    
final protected  TabStatetabState
    

Constructor Summary
public  AbstractViewTabDisplayerUI(TabDisplayer displayer)
    

Method Summary
protected  voidcancelRequestAttention(int tab)
    
protected  ControllercreateController()
    
public  ImagecreateImageOfTab(int index)
    
protected  intcreateRepaintPolicy()
    
final protected  SingleSelectionModelcreateSelectionModel()
    
public  intdropIndexOfPoint(Point p)
    
protected  ComponentgetControlButtons()
    
public  ControllergetController()
    
final protected  TabDataModelgetDataModel()
    
final protected  TabDisplayergetDisplayer()
    
public  PolygongetExactTabIndication(int index)
    
public  PolygongetInsertTabIndication(int index)
    
final public  TabLayoutModelgetLayoutModel()
    
final protected  SingleSelectionModelgetSelectionModel()
    
public  RectanglegetTabRect(int index, Rectangle destination)
    
protected  FontgetTxtFont()
     Specifies font to use for text and font metrics.
final protected  FontMetricsgetTxtFontMetrics()
    
protected  voidinstallControlButtons()
    
public  voidinstallUI(JComponent c)
    
final protected  booleanisActive()
    
protected  booleanisAttention(int tab)
    
final protected  booleanisFocused(int index)
    
final protected  booleanisSelected(int index)
    
public  voidpaint(Graphics g, JComponent c)
    
abstract protected  voidpaintTabBackground(Graphics g, int index, int x, int y, int width, int height)
    
abstract protected  voidpaintTabBorder(Graphics g, int index, int x, int y, int width, int height)
    
abstract protected  voidpaintTabContent(Graphics g, int index, String text, int x, int y, int width, int height)
    
public  voidregisterShortcuts(JComponent comp)
    
protected  voidrequestAttention(int tab)
    
 voidshowHidePinButton()
    
public  inttabForCoordinate(Point p)
    
public  voiduninstallUI(JComponent c)
    
public  voidunregisterShortcuts(JComponent comp)
    

Field Detail
controller
protected Controller controller(Code)



tabState
final protected TabState tabState(Code)




Constructor Detail
AbstractViewTabDisplayerUI
public AbstractViewTabDisplayerUI(TabDisplayer displayer)(Code)




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



createController
protected Controller createController()(Code)



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



createRepaintPolicy
protected int createRepaintPolicy()(Code)



createSelectionModel
final protected SingleSelectionModel createSelectionModel()(Code)



dropIndexOfPoint
public int dropIndexOfPoint(Point p)(Code)



getControlButtons
protected Component getControlButtons()(Code)
A component that holds all control buttons (maximize/restor, slide/pin, close) that are displayed in the active tab or null ifcontrol buttons are not supported.



getController
public Controller getController()(Code)



getDataModel
final protected TabDataModel getDataModel()(Code)



getDisplayer
final protected TabDisplayer getDisplayer()(Code)



getExactTabIndication
public Polygon getExactTabIndication(int index)(Code)



getInsertTabIndication
public Polygon getInsertTabIndication(int index)(Code)



getLayoutModel
final public TabLayoutModel getLayoutModel()(Code)



getSelectionModel
final protected SingleSelectionModel getSelectionModel()(Code)



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



getTxtFont
protected Font getTxtFont()(Code)
Specifies font to use for text and font metrics. Subclasses may override to specify their own text font



getTxtFontMetrics
final protected FontMetrics getTxtFontMetrics()(Code)



installControlButtons
protected void installControlButtons()(Code)



installUI
public void installUI(JComponent c)(Code)



isActive
final protected boolean isActive()(Code)



isAttention
protected boolean isAttention(int tab)(Code)
Determine if the tab should be flashing



isFocused
final protected boolean isFocused(int index)(Code)



isSelected
final protected boolean isSelected(int index)(Code)



paint
public void paint(Graphics g, JComponent c)(Code)



paintTabBackground
abstract protected void paintTabBackground(Graphics g, int index, int x, int y, int width, int height)(Code)



paintTabBorder
abstract protected void paintTabBorder(Graphics g, int index, int x, int y, int width, int height)(Code)



paintTabContent
abstract protected void paintTabContent(Graphics g, int index, String text, int x, int y, int width, int height)(Code)



registerShortcuts
public void registerShortcuts(JComponent comp)(Code)
Registers shortcut for enable/ disable auto-hide functionality



requestAttention
protected void requestAttention(int tab)(Code)



showHidePinButton
void showHidePinButton()(Code)



tabForCoordinate
public int tabForCoordinate(Point p)(Code)



uninstallUI
public void uninstallUI(JComponent c)(Code)



unregisterShortcuts
public void unregisterShortcuts(JComponent comp)(Code)
Registers shortcut for enable/ disable auto-hide functionality



Fields inherited from org.netbeans.swing.tabcontrol.TabDisplayerUI
final protected TabDisplayer displayer(Code)(Java Doc)
protected SingleSelectionModel selectionModel(Code)(Java Doc)

Methods inherited from org.netbeans.swing.tabcontrol.TabDisplayerUI
abstract protected void cancelRequestAttention(int tab)(Code)(Java Doc)
public Image createImageOfTab(int index)(Code)(Java Doc)
abstract protected SingleSelectionModel createSelectionModel()(Code)(Java Doc)
abstract public int dropIndexOfPoint(Point p)(Code)(Java Doc)
public Icon getButtonIcon(int buttonId, int buttonState)(Code)(Java Doc)
abstract public Polygon getExactTabIndication(int index)(Code)(Java Doc)
abstract public Polygon getInsertTabIndication(int index)(Code)(Java Doc)
abstract public Rectangle getTabRect(int index, Rectangle destination)(Code)(Java Doc)
public void installUI(JComponent c)(Code)(Java Doc)
public void makeTabVisible(int index)(Code)(Java Doc)
public void postTabAction(TabActionEvent e)(Code)(Java Doc)
abstract public void registerShortcuts(JComponent comp)(Code)(Java Doc)
abstract protected void requestAttention(int tab)(Code)(Java Doc)
final protected boolean shouldPerformAction(String command, int tab, MouseEvent event)(Code)(Java Doc)
abstract public int tabForCoordinate(Point p)(Code)(Java Doc)
public void uninstallUI(JComponent c)(Code)(Java Doc)
abstract 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.