com.plumtree.uiinfrastructure.editor
Class EditorHeaderView

java.lang.Object
  extended by com.plumtree.uiinfrastructure.editor.EditorView
      extended by com.plumtree.uiinfrastructure.editor.EditorHeaderView
All Implemented Interfaces:
IManagedObject, IMVCObject, IView
Direct Known Subclasses:
PortletEditorHeaderView

public class EditorHeaderView
extends EditorView

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_APPLY
          Apply button input name
static java.lang.String HTMLBUTTON_EDITOR_CANCEL
          Cancel button input name
static java.lang.String HTMLBUTTON_EDITOR_FINISH
          Finish button input name
static java.lang.String STR_MVC_CLASS_NAME
          Object Name for AS
 
Fields inherited from class com.plumtree.uiinfrastructure.editor.EditorView
m_asOwner, m_model, SPACE
 
Constructor Summary
EditorHeaderView()
           
 
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_FINISH

public static final java.lang.String HTMLBUTTON_EDITOR_FINISH
Finish button input name

See Also:
Constant Field Values

HTMLBUTTON_EDITOR_CANCEL

public static final java.lang.String HTMLBUTTON_EDITOR_CANCEL
Cancel button input name

See Also:
Constant Field Values

HTMLBUTTON_EDITOR_APPLY

public static final java.lang.String HTMLBUTTON_EDITOR_APPLY
Apply button input name

See Also:
Constant Field Values
Constructor Detail

EditorHeaderView

public EditorHeaderView()
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
Specified by:
Create in class EditorView
Returns:
A new instance of the managed class (i.e. return new Foo();)
See Also:
IManagedObject.Create()

Display

public HTMLElement Display()
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
Specified by:
Display in class EditorView
Returns:
HTMLElement

AddHeaderButtons

protected HTMLElement AddHeaderButtons()
Helper method to display the header buttons.

Returns:
HTMLElement

GetName

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

Specified by:
GetName in interface IMVCObject
Specified by:
GetName in class EditorView
Returns:
String



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