|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.Observable
mvp.Model
caltool.view.SmallDayView
public class SmallDayView
A SmallDayView is the model of a day in a monthly agenda. It consists of a date number, a day name, and a list of zero or more scheduled item descriptors. The items list is represented as a DefaultListModel to facilitate its display.
Field Summary | |
---|---|
protected int |
date
The date number |
protected DayName |
day
The day name |
protected javax.swing.DefaultListModel |
items
The list of item descriptors |
Fields inherited from class mvp.Model |
---|
view |
Constructor Summary | |
---|---|
SmallDayView(int date,
DayName day,
javax.swing.DefaultListModel items)
Construct this with the given date, day, and items values. |
Method Summary | |
---|---|
int |
getDate()
Return the date number. |
DayName |
getDay()
Return the day name. |
javax.swing.DefaultListModel |
getItems()
Return the list of item descriptors. |
Methods inherited from class mvp.Model |
---|
dump, exit, getView, setView |
Methods inherited from class java.util.Observable |
---|
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int date
protected DayName day
protected javax.swing.DefaultListModel items
Constructor Detail |
---|
public SmallDayView(int date, DayName day, javax.swing.DefaultListModel items)
Method Detail |
---|
public int getDate()
public DayName getDay()
public javax.swing.DefaultListModel getItems()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |