Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

NoLayout.java 1.6KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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.annotations;
  17. import java.lang.annotation.Documented;
  18. import java.lang.annotation.ElementType;
  19. import java.lang.annotation.Target;
  20. /**
  21. * Annotation used to mark client RPC methods, state fields, or state setter
  22. * methods that should not trigger a layout phase after changes have been
  23. * processed. Whenever there's at least one change that is not marked with this
  24. * annotation, the framework will assume some sizes might have changed an will
  25. * therefore start a layout phase after applying the changes.
  26. * <p>
  27. * This annotation can be used for any RPC method or state property that does
  28. * not cause the size of the component or its children to change. Please note
  29. * that almost anything related to CSS (e.g. adding or removing a stylename) has
  30. * the potential of causing sizes to change with appropriate style definitions
  31. * in the application theme.
  32. *
  33. * @since 7.4
  34. *
  35. * @author Vaadin Ltd
  36. */
  37. @Documented
  38. @Target({ ElementType.METHOD, ElementType.FIELD })
  39. public @interface NoLayout {
  40. // Just an empty marker annotation
  41. }