Class DefaultHiddenPagesMatcher

java.lang.Object
com.levigo.jadice.web.shared.model.document.DefaultHiddenPagesMatcher
All Implemented Interfaces:
org.jadice.util.glazedlists.matchers.Matcher<Page>

public class DefaultHiddenPagesMatcher extends Object implements org.jadice.util.glazedlists.matchers.Matcher<Page>
A simple implementation of a Matcher for a FilteredDocument (see com.levigo.jadice.web.client.model.document.FilteredDocument) that allows to hide pages in a document.

The Matcher stores its information in a page property named "FilteredDocument.isVisible".

These page properties are available on the Client and Server side.

  • Constructor Details

    • DefaultHiddenPagesMatcher

      public DefaultHiddenPagesMatcher()
  • Method Details

    • matches

      public boolean matches(Page page)
      Specified by:
      matches in interface org.jadice.util.glazedlists.matchers.Matcher<Page>
    • hide

      public static void hide(Page page)
    • unhide

      public static void unhide(Page page)