com.plumtree.portalpages.admin.editors.portlet
Class PortletEditorHeaderView

java.lang.Object
  extended by com.plumtree.uiinfrastructure.editor.EditorView
      extended by com.plumtree.uiinfrastructure.editor.EditorHeaderView
          extended by com.plumtree.portalpages.admin.editors.portlet.PortletEditorHeaderView
All Implemented Interfaces:
IManagedObject, IMVCObject, IView

public class PortletEditorHeaderView
extends 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.

Author:
Julie Fournier

Field Summary
static java.lang.String HTMLBUTTON_EDITOR_NEXT
          HTMLID for the NEXT button
static java.lang.String STR_MVC_CLASS_NAME
          Object Name for AS
 
Fields inherited from class com.plumtree.uiinfrastructure.editor.EditorHeaderView
HTMLBUTTON_EDITOR_APPLY, HTMLBUTTON_EDITOR_CANCEL, HTMLBUTTON_EDITOR_FINISH
 
Fields inherited from class com.plumtree.uiinfrastructure.editor.EditorView
m_asOwner, m_model, SPACE
 
Constructor Summary
PortletEditorHeaderView()
           
 
Method Summary
protected  HTMLElement AddHeaderButtons()
          Helper method to display the header buttons.
 java.lang.Object Create()
          This method is used by the ASManager to return new instances of managed objects.
 HTMLElement Display()
          Returns HTML for the Editor banner.
 java.lang.String GetName()
          Returns the Class name.
 
Methods inherited from class com.plumtree.uiinfrastructure.editor.EditorView
AddEmptyCellToRow, AddEmptyCellToRow, AddEmptyRowToTable, AddEmptyRowToTable, DisplayJavascript, GetHeaderView, GetHeaderViewHelper, GetShortSpacerTable, GetSpacerTable, Init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STR_MVC_CLASS_NAME

public static final java.lang.String STR_MVC_CLASS_NAME
Object Name for AS

See Also:
Constant Field Values

HTMLBUTTON_EDITOR_NEXT

public static final java.lang.String HTMLBUTTON_EDITOR_NEXT
HTMLID for the NEXT button

See Also:
Constant Field Values
Constructor Detail

PortletEditorHeaderView

public PortletEditorHeaderView()
Method Detail

Create

public java.lang.Object Create()
Description copied from class: EditorView
This method is used by the ASManager to return new instances of managed objects.

Specified by:
Create in interface IManagedObject
Overrides:
Create in class EditorHeaderView
Returns:
A new instance of the managed class (i.e. return new Foo();)
See Also:
IManagedObject.Create()

GetName

public java.lang.String GetName()
Returns the Class name.

Specified by:
GetName in interface IMVCObject
Overrides:
GetName in class EditorHeaderView
Returns:
String

AddHeaderButtons

protected HTMLElement AddHeaderButtons()
Description copied from class: EditorHeaderView
Helper method to display the header buttons.

Overrides:
AddHeaderButtons in class EditorHeaderView
Returns:
HTMLElement
See Also:
com.plumtree.uiinfrastructure.form.FormHeaderView#AddHeaderButtons()

Display

public HTMLElement Display()
Description copied from class: EditorHeaderView
Returns HTML for the Editor banner. Also displays the Editor title returned by GetEditorTitle in the associated AS class.

Specified by:
Display in interface IView
Overrides:
Display in class EditorHeaderView
Returns:
HTMLElement
See Also:
IView.Display()



Copyright © 2002,2003,2004,2005 Plumtree Software, Inc., All Rights Reserved.