|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jgoodies.uif_lite.AbstractView
com.jgoodies.skeleton.view.editor.WelcomeView
public final class WelcomeView
This panel is displayed after a successful application startup to welcome the user. It provides access to actions that are most useful at the application start.
Constructor Summary | |
---|---|
WelcomeView(MainModel mainModel)
|
Method Summary | |
---|---|
void |
activate()
Activates this editor. |
protected JComponent |
buildPanel()
Builds and returns this view's panel. |
void |
deactivate()
Deactivates the editor. |
Icon |
getIcon()
Returns this editor's icon. |
String |
getTitle()
Returns this editor's title. |
JToolBar |
getToolBar()
Returns this editor's tool bar. |
void |
updateModel(Object model)
Reads the values from this editor's components and sets them in the given model. |
void |
updateView(Object model)
Reads the values from the given model and sets them in this editor's components. |
Methods inherited from class com.jgoodies.uif_lite.AbstractView |
---|
getPanel |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.jgoodies.skeleton.view.editor.Editor |
---|
getPanel |
Constructor Detail |
---|
public WelcomeView(MainModel mainModel)
Method Detail |
---|
public Icon getIcon()
Editor
getIcon
in interface Editor
public String getTitle()
Editor
getTitle
in interface Editor
public JToolBar getToolBar()
Editor
getToolBar
in interface Editor
public void activate()
Editor
Implementors may choose to do nothing or update the view. This depends on who can change domain objects. If only editors can change the domain, you likely need not update the view on editor activation. If the domain objects can be changed by third parties, you may need to update the view if an editor gets activated.
Implementors may also need to perform additional actions on activation. For example, scroll a list or table to make the current selection visible.
activate
in interface Editor
public void deactivate()
Editor
Typically an implementor needs to update the model data by copying values from this editor's components to the model.
deactivate
in interface Editor
public void updateModel(Object model)
Editor
updateModel
in interface Editor
model
- the object to write this editor's value topublic void updateView(Object model)
Editor
updateView
in interface Editor
model
- the object to read the values fromprotected JComponent buildPanel()
buildPanel
in class com.jgoodies.uif_lite.AbstractView
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |