org.springframework.richclient.application
Interface View

Show UML class diagram
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

Field Summary
 
Fields inherited from interface org.springframework.richclient.core.DescribedElement
CAPTION_PROPERTY, DESCRIPTION_PROPERTY, DISPLAY_NAME_PROPERTY
 
Method Summary
 void setInput(Object input)
          Sets the input for this View.
 
Methods inherited from interface org.springframework.richclient.application.PageComponent
canClose, close, componentClosed, componentFocusGained, componentFocusLost, componentOpened, dispose, getContext, getId, setContext, setDescriptor
 
Methods inherited from interface org.springframework.binding.value.PropertyChangePublisher
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
 
Methods inherited from interface org.springframework.richclient.core.DescribedElement
getCaption, getDescription, getDisplayName
 
Methods inherited from interface org.springframework.richclient.core.VisualizedElement
getIcon, getImage
 
Methods inherited from interface org.springframework.richclient.factory.ControlFactory
getControl
 

Method Detail

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.