org.xwiki.gwt.wysiwyg.client.plugin.font
Class AbstractFontMatcher

java.lang.Object
  extended by org.xwiki.gwt.wysiwyg.client.plugin.font.DefaultStringMatcher
      extended by org.xwiki.gwt.wysiwyg.client.plugin.font.AbstractFontMatcher
All Implemented Interfaces:
Matcher<String>
Direct Known Subclasses:
FontFamilyMatcher, FontSizeComparator

public abstract class AbstractFontMatcher
extends DefaultStringMatcher

Abstract font Matcher.

Version:
$Id$

Field Summary
protected  Element container
          The container element where the matching takes place.
protected  Element left
          The element with the left value.
protected  Element right
          The element with the right value.
 
Constructor Summary
AbstractFontMatcher(String text)
          Creates a new abstract font matcher that uses the given text to match font properties.
 
Method Summary
 
Methods inherited from class org.xwiki.gwt.wysiwyg.client.plugin.font.DefaultStringMatcher
match
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

container

protected final Element container
The container element where the matching takes place.


left

protected final Element left
The element with the left value.


right

protected final Element right
The element with the right value.

Constructor Detail

AbstractFontMatcher

public AbstractFontMatcher(String text)
Creates a new abstract font matcher that uses the given text to match font properties.

Parameters:
text - the text used to match font properties


Copyright © 2004-2012 XWiki. All Rights Reserved.