You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

FeatureProperties.java 2.8KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. /* *************************************************************************
  2. IT Mill Toolkit
  3. Development of Browser User Intarfaces Made Easy
  4. Copyright (C) 2000-2006 IT Mill Ltd
  5. *************************************************************************
  6. This product is distributed under commercial license that can be found
  7. from the product package on license/license.txt. Use of this product might
  8. require purchasing a commercial license from IT Mill Ltd. For guidelines
  9. on usage, see license/licensing-guidelines.html
  10. *************************************************************************
  11. For more information, contact:
  12. IT Mill Ltd phone: +358 2 4802 7180
  13. Ruukinkatu 2-4 fax: +358 2 4802 7181
  14. 20540, Turku email: info@itmill.com
  15. Finland company www: www.itmill.com
  16. Primary source for information and releases: www.itmill.com
  17. ********************************************************************** */
  18. package com.itmill.toolkit.demo.features;
  19. public class FeatureProperties extends Feature {
  20. protected String getExampleSrc() {
  21. return super.getExampleSrc();
  22. }
  23. protected String getTitle() {
  24. return "Property Data Model";
  25. }
  26. protected String getDescriptionXHTML() {
  27. return "<p>IT Mill Toolkti data model is one of the core concepts "
  28. + "in the library and Property-interface is the base of that "
  29. + "model. Property provides standardized API for a singe data object "
  30. + "that can be getted and setted. A property is always typed, but can optionally "
  31. + "support data type conversions. Optionally properties can provide "
  32. + "value change events for following the state changes.</p>"
  33. + "<p>The most important function of the Property as well as other "
  34. + "data models is to connect classes implementing the interface directly to "
  35. + "editor and viewer classes. Typically this is used to connect different "
  36. + "data sources to UI components for editing and viewing their contents.</p>"
  37. + "<p>Properties can be utilized either by implementing the interface "
  38. + "or by using some of the existing property implementations. IT Mill Toolkit "
  39. + "includes Property interface implementations for "
  40. + "arbitrary function pairs or Bean-properties as well as simple object "
  41. + "properties.</p>"
  42. + "<p>Many of the UI components also imlement Property interface and allow "
  43. + "setting of other components as their data-source. These UI-components "
  44. + "include TextField, DateField, Select, Table, Button, "
  45. + "Label and Tree.</p>";
  46. }
  47. /**
  48. * @see com.itmill.toolkit.demo.features.Feature#getImage()
  49. */
  50. protected String getImage() {
  51. return "properties.jpg";
  52. }
  53. }