org.springframework.richclient.application
Interface View
- All Superinterfaces:
- ControlFactory, DescribedElement, PageComponent, PropertyChangePublisher, VisualizedElement
- All Known Implementing Classes:
- AbstractNavigatorView, AbstractView, ContactView, InitialView, InitialView, ScriptedView, TaskPaneNavigatorView, ViewWithInput, WidgetView
public interface View
- extends PageComponent
A view is a panel-like component displayed within an area on the page associated with an application window. There
can be multiple views per page; a single view can only be displayed once on a single page.
View instances encapsulate the creation of and access to the visual presentation of the underlying control. A view's
descriptor -- which is effectively a singleton -- can be asked to instantiate new instances of a single view for
display within an application with multiple windows. In other words, a single view instance is never shared between
windows.
- Author:
- Keith Donald
Methods inherited from interface org.springframework.richclient.application.PageComponent |
canClose, close, componentClosed, componentFocusGained, componentFocusLost, componentOpened, dispose, getContext, getId, setContext, setDescriptor |
setInput
void setInput(Object input)
- Sets the input for this
View
. This method may be implemented so this View
can update it's own
state (ui) when this method is called.
Normally this method is called from ApplicationPage.showView(String, Object)
, but may also be called
directly.
- Parameters:
input
- the input, can be null
Copyright © 2004-2009 The Spring Framework. All Rights Reserved.