Public Member Functions | |
TaskPaneView () | |
Constructor for TaskPaneView. | |
void | doLayout () |
| |
Dimension | getPreferredScrollableViewportSize () |
| |
Dimension | getPreferredSize () |
int | getScrollableBlockIncrement (Rectangle theVisibleRect, int theOrientation, int theDirection) |
| |
boolean | getScrollableTracksViewportHeight () |
| |
boolean | getScrollableTracksViewportWidth () |
| |
int | getScrollableUnitIncrement (Rectangle theVisibleRect, int theOrientation, int theDirection) |
| |
void | Change (PropertyChangeEvent e) |
Static Public Member Functions | |
static void | main (String[] args) |
A test program that creates and shows a TaskView. | |
Protected Member Functions | |
void | doFilter () |
void | makeNewTask () |
Static Package Attributes | |
static TaskPaneView | paneView |
Test instance. | |
Private Member Functions | |
void | setup () |
Sets up the visual appearance of the view. | |
Private Attributes | |
TaskSubpaneView | todoList |
The to-do list subpane. | |
TaskSubpaneView | pendingTasks |
The pending tasks subpane. | |
TaskSubpaneView | completedTasks |
The completed tasks subpane. | |
SearchField | inputAndFilterField |
IconButton | addTaskButton |
Static Private Attributes | |
static final long | serialVersionUID = 7083012944101041073L |
Prevent serialization collisions. | |
static final TaskFilter | TODO_FILTER |
static final TaskFilter | PENDING_FILTER |
static final TaskFilter | COMPLETED_FILTER |
edu.cmu.hcii.calo.view.TaskPaneView.TaskPaneView | ( | ) |
Constructor for TaskPaneView.
static void edu.cmu.hcii.calo.view.TaskPaneView.main | ( | String[] | args | ) | [static] |
void edu.cmu.hcii.calo.view.TaskPaneView.doLayout | ( | ) |
Dimension edu.cmu.hcii.calo.view.TaskPaneView.getPreferredScrollableViewportSize | ( | ) |
Dimension edu.cmu.hcii.calo.view.TaskPaneView.getPreferredSize | ( | ) |
int edu.cmu.hcii.calo.view.TaskPaneView.getScrollableBlockIncrement | ( | Rectangle | theVisibleRect, | |
int | theOrientation, | |||
int | theDirection | |||
) |
boolean edu.cmu.hcii.calo.view.TaskPaneView.getScrollableTracksViewportHeight | ( | ) |
boolean edu.cmu.hcii.calo.view.TaskPaneView.getScrollableTracksViewportWidth | ( | ) |
int edu.cmu.hcii.calo.view.TaskPaneView.getScrollableUnitIncrement | ( | Rectangle | theVisibleRect, | |
int | theOrientation, | |||
int | theDirection | |||
) |
void edu.cmu.hcii.calo.view.TaskPaneView.setup | ( | ) | [private] |
Sets up the visual appearance of the view.
void edu.cmu.hcii.calo.view.TaskPaneView.doFilter | ( | ) | [protected] |
void edu.cmu.hcii.calo.view.TaskPaneView.makeNewTask | ( | ) | [protected] |
void edu.cmu.hcii.calo.view.TaskPaneView.Change | ( | PropertyChangeEvent | e | ) |
final long edu.cmu.hcii.calo.view.TaskPaneView.serialVersionUID = 7083012944101041073L [static, private] |
Prevent serialization collisions.
TaskPaneView edu.cmu.hcii.calo.view.TaskPaneView.paneView [static, package] |
Test instance.
The to-do list subpane.
The pending tasks subpane.
The completed tasks subpane.
final TaskFilter edu.cmu.hcii.calo.view.TaskPaneView.TODO_FILTER [static, private] |
Initial value:
new TaskFilter() { @Override public boolean shouldShowTask(Task t) { if (t.isComplete()) { return false; } if (t.getPendingState().isPending()) { return false; } return true; } }
final TaskFilter edu.cmu.hcii.calo.view.TaskPaneView.PENDING_FILTER [static, private] |
Initial value:
new TaskFilter() { @Override public boolean shouldShowTask(Task t) { if (t.getPendingState().isPending()) { return true; } return false; } }
final TaskFilter edu.cmu.hcii.calo.view.TaskPaneView.COMPLETED_FILTER [static, private] |
Initial value:
new TaskFilter() { @Override public boolean shouldShowTask(Task t) { if (t.isComplete()) { return true; } return false; } }