Java Doc for Container.java in  » Web-Framework » ThinWire » thinwire » ui » 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 » ThinWire » thinwire.ui 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


thinwire.ui.Container

Container
public interface Container extends ItemChangeEventComponent(Code)
A Container is a Component that maintains a collection of other Components as a group. Additionally, Container is the foundation of all other container types in the framework such as Panel, Frame, Dialog, TabSheet, etc. It is worth noting that components within a Container, maintain there X and Y coordinates relative to the Container itself. Therefore, a Component with an X value of 5 that is placed in a Container with an X value of 10, will actually be positioned at X coordinate 15.
author:
   Joshua J. Gertzen

Inner Class :public enum ScrollType

Field Summary
final public static  StringPROPERTY_LAYOUT
     Contains the formal property name for the layout manager of the container.
final public static  StringPROPERTY_SCROLL_TYPE
     Contains the formal property name for the scroll type of the container.


Method Summary
 TgetChildWithFocus()
     Get the child Component for this container that currently has the focus. If this container contains another container and that container contains the Component at the bottom of the component hiearchy with the focus, this method will return the Container contained by this container, not the Component.
 List<T>getChildren()
     Returns a list of components in the container.
 TgetComponentWithFocus()
     Get the Component at the bottom of the component hiearchy that has the focus.
 intgetInnerHeight()
     Returns the usable inner height of the Container.
 intgetInnerWidth()
     Returns the usable inner width of the Container.
 LayoutgetLayout()
     Gets the current layout manager that is responsible for sizing and positioning components of this Container.
 ScrollTypegetScrollType()
     Gets the current scrollType defined for the Container.
 voidsetLayout(Layout layout)
     Sets the layout manager that is used to size and position components of this Container. If a Layout is not specified for a container, then you must size and position of the components within a container manually. Default: null (i.e.
 voidsetScrollType(ScrollType scrollType)
     Sets the scrollType for the X and Y axis of this Container.

Field Detail
PROPERTY_LAYOUT
final public static String PROPERTY_LAYOUT(Code)
Contains the formal property name for the layout manager of the container.
See Also:   Container.setLayout(Layout)
See Also:   Container.getLayout()
See Also:   thinwire.ui.layout.Layout



PROPERTY_SCROLL_TYPE
final public static String PROPERTY_SCROLL_TYPE(Code)
Contains the formal property name for the scroll type of the container.
See Also:   Container.setScrollType(ScrollType)
See Also:   Container.getScrollType()
See Also:   ScrollType





Method Detail
getChildWithFocus
T getChildWithFocus()(Code)
Get the child Component for this container that currently has the focus. If this container contains another container and that container contains the Component at the bottom of the component hiearchy with the focus, this method will return the Container contained by this container, not the Component. If you want the component at the bottom of the component hiearchy that has the focus, use getComponentWithFocus(). the child Component with focus, or null if there is no child with focus.



getChildren
List<T> getChildren()(Code)
Returns a list of components in the container. this Container's children.



getComponentWithFocus
T getComponentWithFocus()(Code)
Get the Component at the bottom of the component hiearchy that has the focus. This method first walks up the component hiearchy to find the root Container, then it walks down the hiearchy to locate the component at the bottom of the component hiearchy that has the focus. the Component at the bottom of component hiearchy that has the focus, or null if no component does.



getInnerHeight
int getInnerHeight()(Code)
Returns the usable inner height of the Container. the usable inner height of the Container.



getInnerWidth
int getInnerWidth()(Code)
Returns the usable inner width of the Container. the usable inner width of the Container.



getLayout
Layout getLayout()(Code)
Gets the current layout manager that is responsible for sizing and positioning components of this Container. the Layout implementation used by this Container.
See Also:   Container.setLayout(Layout)
See Also:   Component.getLimit
See Also:   Component.setLimit(Object)
See Also:   thinwire.ui.layout.Layout



getScrollType
ScrollType getScrollType()(Code)
Gets the current scrollType defined for the Container. the current scrollType defined for the Container.



setLayout
void setLayout(Layout layout)(Code)
Sets the layout manager that is used to size and position components of this Container. If a Layout is not specified for a container, then you must size and position of the components within a container manually. Default: null (i.e. fixed absolute coordinate positioning)
Parameters:
  layout - any class implementing the Layout interface, or null.
See Also:   Container.PROPERTY_LAYOUT
See Also:   Component.getLimit
See Also:   Component.setLimit(Object)
See Also:   thinwire.ui.layout.Layout
See Also:   thinwire.ui.event.PropertyChangeEvent



setScrollType
void setScrollType(ScrollType scrollType)(Code)
Sets the scrollType for the X and Y axis of this Container. By default the scroll type is ScrollType.NONE.
Parameters:
  scrollType - one of the enum ScrollType constants.
See Also:   Container.PROPERTY_SCROLL
See Also:   thinwire.ui.event.PropertyChangeEvent



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