com.plumtree.portalpages.admin.serversettings.search
Class BannerFieldAliasView

java.lang.Object
  extended by com.plumtree.uiinfrastructure.editor.EditorView
      extended by com.plumtree.portalpages.admin.serversettings.search.BannerFieldAliasView
All Implemented Interfaces:
IManagedObject, IMVCObject, IView

public class BannerFieldAliasView
extends EditorView

Author:
MatthewF

Nested Class Summary
static class BannerFieldAliasView.PropertyValue
           
 
Field Summary
static java.lang.String DEL_ALL_CB
           
static java.lang.String IN_CB_NAME
           
static java.lang.String IN_HI_NUM_FIELDS
           
static java.lang.String IN_PERCENT_INPUT
           
static java.lang.String IN_SE_NAME
           
static java.lang.String IN_WEIGHT_INPUT
           
static java.lang.String STR_MVC_CLASS_NAME
           
 
Fields inherited from class com.plumtree.uiinfrastructure.editor.EditorView
m_asOwner, m_model, SPACE
 
Constructor Summary
BannerFieldAliasView()
           
 
Method Summary
 java.lang.Object Create()
          This method is used by the ASManager to return new instances of managed objects.
protected  void CreateAliasTable(HTMLElement container)
           
 HTMLElement Display()
          This method returns the HTMLElement that encompasses the output of the View.
 HTMLScript DisplayJavascript()
          Returns Java Script for editBB function.
protected  HTMLElement GetCheckbox(SearchServerTuningEditorModel.AliasElement element, int number)
           
protected  HTMLElement GetMandatoryLabel(SearchServerTuningEditorModel.AliasElement element, int number)
           
 java.lang.String GetName()
          Returns the Class name.
protected  HTMLElement GetPercentageLabel(SearchServerTuningEditorModel.AliasElement element, int number)
           
 BannerFieldAliasView.PropertyValue[] GetPropertiesVisibleToCurrentUser()
           
protected  HTMLElement GetSelect(SearchServerTuningEditorModel.AliasElement element, int number)
           
protected  HTMLElement GetWeightInput(SearchServerTuningEditorModel.AliasElement element, int number)
           
protected  boolean IsIDMandatory(int propertyID)
           
 java.lang.String LookUpNameForPropertyID(int id)
           
protected  java.lang.String PadToEight(java.lang.String val)
           
 
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
See Also:
Constant Field Values

DEL_ALL_CB

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

IN_CB_NAME

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

IN_SE_NAME

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

IN_WEIGHT_INPUT

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

IN_PERCENT_INPUT

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

IN_HI_NUM_FIELDS

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

BannerFieldAliasView

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

DisplayJavascript

public HTMLScript DisplayJavascript()
Returns Java Script for editBB function.

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:

CreateAliasTable

protected void CreateAliasTable(HTMLElement container)

LookUpNameForPropertyID

public java.lang.String LookUpNameForPropertyID(int id)

GetPropertiesVisibleToCurrentUser

public BannerFieldAliasView.PropertyValue[] GetPropertiesVisibleToCurrentUser()
Returns:

GetSelect

protected HTMLElement GetSelect(SearchServerTuningEditorModel.AliasElement element,
                                int number)

GetMandatoryLabel

protected HTMLElement GetMandatoryLabel(SearchServerTuningEditorModel.AliasElement element,
                                        int number)

GetWeightInput

protected HTMLElement GetWeightInput(SearchServerTuningEditorModel.AliasElement element,
                                     int number)

GetPercentageLabel

protected HTMLElement GetPercentageLabel(SearchServerTuningEditorModel.AliasElement element,
                                         int number)

PadToEight

protected java.lang.String PadToEight(java.lang.String val)

GetCheckbox

protected HTMLElement GetCheckbox(SearchServerTuningEditorModel.AliasElement element,
                                  int number)

IsIDMandatory

protected boolean IsIDMandatory(int propertyID)

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



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