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.

IntroWelcome.java 2.3KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. /* *************************************************************************
  2. IT Mill Toolkit
  3. Development of Browser User Interfaces 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.pdf. Use of this product might
  8. require purchasing a commercial license from IT Mill Ltd. For guidelines
  9. on usage, see 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. import com.itmill.toolkit.ui.Component;
  20. import com.itmill.toolkit.ui.Label;
  21. import com.itmill.toolkit.ui.OrderedLayout;
  22. public class IntroWelcome extends Feature {
  23. private static final String WELCOME_TEXT = ""
  24. + "In this application you may view and play with some features of IT Mill Toolkit.<br/>"
  25. + "Most of the features can be tested online and include simple example of their "
  26. + "usage associated with it.<br/><br/>"
  27. + "Start your tour by selecting features from the list on the left.<br/><br/>"
  28. + "For more information, point your browser to: <a href=\"http://www.itmill.com\""
  29. + " target=\"_new\">www.itmill.com</a>";
  30. public IntroWelcome() {
  31. super();
  32. }
  33. protected Component getDemoComponent() {
  34. OrderedLayout l = new OrderedLayout();
  35. Label lab = new Label();
  36. lab.setStyle("featurebrowser-none");
  37. l.addComponent(lab);
  38. // Properties
  39. propertyPanel = null;
  40. return l;
  41. }
  42. protected String getExampleSrc() {
  43. return "";
  44. }
  45. /**
  46. * @see com.itmill.toolkit.demo.features.Feature#getDescriptionXHTML()
  47. */
  48. protected String getDescriptionXHTML() {
  49. return this.WELCOME_TEXT;
  50. }
  51. protected String getImage() {
  52. return "";
  53. }
  54. protected String getTitle() {
  55. return "Welcome to the IT Mill Toolkit feature tour!";
  56. }
  57. }