01: /* *************************************************************************
02:
03: Millstone(TM)
04: Open Sourced User Interface Library for
05: Internet Development with Java
06:
07: Millstone is a registered trademark of IT Mill Ltd
08: Copyright (C) 2000-2005 IT Mill Ltd
09:
10: *************************************************************************
11:
12: This library is free software; you can redistribute it and/or
13: modify it under the terms of the GNU Lesser General Public
14: license version 2.1 as published by the Free Software Foundation.
15:
16: This library is distributed in the hope that it will be useful,
17: but WITHOUT ANY WARRANTY; without even the implied warranty of
18: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19: Lesser General Public License for more details.
20:
21: You should have received a copy of the GNU Lesser General Public
22: License along with this library; if not, write to the Free Software
23: Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
24:
25: *************************************************************************
26:
27: For more information, contact:
28:
29: IT Mill Ltd phone: +358 2 4802 7180
30: Ruukinkatu 2-4 fax: +358 2 4802 7181
31: 20540, Turku email: info@itmill.com
32: Finland company www: www.itmill.com
33:
34: Primary source for MillStone information and releases: www.millstone.org
35:
36: ********************************************************************** */
37:
38: package org.millstone.examples.features;
39:
40: public class FeatureContainers extends Feature {
41:
42: protected String getTitle() {
43: return "Container Data Model";
44: }
45:
46: protected String getDescriptionXHTML() {
47: return "<p>Container is the most advanced of the data "
48: + "model supported by Millstone. It provides a very flexible "
49: + "way of managing set of items that share common properties. Each "
50: + "item is identified by an item id. "
51: + "Properties can be requested from container with item "
52: + "and property ids. Other way of accessing properties is to first "
53: + "request an item from container and then request its properties "
54: + "from it. </p>"
55: + "<p>Container interface was designed with flexibility and "
56: + "efficiency in mind. It contains inner interfaces for ordering "
57: + "the items sequentially, indexing the items and accessing them "
58: + "hierarchically. Those ordering models provide basis for "
59: + "Table, Tree and Select UI components. As with other data "
60: + "models, the containers support events for notifying about the "
61: + "changes.</p>"
62: + "<p>Set of utilities for converting between container models by "
63: + "adding external indexing or hierarchy into existing containers. "
64: + "In memory containers implementing indexed and hierarchical "
65: + "models provide easy to use tools for setting up in memory data "
66: + "storages. There is even a hierarchical container for direct "
67: + "file system access.</p>";
68: }
69:
70: protected String getImage() {
71: return "containers.jpg";
72: }
73: }
|