ca.odell.glazedlists.nachocalendar
Class NachoDateRangeMatcherEditor<E>

java.lang.Object
  extended by ca.odell.glazedlists.matchers.AbstractMatcherEditor<E>
      extended by ca.odell.glazedlists.matchers.RangeMatcherEditor<Date,E>
          extended by ca.odell.glazedlists.nachocalendar.NachoDateRangeMatcherEditor<E>
All Implemented Interfaces:
MatcherEditor<E>

public class NachoDateRangeMatcherEditor<E>
extends RangeMatcherEditor<Date,E>

This NachoDateRangeMatcherEditor uses NachoCalendar DateField objects to edit the endpoints of the date range.

Extension: NachoCalendar
This Glazed Lists extension requires the third party library NachoCalendar.
Tested Version:0.23
Home page:http://nachocalendar.sourceforge.net/
License:LGPL

It provides a single hook for customizing the layout and/or look of the DateFields in the form of a local factory method which produces the entire component, createComponent(net.sf.nachocalendar.components.DateField, net.sf.nachocalendar.components.DateField). Subclasses may override that method to decorate and customize the look of this NachoDateRangeMatcherEditor as needed.

Author:
James Lemieux

Nested Class Summary
 
Nested classes/interfaces inherited from interface ca.odell.glazedlists.matchers.MatcherEditor
MatcherEditor.Event<E>, MatcherEditor.Listener<E>
 
Field Summary
 
Fields inherited from class ca.odell.glazedlists.matchers.AbstractMatcherEditor
currentMatcher
 
Constructor Summary
NachoDateRangeMatcherEditor(Filterator<Date,E> filterator)
           
 
Method Summary
protected  JComponent createComponent(DateField fromDateField, DateField toDateField)
          A local factory method responsible for customizing the given DateField objects and laying them out in some swing container in a manner that is appropriate for the application that uses it.
 JComponent getComponent()
          This method returns the component created by createComponent(net.sf.nachocalendar.components.DateField, net.sf.nachocalendar.components.DateField).
 
Methods inherited from class ca.odell.glazedlists.matchers.RangeMatcherEditor
getFilterator, setRange
 
Methods inherited from class ca.odell.glazedlists.matchers.AbstractMatcherEditor
addMatcherEditorListener, fireChanged, fireChangedMatcher, fireConstrained, fireMatchAll, fireMatchNone, fireRelaxed, getMatcher, isCurrentlyMatchingAll, isCurrentlyMatchingNone, removeMatcherEditorListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NachoDateRangeMatcherEditor

public NachoDateRangeMatcherEditor(Filterator<Date,E> filterator)
Method Detail

createComponent

protected JComponent createComponent(DateField fromDateField,
                                     DateField toDateField)
A local factory method responsible for customizing the given DateField objects and laying them out in some swing container in a manner that is appropriate for the application that uses it.

Parameters:
fromDateField - the DateField which edits the start of this date range
toDateField - the DateField which edits the end of this date range
Returns:
a swing component which edits the date range of this MatcherEditor

getComponent

public JComponent getComponent()
This method returns the component created by createComponent(net.sf.nachocalendar.components.DateField, net.sf.nachocalendar.components.DateField).



Glazed Lists, Copyright © 2003 publicobject.com, O'Dell Engineering.
Documentation build by mockbuild at 2013-02-07 9:25