|
||||||||||
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.TodoView
public class TodoView
Dockable window that shows a sorted list of all todos, allows the user to take action on the todos, and lets the user quickly enter a new todo
Nested Class Summary | |
---|---|
(package private) class |
TodoView.TodoTableCellRenderer
Adds user colors to the todo table |
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 |
Method Summary | |
---|---|
JPanel |
getComponent()
get the Component for this Module |
PrefName |
getFrameSizePref()
Gets the window size preference. |
String |
getFrameTitle()
Gets the frame title. |
JMenuBar |
getMenuForFrame()
Gets the menu for the frame. |
String |
getModuleName()
get the module's name |
static TodoView |
getReference()
Gets the singleton. |
MultiView.ViewType |
getViewType()
get the modules ViewType |
void |
initialize(MultiView parent)
called by the parent Multiview to allow the Module to initialize its toolbar items, menu items, and anything else that must be initalized before its Module methods can be called |
void |
prefsChanged()
called when preferences changed. |
void |
print()
Prints the todo table |
void |
refresh()
load todos from the model and show in the UI |
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 |
Method Detail |
---|
public static TodoView getReference()
public PrefName getFrameSizePref()
DockableView
getFrameSizePref
in class DockableView
public String getFrameTitle()
DockableView
getFrameTitle
in class DockableView
public JMenuBar getMenuForFrame()
DockableView
getMenuForFrame
in class DockableView
public void prefsChanged()
Prefs.Listener
prefsChanged
in interface Prefs.Listener
public void print()
print
in interface MultiView.Module
Exception
- the exceptionpublic void refresh()
refresh
in interface Model.Listener
refresh
in class DockableView
public String getModuleName()
MultiView.Module
getModuleName
in interface MultiView.Module
public JPanel getComponent()
MultiView.Module
getComponent
in interface MultiView.Module
public void initialize(MultiView parent)
MultiView.Module
initialize
in interface MultiView.Module
parent
- the parent MultiViewpublic MultiView.ViewType getViewType()
MultiView.Module
getViewType
in interface MultiView.Module
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |