|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
net.sf.borg.ui.DockableView
net.sf.borg.ui.calendar.AppointmentListView
public class AppointmentListView
AppointmentListView provides a UI for editing the appoitnments for a day. The UI presents a list of appointments and allows the user to edit the selected appointment in an appointment editor.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JPanel |
|---|
JPanel.AccessibleJPanel |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary |
|---|
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
AppointmentListView(int year,
int month,
int day)
constructor |
|
| Method Summary | |
|---|---|
PrefName |
getFrameSizePref()
Gets the window size preference. |
String |
getFrameTitle()
Gets the frame title. |
JMenuBar |
getMenuForFrame()
Gets the menu for the frame. |
(package private) static void |
onChangeDate(List<Appointment> appts)
Prompt the user to change the date of a set of appointments |
(package private) static void |
onMoveToFollowingDay(List<Appointment> appts)
Move a set of appointments to the following day |
void |
refresh()
Called to notify Listener when the Model is changed. |
void |
showApp(int key)
Show an appointment in the list and editor |
void |
valueChanged(ListSelectionEvent e)
react to ListSelectionEvents |
| Methods inherited from class net.sf.borg.ui.DockableView |
|---|
addModel, isDocked, openInFrame, remove, showView |
| Methods inherited from class javax.swing.JPanel |
|---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AppointmentListView(int year,
int month,
int day)
year - the yearmonth - the monthday - the day| Method Detail |
|---|
static void onChangeDate(List<Appointment> appts)
appts - the apptsstatic void onMoveToFollowingDay(List<Appointment> appts)
appts - the apptspublic PrefName getFrameSizePref()
DockableView
getFrameSizePref in class DockableViewpublic String getFrameTitle()
DockableView
getFrameTitle in class DockableViewpublic JMenuBar getMenuForFrame()
DockableView
getMenuForFrame in class DockableViewpublic void refresh()
Model.Listener
refresh in interface Model.Listenerrefresh in class DockableViewpublic void showApp(int key)
key - the appt keypublic void valueChanged(ListSelectionEvent e)
valueChanged in interface ListSelectionListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||