com.plumtree.portalpages.admin.editors.propertymap
Class PropertyMapEditorMainView

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

public class PropertyMapEditorMainView
extends EditorView
implements IView

Author:
$author$

Field Summary
static java.lang.String HTMLCHECKBOX_PROPERTY
           
static java.lang.String HTMLHIDDEN_PROPERTYSELECTED
           
static java.lang.String HTMLHIDDEN_SPACEID
           
static java.lang.String HTMLHIDDEN_TREEREPOST
           
static java.lang.String HTMLTEXT_PROPEDIT
           
protected  PTStyleClass m_styleListItem
           
static java.lang.String PROPTREESPACE
           
static java.lang.String STR_MVC_CLASS_NAME
           
 
Fields inherited from class com.plumtree.uiinfrastructure.editor.EditorView
m_asOwner, m_model, SPACE
 
Constructor Summary
PropertyMapEditorMainView()
           
 
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.
protected  void DisplayActionBar(HTMLElementCollection result)
           
protected  void DisplayBreak(HTMLElementCollection result)
           
protected  void DisplayHiddenInputs(HTMLElementCollection result)
           
 HTMLScript DisplayJavascript()
          This method returns the HTMLScript that encompasses the Javascript on the page.
protected  void DisplayObjectHeader(HTMLElementCollection result)
           
protected  void DisplayPropertyList(HTMLElementCollection result)
           
protected  void DisplayPropertyListHeader(HTMLTable myTable)
           
protected  void DisplayPropertyListItem(HTMLTable myTable, int id, java.lang.String name)
           
 HTMLImg GetImage(PTImageType type, java.lang.String alt, java.lang.String w, java.lang.String h)
           
protected  IPropertyMapEditorModelRO GetModel()
           
 java.lang.String GetName()
          Returns the Class name.
protected  java.lang.String GetPropertyName(int id)
           
protected  PTObjectIdNamePair[] SortObjectByName(java.lang.Object[] ids, boolean ascending)
           
 
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
 
Methods inherited from interface com.plumtree.uiinfrastructure.activityspace.IView
Init
 

Field Detail

STR_MVC_CLASS_NAME

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

HTMLCHECKBOX_PROPERTY

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

HTMLTEXT_PROPEDIT

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

HTMLHIDDEN_PROPERTYSELECTED

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

PROPTREESPACE

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

HTMLHIDDEN_TREEREPOST

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

HTMLHIDDEN_SPACEID

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

m_styleListItem

protected PTStyleClass m_styleListItem
Constructor Detail

PropertyMapEditorMainView

public PropertyMapEditorMainView()
Method Detail

GetImage

public HTMLImg GetImage(PTImageType type,
                        java.lang.String alt,
                        java.lang.String w,
                        java.lang.String h)
Parameters:
type -
alt -
w -
h -
Returns:

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:

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:
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:

GetModel

protected IPropertyMapEditorModelRO GetModel()
Returns:

DisplayActionBar

protected void DisplayActionBar(HTMLElementCollection result)
Parameters:
result -
Throws:
HTMLException

DisplayBreak

protected void DisplayBreak(HTMLElementCollection result)
Parameters:
result -
Throws:
HTMLException

DisplayHiddenInputs

protected void DisplayHiddenInputs(HTMLElementCollection result)
Parameters:
result -
Throws:
HTMLException

DisplayObjectHeader

protected void DisplayObjectHeader(HTMLElementCollection result)
Parameters:
result -
Throws:
HTMLException

DisplayPropertyList

protected void DisplayPropertyList(HTMLElementCollection result)
Parameters:
result -
Throws:
HTMLException

DisplayPropertyListHeader

protected void DisplayPropertyListHeader(HTMLTable myTable)
Parameters:
myTable -
Throws:
HTMLException

DisplayPropertyListItem

protected void DisplayPropertyListItem(HTMLTable myTable,
                                       int id,
                                       java.lang.String name)
Parameters:
myTable -
id -
name -
Throws:
HTMLException

GetPropertyName

protected java.lang.String GetPropertyName(int id)
Parameters:
id -
Returns:

SortObjectByName

protected PTObjectIdNamePair[] SortObjectByName(java.lang.Object[] ids,
                                                boolean ascending)
Parameters:
ids -
ascending -
Returns:



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