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.

CustomLayoutState.java 1.0KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /*
  2. @VaadinApache2LicenseForJavaFiles@
  3. */
  4. package com.vaadin.shared.ui.customlayout;
  5. import java.util.HashMap;
  6. import java.util.Map;
  7. import com.vaadin.shared.Connector;
  8. import com.vaadin.shared.ui.AbstractLayoutState;
  9. public class CustomLayoutState extends AbstractLayoutState {
  10. Map<Connector, String> childLocations = new HashMap<Connector, String>();
  11. private String templateContents;
  12. private String templateName;
  13. public String getTemplateContents() {
  14. return templateContents;
  15. }
  16. public void setTemplateContents(String templateContents) {
  17. this.templateContents = templateContents;
  18. }
  19. public String getTemplateName() {
  20. return templateName;
  21. }
  22. public void setTemplateName(String templateName) {
  23. this.templateName = templateName;
  24. }
  25. public Map<Connector, String> getChildLocations() {
  26. return childLocations;
  27. }
  28. public void setChildLocations(Map<Connector, String> childLocations) {
  29. this.childLocations = childLocations;
  30. }
  31. }