ca0a1d5bc2e4f5ee1d2ad174870cc9d67b6cf3b1.svn-base 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. package com.sysmodel.collectmodel.xmlmodel.impl;
  2. import java.util.ArrayList;
  3. import com.sysmodel.collectmodel.xmlmodel.able.Container;
  4. public class ContainerImpl implements Container{
  5. /**
  6. * 容器类型
  7. *
  8. * 普通类型 xtype="no" 下拉闭合 xtype="fieldset" CHECKBOX闭合 xtype="fieldsetcheck"
  9. * 标签类型的格式 xtype="tabpanel" 标签类型下级标签xtype="tabpanelitem"
  10. *
  11. */
  12. String xtype = "";
  13. /**
  14. * 容器标题或描述
  15. */
  16. String title = "";
  17. /**
  18. * 容器默认CSS设置
  19. */
  20. String defaults = "";
  21. /**
  22. * 是否自适应高度
  23. */
  24. boolean autoHeight = false;
  25. /**
  26. *
  27. */
  28. boolean collapsed = false;
  29. ArrayList<Object> ObjElements = new ArrayList<Object>();
  30. public String getXtype() {
  31. return xtype;
  32. }
  33. public void setXtype(String xtype) {
  34. this.xtype = xtype;
  35. }
  36. public String getTitle() {
  37. return title;
  38. }
  39. public void setTitle(String title) {
  40. this.title = title;
  41. }
  42. public String getDefaults() {
  43. return defaults;
  44. }
  45. public void setDefaults(String defaults) {
  46. this.defaults = defaults;
  47. }
  48. public boolean isAutoHeight() {
  49. return autoHeight;
  50. }
  51. public void setAutoHeight(boolean autoHeight) {
  52. this.autoHeight = autoHeight;
  53. }
  54. public boolean isCollapsed() {
  55. return collapsed;
  56. }
  57. public void setCollapsed(boolean collapsed) {
  58. this.collapsed = collapsed;
  59. }
  60. @SuppressWarnings("rawtypes")
  61. public ArrayList getObjElements() {
  62. return ObjElements;
  63. }
  64. @SuppressWarnings({ "rawtypes", "unchecked" })
  65. public void setObjElements(ArrayList objElements) {
  66. ObjElements = objElements;
  67. }
  68. }