From: Artur Signell Date: Tue, 20 Mar 2012 12:11:13 +0000 (+0200) Subject: javadoc X-Git-Tag: 7.0.0.alpha2~271 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=225a5503e499b3661c7d9cd5cc0471f887d5fab5;p=vaadin-framework.git javadoc --- diff --git a/src/com/vaadin/terminal/gwt/server/AbstractCommunicationManager.java b/src/com/vaadin/terminal/gwt/server/AbstractCommunicationManager.java index e4633a0081..0c073f71b4 100644 --- a/src/com/vaadin/terminal/gwt/server/AbstractCommunicationManager.java +++ b/src/com/vaadin/terminal/gwt/server/AbstractCommunicationManager.java @@ -1164,6 +1164,16 @@ public abstract class AbstractCommunicationManager implements return cache; } + /** + * Checks if the component is visible in context, i.e. returns false if the + * child is hidden, the parent is hidden or the parent says the child should + * not be rendered (using + * {@link HasComponents#isComponentVisible(Component)} + * + * @param child + * The child to check + * @return true if the child is visible to the client, false otherwise + */ private boolean isVisible(Component child) { HasComponents parent = child.getParent(); if (parent == null || !child.isVisible()) {