ca.odell.glazedlists.nachocalendar
Class NachoDateRangeMatcherEditor<E>
java.lang.Object
ca.odell.glazedlists.matchers.AbstractMatcherEditorListenerSupport<E>
ca.odell.glazedlists.matchers.AbstractMatcherEditor<E>
ca.odell.glazedlists.matchers.RangeMatcherEditor<Date,E>
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.
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NachoDateRangeMatcherEditor
public NachoDateRangeMatcherEditor(Filterator<Date,E> filterator)
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 rangetoDateField
- 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 hbrands at 2017-03-13 22:58