/build.properties/src/wsl/mdn/html/MdnClientCell.java

http://mobiledatanow.googlecode.com/ · Java · 104 lines · 44 code · 17 blank · 43 comment · 0 complexity · 955db999430914513df018ea2c4c9791 MD5 · raw file

  1. package wsl.mdn.html;
  2. import org.apache.ecs.html.TD;
  3. import org.apache.ecs.Element;
  4. /**
  5. * Title:
  6. * Description:
  7. * Copyright: Copyright (c) 2000
  8. * Company:
  9. * @author
  10. * @version 1.0
  11. */
  12. public class MdnClientCell extends TD
  13. {
  14. //--------------------------------------------------------------------------
  15. // attributes
  16. private String _title = "";
  17. private String _helpUrl = "/help/mdnhelp.html";
  18. //--------------------------------------------------------------------------
  19. // construction
  20. /**
  21. * Blank ctor
  22. */
  23. public MdnClientCell()
  24. {
  25. }
  26. /**
  27. * String ctor
  28. */
  29. public MdnClientCell(String str)
  30. {
  31. super(str);
  32. }
  33. /**
  34. * boolean ctor
  35. */
  36. public MdnClientCell(boolean b)
  37. {
  38. super(b);
  39. }
  40. /**
  41. * Element ctor
  42. */
  43. public MdnClientCell(Element e)
  44. {
  45. super(e);
  46. }
  47. /**
  48. * Element, title ctor
  49. */
  50. public MdnClientCell(Element e, String title)
  51. {
  52. super(e);
  53. setClientTitle(title);
  54. }
  55. //--------------------------------------------------------------------------
  56. // accessors
  57. /**
  58. * Set title
  59. * @param title
  60. */
  61. public void setClientTitle(String title)
  62. {
  63. _title = title;
  64. }
  65. /**
  66. * @return String title
  67. */
  68. public String getClientTitle()
  69. {
  70. return _title;
  71. }
  72. /**
  73. * Set htlp url
  74. * @param url
  75. */
  76. public void setHelpUrl(String url)
  77. {
  78. _helpUrl = url;
  79. }
  80. /**
  81. * @return String the help url
  82. */
  83. public String getHelpUrl()
  84. {
  85. return _helpUrl;
  86. }
  87. }