Java Doc for TabContainerWidget.java in  » Web-Framework » aranea-mvc-1.1.1 » org » araneaframework » uilib » tab » 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 » Web Framework » aranea mvc 1.1.1 » org.araneaframework.uilib.tab 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.araneaframework.core.BaseApplicationWidget
   org.araneaframework.uilib.tab.TabContainerWidget

TabContainerWidget
public class TabContainerWidget extends BaseApplicationWidget implements TabContainerContext,TabRegistrationContext(Code)
This class represents a UI widget that contains tabs ( TabWidget )s. Only one tab can be selected (active) at a time, such tab is specified with TabContainerWidget.selectTab(String) . When on creation the selected tab is not specified, the first tab is marked as selected. Tabs are added with TabContainerWidget.addTab(String,String,Widget) , removed with TabContainerWidget.removeTab(String) and disabled (user cannot select them) with TabContainerWidget.disableTab(String) . By default tabs preserve the addition order and are also presented in that order. When this TabContainerWidget has a Comparator set, it will sort and present the tabs in an order specified by that Comparator .
author:
   Taimo Peelo (taimo@araneaframework.org)
since:
   1.1

Inner Class :protected class SelectionEventListener extends StandardEventListener
Inner Class :protected class ComponentImpl extends BaseApplicationWidget.ComponentImpl

Field Summary
final public static  StringTAB_SELECT_EVENT_ID
    
protected transient  booleandying
     This is just to make sure that we do not initialize ANY tabs after destroying process has already begun.
protected  TabWidgetselected
    
protected  Maptabs
    

Constructor Summary
public  TabContainerWidget()
    
public  TabContainerWidget(Comparator comparator)
    

Method Summary
public  Component.Interface_getComponent()
    
public  voidaddTab(String id, String labelId, Widget contentWidget)
    
public  voidaddTab(String id, String labelId, WidgetFactory contentWidgetFactory)
    
public  voidaddTab(String id, Widget labelWidget, Widget contentWidget)
    
public  voidaddTab(String id, Widget labelWidget, WidgetFactory contentWidgetFactory)
    
public  booleandisableTab(String id)
    
public  voiddisableWidget(Object key)
    
public  booleanenableTab(String id)
    
public  voidenableWidget(Object key)
    
protected  EnvironmentgetChildWidgetEnvironment()
    
public  WidgetgetSelectedTab()
    
public  MapgetTabs()
    
public  booleanisTabSelected(String id)
    
public  TabWidgetregisterTab(TabWidget tabWidget)
    
public  booleanremoveTab(String id)
    
protected  voidselectFirst()
    
public  booleanselectTab(String id)
    
public  TabWidgetunregisterTab(TabWidget tabWidget)
    

Field Detail
TAB_SELECT_EVENT_ID
final public static String TAB_SELECT_EVENT_ID(Code)



dying
protected transient boolean dying(Code)
This is just to make sure that we do not initialize ANY tabs after destroying process has already begun.



selected
protected TabWidget selected(Code)



tabs
protected Map tabs(Code)




Constructor Detail
TabContainerWidget
public TabContainerWidget()(Code)



TabContainerWidget
public TabContainerWidget(Comparator comparator)(Code)




Method Detail
_getComponent
public Component.Interface _getComponent()(Code)



addTab
public void addTab(String id, String labelId, Widget contentWidget)(Code)



addTab
public void addTab(String id, String labelId, WidgetFactory contentWidgetFactory)(Code)



addTab
public void addTab(String id, Widget labelWidget, Widget contentWidget)(Code)



addTab
public void addTab(String id, Widget labelWidget, WidgetFactory contentWidgetFactory)(Code)



disableTab
public boolean disableTab(String id)(Code)



disableWidget
public void disableWidget(Object key)(Code)



enableTab
public boolean enableTab(String id)(Code)



enableWidget
public void enableWidget(Object key)(Code)



getChildWidgetEnvironment
protected Environment getChildWidgetEnvironment() throws Exception(Code)



getSelectedTab
public Widget getSelectedTab()(Code)



getTabs
public Map getTabs()(Code)



isTabSelected
public boolean isTabSelected(String id)(Code)



registerTab
public TabWidget registerTab(TabWidget tabWidget)(Code)

See Also:   org.araneaframework.uilib.tab.TabRegistrationContext.registerTab(org.araneaframework.uilib.tab.TabWidget)



removeTab
public boolean removeTab(String id)(Code)



selectFirst
protected void selectFirst()(Code)



selectTab
public boolean selectTab(String id)(Code)



unregisterTab
public TabWidget unregisterTab(TabWidget tabWidget)(Code)

See Also:   org.araneaframework.uilib.tab.TabRegistrationContext.unregisterTab(org.araneaframework.uilib.tab.TabWidget)



Methods inherited from org.araneaframework.core.BaseApplicationWidget
public Composite.Interface _getComposite()(Code)(Java Doc)
public Viewable.Interface _getViewable()(Code)(Java Doc)
protected void action(Path path, InputData input, OutputData output) throws Exception(Code)(Java Doc)
public void addActionListener(Object actionId, ActionListener listener)(Code)(Java Doc)
public void addEventListener(Object eventId, EventListener listener)(Code)(Java Doc)
public void addWidget(Object key, Widget child, Environment env)(Code)(Java Doc)
public void addWidget(Object key, Widget child)(Code)(Java Doc)
public void clearActionListeners(Object actionId)(Code)(Java Doc)
public void clearEventlisteners(Object eventId)(Code)(Java Doc)
public void clearGlobalEventListener()(Code)(Java Doc)
public void disableWidget(Object key)(Code)(Java Doc)
public void enableWidget(Object key)(Code)(Java Doc)
protected void event(Path path, InputData input) throws Exception(Code)(Java Doc)
protected Object getActionId(InputData input)(Code)(Java Doc)
final public Environment getChildEnvironment()(Code)(Java Doc)
protected Environment getChildWidgetEnvironment() throws Exception(Code)(Java Doc)
public Map getChildren()(Code)(Java Doc)
public Environment getEnvironment()(Code)(Java Doc)
protected String getEventId(InputData input)(Code)(Java Doc)
public Object getViewModel() throws Exception(Code)(Java Doc)
public Widget getWidget(Object key)(Code)(Java Doc)
protected void handleAction(InputData input, OutputData output) throws Exception(Code)(Java Doc)
protected void handleEvent(InputData input) throws Exception(Code)(Java Doc)
protected void handleUpdate(InputData input) throws Exception(Code)(Java Doc)
protected void propagate(Message message) throws Exception(Code)(Java Doc)
public void putViewData(String key, Object customDataItem)(Code)(Java Doc)
public void putViewDataOnce(String key, Object customDataItem)(Code)(Java Doc)
public void removeActionListener(ActionListener listener)(Code)(Java Doc)
public void removeEventListener(EventListener listener)(Code)(Java Doc)
public void removeViewData(String key)(Code)(Java Doc)
public void removeWidget(Object key)(Code)(Java Doc)
protected void render(OutputData output) throws Exception(Code)(Java Doc)
public void setGlobalEventListener(EventListener eventListener)(Code)(Java Doc)
protected void update(InputData input) throws Exception(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.