Plumtree UI Infrastructure API  
 

IView Interface

Views are responsible for generating HTML in the MVC framework. They query their model for data and build HTML from it. The links and forms in that HTML should be constructed so the Interpreter can use the controls to process events. Views should encapsulate the presentation of the AActivitySpace. As an MVC component, Views are subject to the strict separation between data, logic, and presentation. It is a requirement that Views not contain any server code other than constants (i.e. PT_PROPIDS.PT_PROPID_NAME). IPTQueryResults should not be used in Views, rather, Models should provide accesor methods for them. It is also a requirement that Views not depend on Models for HTML. Views can use helper classes (Strategies, delegation, etc...) to generate HTML, but Views should never expect a model to return an HTMLElement or HTMLConstruct to them. Models can return text Strings for display in HTMLElements. Obviously, there should be a good way to refer to views without having to manually type in a text string. There should be some sort of package identifier used to get these.

For a list of all members of this type, see IView Members.

com.plumtree.uiinfrastructure.activityspace.IView
   com.plumtree.uiinfrastructure.devices.IDevicesView

public interface IView : IMVCObject, IManagedObject

Types that implement IView

Type Description
ApprovalView View class for approving items
CommentView This View represents a section of the main page of the Misc Editor. This View is printed out by Misc2DP.
NoItemsView  
EditorHeaderView This class implements the HTML to print out the Editor header. This View is printed out by EditorDP. Editor Views should NOT extend this class. They should extend EditorView instead.
EditorLeftNavView  
EditorView This is the View class for the Editor Framework. It implements the Init method and should be extended by any View.
ErrorView  
SinglePageErrorView  
ExpListView This View contains the HTML for the Expandable List Framework.
GrowableListView This is the implementation of the Expandable List framework for the Growable Array. Is constains the HTML to display the Growable Array. It gets the data to display from GrowableListModel.
MultiColumnListView This is an implementation of the Expandable List framework for the Multi Column Array. Is constains the HTML to display the Array. It gets the data to display from MultiColumnListModel.
AFormHeaderView This class implements the HTML to print out the Done and Cancel at the top of the form. This View is printed out by AFormDP. To turn this header on ... go to AFormDP::SetShowFormHeader()
FormFooterView This class implements the HTML to print out the Done and Cancel at the bottom of the form in small pop-up style. This View is printed out by AFormDP. This view needs to be 508 compliant To turn this header on ... go to AFormDP::SetShowFormFooter() This is the small pop-up footer.
FormHeaderView This class implements the HTML to print out the Finish and Cancel at the top of the form. This View is printed out by AFormDP. To turn this header on ... go to AFormDP::SetShowFormHeader() This is the normal page header.
MediumFormHeaderView This class implements the HTML to print out the OK and Cancel at the top of the form. This View is printed out by AFormDP. To turn this header on ... go to AFormDP::SetShowFormHeader() This is the medium popup header.
StatusView This class contains the HTML and Javascript for placing a status bar into your HTML. While it implements IView, this class does not need to be loaded into an AS in the traditional manner. Plenty of static methods allow you to insert this code into your existing DPs and Views as an optional/external component.
TipsView  
TreeBarView Display the action sub-title for the tree frame.
TreeView This view displays a tree (TreeCompositeNode) generated by an ITreeModel.

Requirements

Namespace: com.plumtree.uiinfrastructure.activityspace

Assembly: uiinfrastructure (in uiinfrastructure.dll)

See Also

IView Members | com.plumtree.uiinfrastructure.activityspace Namespace