er.extensions
Class ERXDateGrouper
java.lang.Object
com.webobjects.appserver.WODisplayGroup
er.extensions.ERXDateGrouper
- All Implemented Interfaces:
- EOKeyValueArchiving, EOKeyValueArchiving.Awaking, NSDisposable, NSKeyValueCoding, NSKeyValueCoding.ErrorHandling, Serializable
- public class ERXDateGrouper
- extends WODisplayGroup
Works much the same as a WODisplayGroup
.
See ERXMonthView
and ERXWeekDisplay
for examples on how to use it.
- See Also:
- Serialized Form
Nested classes inherited from class com.webobjects.foundation.NSKeyValueCoding |
NSKeyValueCoding._BooleanFieldBinding, NSKeyValueCoding._BooleanMethodBinding, NSKeyValueCoding._FieldBinding, NSKeyValueCoding._ForwardingBinding, NSKeyValueCoding._KeyBinding, NSKeyValueCoding._KeyBindingCreation, NSKeyValueCoding._MethodBinding, NSKeyValueCoding._NumberFieldBinding, NSKeyValueCoding._NumberMethodBinding, NSKeyValueCoding._ReflectionKeyBindingCreation, NSKeyValueCoding.DefaultImplementation, NSKeyValueCoding.ErrorHandling, NSKeyValueCoding.Null, NSKeyValueCoding.UnknownKeyException, NSKeyValueCoding.Utility, NSKeyValueCoding.ValueAccessor |
Methods inherited from class com.webobjects.appserver.WODisplayGroup |
_beginObserverNotification, _deleteObject, _insertObjectAtIndex, _lastObserverNotified, allQualifierOperators, awakeFromKeyValueUnarchiver, batchCount, clearSelection, currentBatchIndex, dataSource, decodeWithKeyValueUnarchiver, defaultStringMatchFormat, defaultStringMatchOperator, delegate, delete, deleteObjectAtIndex, deleteSelection, detailKey, displayBatchContainingSelectedObject, displayNextBatch, displayPreviousBatch, dispose, editingContextPresentErrorMessage, encodeWithCoder, encodeWithKeyValueArchiver, endEditing, fetch, fetchesOnLoad, finishInitialization, globalDefaultForValidatesChangesImmediately, globalDefaultStringMatchFormat, globalDefaultStringMatchOperator, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hasDetailDataSource, hasMultipleBatches, indexOfFirstDisplayedObject, indexOfLastDisplayedObject, initWithCoder, inQueryMode, insert, insertedObjectDefaultValues, insertNewObjectAtIndex, insertObjectAtIndex, localKeys, masterObject, numberOfObjectsPerBatch, objectsChangedInEditingContext, objectsInvalidatedInEditingContext, qualifier, qualifierFromQueryValues, qualifyDataSource, qualifyDisplayGroup, queryBindings, queryMatch, queryMax, queryMin, queryOperator, redisplay, relationalQualifierOperators, selectedObject, selectedObjects, selectionIndexes, selectNext, selectObject, selectObjectsIdenticalTo, selectObjectsIdenticalToSelectFirstOnNoMatch, selectPrevious, selectsFirstObjectAfterFetch, setCurrentBatchIndex, setDefaultStringMatchFormat, setDefaultStringMatchOperator, setDelegate, setDetailKey, setFetchesOnLoad, setGlobalDefaultForValidatesChangesImmediately, setGlobalDefaultStringMatchFormat, setGlobalDefaultStringMatchOperator, setInQueryMode, setInsertedObjectDefaultValues, setLocalKeys, setMasterObject, setNumberOfObjectsPerBatch, setQualifier, setSelectedObject, setSelectedObjects, setSelectionIndexes, setSelectsFirstObjectAfterFetch, setSortOrderings, setValidatesChangesImmediately, sortOrderings, stringQualifierOperators, takeValueForKey, toString, unableToSetNullForKey, undoManager, updateDisplayedObjects, validatesChangesImmediately, valueForKey, willChange |
DAY
public static final int DAY
- See Also:
- Constant Field Values
MONTH
public static final int MONTH
- See Also:
- Constant Field Values
WEEK
public static final int WEEK
- See Also:
- Constant Field Values
YEAR
public static final int YEAR
- See Also:
- Constant Field Values
_objects
protected NSArray _objects
_dateKeyPath
protected String _dateKeyPath
_selectedDate
protected NSTimestamp _selectedDate
_currentDate
protected NSTimestamp _currentDate
_firstDateInSameMonth
protected NSTimestamp _firstDateInSameMonth
_firstDateInNextMonth
protected NSTimestamp _firstDateInNextMonth
_today
protected NSTimestamp _today
_currentMonth
protected int _currentMonth
_groupingMode
protected int _groupingMode
_currentWeek
protected int _currentWeek
_currentDayOfMonth
protected int _currentDayOfMonth
_currentDayOfWeek
protected int _currentDayOfWeek
_datesForCurrentWeek
protected NSArray _datesForCurrentWeek
_groupedObjects
protected NSMutableDictionary _groupedObjects
_datesForWeeksForCurrentMonth
protected NSMutableArray _datesForWeeksForCurrentMonth
_weekStartsMonday
protected boolean _weekStartsMonday
ERXDateGrouper
public ERXDateGrouper()
weekStartsMonday
public boolean weekStartsMonday()
setWeekStartsMonday
public void setWeekStartsMonday(boolean value)
hasNoObjectsForCurrentDate
public boolean hasNoObjectsForCurrentDate()
isToday
public boolean isToday()
isSelectedDate
public boolean isSelectedDate()
isInMonth
public boolean isInMonth()
dateKeyPath
public String dateKeyPath()
setDateKeyPath
public void setDateKeyPath(String value)
groupingMode
public int groupingMode()
setGroupingMode
public void setGroupingMode(int value)
allObjects
public NSArray allObjects()
setObjectArray
public void setObjectArray(NSArray value)
setDataSource
public void setDataSource(EODataSource value)
today
public NSTimestamp today()
_reset
protected void _reset()
selectedDate
public NSTimestamp selectedDate()
setSelectedDate
public void setSelectedDate(NSTimestamp value)
currentDate
public NSTimestamp currentDate()
setCurrentDate
public void setCurrentDate(NSTimestamp value)
_groupingKeyForDate
protected Object _groupingKeyForDate(NSTimestamp date)
_groupedObjects
protected NSDictionary _groupedObjects()
displayedObjects
public NSArray displayedObjects()
_dateForDayInYear
protected NSTimestamp _dateForDayInYear(int year,
int day)
_datesForYearStartDays
protected NSArray _datesForYearStartDays(int year,
int startOffset,
int count)
_firstDateInSameWeek
protected NSTimestamp _firstDateInSameWeek(NSTimestamp value)
_firstDateInSameMonth
protected NSTimestamp _firstDateInSameMonth(NSTimestamp value)
firstDateInSameMonth
public NSTimestamp firstDateInSameMonth()
firstDateInNextMonth
public NSTimestamp firstDateInNextMonth()
_weekDatesForDate
protected NSArray _weekDatesForDate(NSTimestamp week)
lastDateForMonth
public NSTimestamp lastDateForMonth()
firstDateForMonth
public NSTimestamp firstDateForMonth()
datesForWeeksForCurrentMonth
public NSArray datesForWeeksForCurrentMonth()
setDatesForCurrentWeek
public void setDatesForCurrentWeek(NSArray value)
datesForCurrentWeek
public NSArray datesForCurrentWeek()
datesForCurrentMonth
public NSArray datesForCurrentMonth()
nextMonth
public void nextMonth()
previousMonth
public void previousMonth()
nextDay
public void nextDay()
previousDay
public void previousDay()
nextWeek
public void nextWeek()
previousWeek
public void previousWeek()
nextYear
public void nextYear()
previousYear
public void previousYear()
Copyright © 2002 – 2004 Project Wonder.