public boolean isInvisible(VisualItem item) { return invisibilities != null && invisibilities.get(item) != null; }
public void addInvisibility(Predicate p) { if (invisibilities == null) { invisibilities = new PredicateChain(); } invisibilities.add(p, Boolean.TRUE); }