|
||||||||||
| 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.memo.MemoPanel
public class MemoPanel
UI for editing memos. It has a table that shows all memos by name and an editing panel for editing memo text.
| 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 | |
|---|---|
MemoPanel()
constructor. |
|
| Method Summary | |
|---|---|
boolean |
canClose()
method called to check if the view can be closed. |
void |
cleanUp()
method called when view is being closed to allow the view to do clean up or resets. |
JComponent |
getComponent()
get the Component for this Module |
String |
getFrameTitle()
Gets the frame title. |
String |
getModuleName()
get the module's name |
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 |
print()
print the Module |
void |
refresh()
refresh the UI. |
void |
selectMemo(String memoName)
selecte the named memo for editing |
void |
update(Model.ChangeEvent event)
Called to notify Listener when the Model is changed. |
void |
valueChanged(ListSelectionEvent e)
react to the user selecting a memo in the memo list. |
| Methods inherited from class net.sf.borg.ui.DockableView |
|---|
addModel, close, isDocked, openInFrame, 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 MemoPanel()
| Method Detail |
|---|
public void refresh()
refresh in class DockableViewpublic void update(Model.ChangeEvent event)
Model.Listener
update in interface Model.Listenerpublic void selectMemo(String memoName)
memoName - the memo namepublic void valueChanged(ListSelectionEvent e)
valueChanged in interface ListSelectionListenerpublic JComponent getComponent()
MultiView.Module
getComponent in interface MultiView.Modulepublic String getModuleName()
MultiView.Module
getModuleName in interface MultiView.Modulepublic void initialize(MultiView parent)
MultiView.Module
initialize in interface MultiView.Moduleparent - the parent MultiViewpublic void print()
MultiView.Module
print in interface MultiView.Modulepublic MultiView.ViewType getViewType()
MultiView.Module
getViewType in interface MultiView.Modulepublic boolean canClose()
DockableView
canClose in class DockableViewpublic String getFrameTitle()
DockableView
getFrameTitle in class DockableViewpublic void cleanUp()
DockableView
cleanUp in class DockableView
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||