diff options
Diffstat (limited to 'src/com/itmill/toolkit/ui/Tree.java')
-rw-r--r-- | src/com/itmill/toolkit/ui/Tree.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/com/itmill/toolkit/ui/Tree.java b/src/com/itmill/toolkit/ui/Tree.java index 5ca7983b25..cdb95d5ec2 100644 --- a/src/com/itmill/toolkit/ui/Tree.java +++ b/src/com/itmill/toolkit/ui/Tree.java @@ -759,5 +759,14 @@ public class Tree extends Select implements Container.Hierarchical, Action.Conta public void focus() throws UnsupportedOperationException { throw new UnsupportedOperationException(); } + + /** Tree does not support lazy options loading mode. + * Setting this true will throw UnsupportedOperationException. + */ + public void setLazyLoading(boolean useLazyLoading) { + if (useLazyLoading) + throw new UnsupportedOperationException("Lazy options loading is not supported by Tree."); + } + } |