com.plumtree.portalpages.common.editpage
Class PageLayoutView

java.lang.Object
  extended by com.plumtree.uiinfrastructure.editor.EditorView
      extended by com.plumtree.portalpages.common.editpage.PageLayoutView
All Implemented Interfaces:
IManagedObject, IMVCObject, IView

public class PageLayoutView
extends EditorView

Author:
MichaelD

Field Summary
static java.lang.String HTMLBUTTON_ADDGADGETS
          Form Button: Add Portlets Button Name
static java.lang.String HTMLBUTTON_SELECTLAYOUT
          Form Button: Select Layout Button Name
static java.lang.String HTMLINPUT_EDITPAGE_GADGETORDER_PREFIX
          Form Input: Portlet Order Prefix
static java.lang.String HTMLINPUT_EDITPAGE_GADGETORDER0
          Form Input: Portlet Order in Column 0
static java.lang.String HTMLINPUT_EDITPAGE_GADGETORDER1
          Form Input: Portlet Order in Column 1
static java.lang.String HTMLINPUT_EDITPAGE_GADGETORDER2
          Form Input: Portlet Order in Column 2
static java.lang.String JAVASCRIPT_PREVIEW_GADGET
          Javascript Function: previewPortlet
static int LAYOUTTABLE_WIDTH
          Layout table width
static java.lang.String STR_MVC_CLASS_NAME
          Object Name
 
Fields inherited from class com.plumtree.uiinfrastructure.editor.EditorView
m_asOwner, m_model, SPACE
 
Constructor Summary
PageLayoutView()
           
 
Method Summary
 java.lang.Object Create()
          This method is used by the ASManager to return new instances of managed objects.
 HTMLElement Display()
          Adds the HTML for that section to the table passed in argument.
 HTMLScriptCollection DisplayJavascriptCollection()
          Display the javascript functions that are needed in this view.
 java.lang.String GetName()
          Returns the Class name.
 void SetLayoutTablePosition(int nTop, int nLeft)
          Method SetLayoutTablePosition.
 
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

See Also:
Constant Field Values

HTMLBUTTON_ADDGADGETS

public static final java.lang.String HTMLBUTTON_ADDGADGETS
Form Button: Add Portlets Button Name

See Also:
Constant Field Values

HTMLBUTTON_SELECTLAYOUT

public static final java.lang.String HTMLBUTTON_SELECTLAYOUT
Form Button: Select Layout Button Name

See Also:
Constant Field Values

HTMLINPUT_EDITPAGE_GADGETORDER_PREFIX

public static final java.lang.String HTMLINPUT_EDITPAGE_GADGETORDER_PREFIX
Form Input: Portlet Order Prefix

See Also:
Constant Field Values

HTMLINPUT_EDITPAGE_GADGETORDER0

public static final java.lang.String HTMLINPUT_EDITPAGE_GADGETORDER0
Form Input: Portlet Order in Column 0

See Also:
Constant Field Values

HTMLINPUT_EDITPAGE_GADGETORDER1

public static final java.lang.String HTMLINPUT_EDITPAGE_GADGETORDER1
Form Input: Portlet Order in Column 1

See Also:
Constant Field Values

HTMLINPUT_EDITPAGE_GADGETORDER2

public static final java.lang.String HTMLINPUT_EDITPAGE_GADGETORDER2
Form Input: Portlet Order in Column 2

See Also:
Constant Field Values

LAYOUTTABLE_WIDTH

public static final int LAYOUTTABLE_WIDTH
Layout table width

See Also:
Constant Field Values

JAVASCRIPT_PREVIEW_GADGET

public static final java.lang.String JAVASCRIPT_PREVIEW_GADGET
Javascript Function: previewPortlet

See Also:
Constant Field Values
Constructor Detail

PageLayoutView

public PageLayoutView()
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()
Adds the HTML for that section to the table passed in argument.

Specified by:
Display in interface IView
Specified by:
Display in class EditorView
Returns:

DisplayJavascriptCollection

public HTMLScriptCollection DisplayJavascriptCollection()
Display the javascript functions that are needed in this view.

Returns:
HTMLScriptCollection

GetName

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

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

SetLayoutTablePosition

public void SetLayoutTablePosition(int nTop,
                                   int nLeft)
Method SetLayoutTablePosition. Set the position of the layout table's top pixel and left pixel.

Parameters:
nTop -
nLeft -



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