Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

ComparisonOperator.java 1.2KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. /*
  2. * Copyright 2000-2016 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.shared.ui.dnd.criteria;
  17. /**
  18. * Comparison operator for drag and drop acceptance criterion.
  19. *
  20. * @author Vaadin Ltd.
  21. * @since 8.1
  22. */
  23. public enum ComparisonOperator {
  24. /**
  25. * Smaller than operator ("<").
  26. */
  27. SMALLER_THAN,
  28. /**
  29. * Smaller than or equals to operator ("<=").
  30. */
  31. SMALLER_THAN_OR_EQUALS,
  32. /**
  33. * Equals to operator ("==").
  34. */
  35. EQUALS,
  36. /**
  37. * Greater than or equals to operator (">=").
  38. */
  39. GREATER_THAN_OR_EQUALS,
  40. /**
  41. * Greater than operator (">").
  42. */
  43. GREATER_THAN,
  44. /**
  45. * Not equals operator ("!=").
  46. */
  47. NOT_EQUALS
  48. }