98bb8525bdd88b4a1e4545b8dea78ba938c1ee49.svn-base 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. package com.sysmodel.listmodel.xmlmodel.impl;
  2. import com.sysmodel.listmodel.xmlmodel.able.ActionButton;
  3. public class ActionButtonImpl implements ActionButton, Cloneable{
  4. /*
  5. * 该按钮唯一值
  6. */
  7. private String buttonName = "";
  8. /*
  9. * 按钮类型
  10. */
  11. private String buttonType = "";
  12. /*
  13. * value 按钮图片来源或是文字,根据buttonType 按钮类型来判断
  14. */
  15. private String value = "";
  16. /*
  17. * 链接路径
  18. */
  19. private String url = "";
  20. /*
  21. * 进入新页的方式(_self/_blank/other)如果target是dialog,会产生网页对话框
  22. */
  23. private String target = "";
  24. /*
  25. * 按钮宽度
  26. */
  27. private String formWith = "";
  28. /*
  29. * 按钮高度
  30. */
  31. private String formHeight = "";
  32. public String getButtonName() {
  33. return buttonName;
  34. }
  35. public void setButtonName(String buttonName) {
  36. this.buttonName = buttonName;
  37. }
  38. public String getButtonType() {
  39. return buttonType;
  40. }
  41. public void setButtonType(String buttonType) {
  42. this.buttonType = buttonType;
  43. }
  44. public String getFormHeight() {
  45. return formHeight;
  46. }
  47. public void setFormHeight(String formHeight) {
  48. this.formHeight = formHeight;
  49. }
  50. public String getFormWith() {
  51. return formWith;
  52. }
  53. public void setFormWith(String formWith) {
  54. this.formWith = formWith;
  55. }
  56. public String getTarget() {
  57. return target;
  58. }
  59. public void setTarget(String target) {
  60. this.target = target;
  61. }
  62. public String getUrl() {
  63. return url;
  64. }
  65. public void setUrl(String url) {
  66. this.url = url;
  67. }
  68. public String getValue() {
  69. return value;
  70. }
  71. public void setValue(String value) {
  72. this.value = value;
  73. }
  74. public Object clone() {
  75. ActionButtonImpl o = null;
  76. try {
  77. o = (ActionButtonImpl) super.clone();
  78. } catch (CloneNotSupportedException e) {
  79. e.printStackTrace();
  80. }
  81. return o;
  82. }
  83. }