aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2012-03-20 14:11:13 +0200
committerArtur Signell <artur@vaadin.com>2012-03-21 15:28:01 +0200
commit225a5503e499b3661c7d9cd5cc0471f887d5fab5 (patch)
treeabfed38987fcdef5bef1d92a0ba4e85c8d96da8a /src
parent3be866c1a76e546cbb5a2a4a26f3c8d978a8081e (diff)
downloadvaadin-framework-225a5503e499b3661c7d9cd5cc0471f887d5fab5.tar.gz
vaadin-framework-225a5503e499b3661c7d9cd5cc0471f887d5fab5.zip
javadoc
Diffstat (limited to 'src')
-rw-r--r--src/com/vaadin/terminal/gwt/server/AbstractCommunicationManager.java10
1 files changed, 10 insertions, 0 deletions
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()) {