From 225a5503e499b3661c7d9cd5cc0471f887d5fab5 Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Tue, 20 Mar 2012 14:11:13 +0200 Subject: [PATCH] javadoc --- .../gwt/server/AbstractCommunicationManager.java | 10 ++++++++++ 1 file changed, 10 insertions(+) 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()) { -- 2.39.5