Пример #1
0
 public boolean isInvisible(VisualItem item) {
   return invisibilities != null && invisibilities.get(item) != null;
 }
Пример #2
0
 public void addInvisibility(Predicate p) {
   if (invisibilities == null) {
     invisibilities = new PredicateChain();
   }
   invisibilities.add(p, Boolean.TRUE);
 }