com.plumtree.portalpages.admin.editors.subportal
Class LayoutView

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

public class LayoutView
extends EditorView

This Section represents a section of the Edit Subportal Layout page of the SubPortal Editor. This Section is printed out by SubPortalLayoutDP.


Field Summary
static java.lang.String HTMLCHECKBOX_LAYOUTS
          Enable Layouts checkbox
static java.lang.String HTMLSELECT_LAYOUTS
          Layouts Dropdowns
static java.lang.String STR_MVC_CLASS_NAME
          Unique identifier for the class
 
Fields inherited from class com.plumtree.uiinfrastructure.editor.EditorView
m_asOwner, m_model, SPACE
 
Constructor Summary
LayoutView()
           
 
Method Summary
 void AddLayoutSelector(Layouts _layout, int _index, java.lang.String[] _strOptions, boolean _bDisabled, java.lang.String _strPrefix, HTMLTable _myTable, ILayoutChooser _chooser)
          This helper method adds a layout title and dropdown to an HTML table.
 java.lang.Object Create()
          This method is used by the ASManager to return new instances of managed objects.
 HTMLElement Display()
          Returns the HTML for the Section.
 HTMLScript DisplayJavascript()
          Returns Java Script for that Section.
 java.lang.String GetName()
          Returns the Class name.
 void Init(IModelRO model, AActivitySpace parent)
          Inits the View with the read-only Model and the Activity Space.
 
Methods inherited from class com.plumtree.uiinfrastructure.editor.EditorView
AddEmptyCellToRow, AddEmptyCellToRow, AddEmptyRowToTable, AddEmptyRowToTable, GetHeaderView, GetHeaderViewHelper, GetShortSpacerTable, GetSpacerTable
 
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
Unique identifier for the class

See Also:
Constant Field Values

HTMLCHECKBOX_LAYOUTS

public static final java.lang.String HTMLCHECKBOX_LAYOUTS
Enable Layouts checkbox

See Also:
Constant Field Values

HTMLSELECT_LAYOUTS

public static final java.lang.String HTMLSELECT_LAYOUTS
Layouts Dropdowns

See Also:
Constant Field Values
Constructor Detail

LayoutView

public LayoutView()
Method Detail

Display

public HTMLElement Display()
Returns the HTML for the Section.

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

AddLayoutSelector

public void AddLayoutSelector(Layouts _layout,
                              int _index,
                              java.lang.String[] _strOptions,
                              boolean _bDisabled,
                              java.lang.String _strPrefix,
                              HTMLTable _myTable,
                              ILayoutChooser _chooser)
This helper method adds a layout title and dropdown to an HTML table.

Parameters:
_layout - The layout to add.
_index - The index in the table for the layout.
_strOptions - The options string
_myTable - The table to add the dropdown to.
_chooser - The layout chooser.

GetName

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

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

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()

Init

public void Init(IModelRO model,
                 AActivitySpace parent)
Description copied from class: EditorView
Inits the View with the read-only Model and the Activity Space.

Specified by:
Init in interface IView
Overrides:
Init in class EditorView
See Also:
IView.Init(IModelRO, AActivitySpace)

DisplayJavascript

public HTMLScript DisplayJavascript()
Returns Java Script for that Section.

Specified by:
DisplayJavascript in interface IView
Overrides:
DisplayJavascript in class EditorView
Returns:
HTMLScript
See Also:
IView.DisplayJavascript()



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