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.

JavaScriptComponentState.java 970B

123456789101112131415161718192021222324252627282930313233343536373839
  1. /*
  2. @VaadinApache2LicenseForJavaFiles@
  3. */
  4. package com.vaadin.shared.ui;
  5. import java.util.HashMap;
  6. import java.util.HashSet;
  7. import java.util.Map;
  8. import java.util.Set;
  9. import com.vaadin.shared.ComponentState;
  10. import com.vaadin.shared.JavaScriptConnectorState;
  11. public class JavaScriptComponentState extends ComponentState implements
  12. JavaScriptConnectorState {
  13. private Set<String> callbackNames = new HashSet<String>();
  14. private Map<String, Set<String>> rpcInterfaces = new HashMap<String, Set<String>>();
  15. @Override
  16. public Set<String> getCallbackNames() {
  17. return callbackNames;
  18. }
  19. public void setCallbackNames(Set<String> callbackNames) {
  20. this.callbackNames = callbackNames;
  21. }
  22. @Override
  23. public Map<String, Set<String>> getRpcInterfaces() {
  24. return rpcInterfaces;
  25. }
  26. public void setRpcInterfaces(Map<String, Set<String>> rpcInterfaces) {
  27. this.rpcInterfaces = rpcInterfaces;
  28. }
  29. }