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.

Icon.java 1.6KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. /*
  2. * Copyright 2000-2014 Vaadin Ltd.
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License"); you may not
  5. * use this file except in compliance with the License. You may obtain a copy of
  6. * the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
  12. * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
  13. * License for the specific language governing permissions and limitations under
  14. * the License.
  15. */
  16. package com.vaadin.client.debug.internal;
  17. public enum Icon {
  18. SEARCH(""), //
  19. OK(""), //
  20. REMOVE(""), //
  21. CLOSE(""), //
  22. CLEAR(""), //
  23. RESET_TIMER(""), //
  24. MINIMIZE(""), //
  25. WARNING(""), //
  26. INFO(""), //
  27. ERROR(""), //
  28. HIGHLIGHT(""), //
  29. LOG(""), //
  30. OPTIMIZE(""), //
  31. HIERARCHY(""), //
  32. MENU(""), //
  33. NETWORK(""), //
  34. ANALYZE(""), //
  35. SCROLL_LOCK(""), //
  36. DEVMODE_OFF(""), //
  37. DEVMODE_SUPER(""), //
  38. DEVMODE_ON(""), //
  39. // BAN_CIRCLE(""), //
  40. MAXIMIZE(""), //
  41. RESET(""), //
  42. PERSIST("&#xf02e"); //
  43. private String id;
  44. private Icon(String id) {
  45. this.id = id;
  46. }
  47. @Override
  48. public String toString() {
  49. return "<i data-icon=\"" + id + "\"></i>";
  50. }
  51. public String getId() {
  52. return id;
  53. }
  54. }