org.millstone.base.ui

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 » Millstone » org.millstone.base.ui 
org.millstone.base.ui

Provides interfaces and classes in the the MillStone UI component library.

Package Specification

Interface hierarchy

The general interface hierarchy looks like this:

Note that the above picture includes only the main interfaces. This package includes several other lesser subinterfaces which are not significant in this scope. The interfaces not appearing here are documented with the classes that define them.

The {@link org.millstone.base.ui.Component} interface is the top-level interface which must be implemented by all UI components. It defines the common properties of the components and how the framework will handle them. Most simple components (like {@link org.millstone.base.ui.Button} for example} won't need to implement the lower level interfaces described below. Note that the classes and interfaces required by the component event framework are defined in {@link org.millstone.base.ui.Component}.

The next level in the component hierarchy are the classes implementing the {@link org.millstone.base.ui.ComponentContainer} interface. It adds the capacity to contain other components to {@link org.millstone.base.ui.Component} with a simple API.

The third and last level is the {@link org.millstone.base.ui.Layout}, which adds the concept of location to the components contained in a {@link org.millstone.base.ui.ComponentContainer}. It can be used to create containers whose contents can be positioned arbitrarily.

Component class hierarchy

The actual component classes form a hierarchy like this:

Underlined classes are abstract.

At the top level is {@link org.millstone.base.ui.AbstractComponent} which implements the {@link org.millstone.base.ui.Component} interface. As the name suggests it is abstract, but it does include a default implementation for all methods defined in Component so that a component is free to override only those functionalities it needs.

As seen in the picture, AbstractComponent serves as the superclass for several "real" components, but it also has a some abstract extensions. {@link org.millstone.base.ui.AbstractComponentContainer} serves as the root class for all components (for example, panels and windows) who can contain other components. {@link org.millstone.base.ui.AbstractField}, on the other hand, implements several interfaces to provide a base class for components that are used for data display and manipulation.

Java Source File NameTypeComment
AbstractComponent.javaClass An abstract class that defines default implementation for the Component interface.
AbstractComponentContainer.javaClass Extension to AbstractComponent that defines the default implementation for the methods in ComponentContainer .
AbstractField.javaClass

Abstract field component for implementing buffered property editors.

BaseFieldFactory.javaClass
Button.javaClass A generic button component.
Component.javaInterface The top-level component interface which must be implemented by all MillStone UI components.
ComponentContainer.javaInterface Extension to the Component interface which adds to it the capacity to contain other components.
CustomComponent.javaClass Custom component provides simple implementation of Component interface for creation of new UI components by composition of existing components.
CustomLayout.javaClass

A container component with freely designed layout and style.

DateField.javaClass

A date editor component that can be bound to any bindable Property.

Embedded.javaClass Component for embedding external objects.
Field.javaInterface
FieldFactory.javaInterface Factory for creating new Field-instances based on type, datasource and/or context.
Form.javaClass Form component provides easy way of creating and managing sets fields.

Form is a container for fields implementing Field interface.

FrameWindow.javaClass

An application frame window component.

GridLayout.javaClass

A container that consists of components with certain coordinates on a grid.

Label.javaClass Label component for showing non-editable short texts.
Layout.javaInterface Extension to the ComponentContainer interface which adds the layouting control to the elements in the container.
Link.javaClass Link component.
OrderedLayout.javaClass Ordered layout.
Panel.javaClass Panel - a simple single component container.
Select.javaClass

A class representing a selection of items the user has selected in a UI.

Table.javaClass Table component is used for representing data or components in pageable and selectable table.
TabSheet.javaClass Tabsheet component.
TextField.javaClass

A text editor component that can be bound to any bindable Property. The text editor supports both multiline and single line modes, default is one-line mode.

Since TextField extends AbstractField it implements the org.millstone.base.data.Buffered interface.

Tree.javaClass MenuTree component.
Upload.javaClass Component for client file uploading.
Window.javaClass Application window component.
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.