com.plumtree.portalpages.browsing.layoutselection
Class LayoutSelectionView

java.lang.Object
  extended by com.plumtree.uiinfrastructure.editor.EditorView
      extended by com.plumtree.portalpages.browsing.layoutselection.LayoutSelectionView
All Implemented Interfaces:
IManagedObject, IMVCObject, IView

public class LayoutSelectionView
extends EditorView

View for generating the list of available layouts,

Author:
michaeld, Robert Zhang

Field Summary
static java.lang.String ELEMENT_RADIO_ID
           
static java.lang.String ELEMENT_SELECT_ID
           
static java.lang.String ELEMENT_SELECT_NAME
           
static java.lang.String HTMLINPUT_LAYOUT
          HTML input names.
static java.lang.String JAVASCRIPT_SUBMIT_TO_PARENT
          Javascript function: submitToParent
static int LAYOUT_COL_ALLOWSFREEFORM
          Column: Layout allows free form section
static int LAYOUT_COL_IMG
          Column: Layout Image
static int LAYOUT_COL_NAME
          Column: Layout Name
static int LAYOUT_COLUMNS
          Layout: number of columns
static int LAYOUT_COUNT
          Layout Count
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
LayoutSelectionView()
           
 
Method Summary
 java.lang.Object Create()
          This method is used by the ASManager to return new instances of managed objects.
 HTMLElement Display()
          This method returns the HTMLElement that encompasses the output of the View.
 HTMLScript DisplayJavascript()
          This method returns the HTMLScript that encompasses the Javascript on the page.
protected  java.lang.Object[] GetLayout(int iLayoutIndex)
           
 java.lang.String GetName()
          Returns the Class name.
 
Methods inherited from class com.plumtree.uiinfrastructure.editor.EditorView
AddEmptyCellToRow, AddEmptyCellToRow, AddEmptyRowToTable, AddEmptyRowToTable, 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

LAYOUT_COUNT

public static final int LAYOUT_COUNT
Layout Count

See Also:
Constant Field Values

LAYOUT_COLUMNS

public static final int LAYOUT_COLUMNS
Layout: number of columns

See Also:
Constant Field Values

LAYOUT_COL_NAME

public static final int LAYOUT_COL_NAME
Column: Layout Name

See Also:
Constant Field Values

LAYOUT_COL_IMG

public static final int LAYOUT_COL_IMG
Column: Layout Image

See Also:
Constant Field Values

LAYOUT_COL_ALLOWSFREEFORM

public static final int LAYOUT_COL_ALLOWSFREEFORM
Column: Layout allows free form section

See Also:
Constant Field Values

HTMLINPUT_LAYOUT

public static final java.lang.String HTMLINPUT_LAYOUT
HTML input names.

See Also:
Constant Field Values

JAVASCRIPT_SUBMIT_TO_PARENT

public static final java.lang.String JAVASCRIPT_SUBMIT_TO_PARENT
Javascript function: submitToParent

See Also:
Constant Field Values

ELEMENT_SELECT_ID

public static final java.lang.String ELEMENT_SELECT_ID
See Also:
Constant Field Values

ELEMENT_SELECT_NAME

public static final java.lang.String ELEMENT_SELECT_NAME
See Also:
Constant Field Values

ELEMENT_RADIO_ID

public static final java.lang.String ELEMENT_RADIO_ID
See Also:
Constant Field Values
Constructor Detail

LayoutSelectionView

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

GetName

public java.lang.String GetName()
Description copied from class: EditorView
Returns the Class name.

Specified by:
GetName in interface IMVCObject
Specified by:
GetName in class EditorView
Returns:
String
See Also:
com.plumtree.portaluiinfrastructure.activityspace.IView#GetName()

Display

public HTMLElement Display()
Description copied from class: EditorView
This method returns the HTMLElement that encompasses the output of the View.

Specified by:
Display in interface IView
Specified by:
Display in class EditorView
Returns:
HTMLElement
See Also:
com.plumtree.portaluiinfrastructure.activityspace.IView#Display()

DisplayJavascript

public HTMLScript DisplayJavascript()
Description copied from class: EditorView
This method returns the HTMLScript that encompasses the Javascript on the page.

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

GetLayout

protected java.lang.Object[] GetLayout(int iLayoutIndex)



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