com.plumtree.portalpages.admin.editors.portlet.plugins
Class PortletSettingsView

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

public class PortletSettingsView
extends EditorView

Author:
adolfoc

Field Summary
static java.lang.String HTMLCHECKBOX_SUPPRESS_TITLE_BAR
           
static java.lang.String HTMLHIDDEN_TABMODE
           
static java.lang.String HTMLRADIO_GADGET_ALIGNMENT
           
static java.lang.String HTMLRADIO_GADGET_TYPE
           
static java.lang.String HTMLSCRIPT_RADIO_ONCHANGE_FUNCTION
           
static java.lang.String HTMLSELECT_PORTLET_SIZE
           
static java.lang.String STR_MVC_CLASS_NAME
           
 
Fields inherited from class com.plumtree.uiinfrastructure.editor.EditorView
m_asOwner, m_model, SPACE
 
Constructor Summary
PortletSettingsView()
           
 
Method Summary
protected  void AddRadioButtonRow(HTMLTable myTable, java.lang.String strSelectedVal, java.lang.String label, java.lang.String radioID, java.lang.String radioValue, boolean bTabChange)
           
 java.lang.Object Create()
          This method is used by the ASManager to return new instances of managed objects.
protected  HTMLTable CreateDescriptionTable(java.lang.String strLabel, java.lang.String strDesc, PTImageType image, boolean bMargins)
           
protected  HTMLTable CreateRegularPortletSection()
           
protected  HTMLTable CreateSetPortletModeSection()
           
 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  void DrawChangeable(HTMLElementCollection result)
           
protected  void DrawReadOnly(HTMLElementCollection result)
           
 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.
protected  boolean IsCommunityPortlet()
          Returns whether we are editing a portlet for a community, or for the full admin folders.
 
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
See Also:
Constant Field Values

HTMLSCRIPT_RADIO_ONCHANGE_FUNCTION

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

HTMLRADIO_GADGET_TYPE

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

HTMLRADIO_GADGET_ALIGNMENT

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

HTMLCHECKBOX_SUPPRESS_TITLE_BAR

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

HTMLSELECT_PORTLET_SIZE

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

HTMLHIDDEN_TABMODE

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

PortletSettingsView

public PortletSettingsView()
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()
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:
IView.Display()

DisplayJavascript

public HTMLScript DisplayJavascript()
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()

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:
IMVCObject.GetName()

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)

AddRadioButtonRow

protected void AddRadioButtonRow(HTMLTable myTable,
                                 java.lang.String strSelectedVal,
                                 java.lang.String label,
                                 java.lang.String radioID,
                                 java.lang.String radioValue,
                                 boolean bTabChange)
Parameters:
myTable -
label -
radioID -
radioValue -
Throws:
HTMLException

CreateDescriptionTable

protected HTMLTable CreateDescriptionTable(java.lang.String strLabel,
                                           java.lang.String strDesc,
                                           PTImageType image,
                                           boolean bMargins)

CreateRegularPortletSection

protected HTMLTable CreateRegularPortletSection()
Returns:
HTMLTable
Throws:
HTMLException

CreateSetPortletModeSection

protected HTMLTable CreateSetPortletModeSection()
Returns:
HTMLTable
Throws:
HTMLException

IsCommunityPortlet

protected boolean IsCommunityPortlet()
Returns whether we are editing a portlet for a community, or for the full admin folders. This changes whether or not the user is allowed to select Freeform, Header and footer modes.

Returns:
boolean

DrawChangeable

protected void DrawChangeable(HTMLElementCollection result)

DrawReadOnly

protected void DrawReadOnly(HTMLElementCollection result)



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