com.plumtree.portalpages.admin.editors.bestbets
Class BestBetEditorView
java.lang.Object
com.plumtree.uiinfrastructure.editor.EditorView
com.plumtree.portalpages.admin.editors.bestbets.BestBetEditorView
- All Implemented Interfaces:
- IManagedObject, IMVCObject, IView
public class BestBetEditorView
- extends EditorView
- Author:
- CraigS, based on JulieF template
Method Summary |
protected void |
AddBestBets(HTMLElement container,
IBestBetModelRO bbModel,
IBaseSearchResultModelRO searchModel)
|
protected void |
AddSearchBoxAndResults(HTMLElement container,
IBestBetModelRO bbModel,
IBaseSearchResultModelRO searchModel)
|
protected void |
AddTriggerInstructions(HTMLElement container,
IBestBetModelRO bbModel)
|
protected boolean |
CanMoveDown(int id)
|
protected boolean |
CanMoveUp(int id)
|
java.lang.Object |
Create()
This method is used by the ASManager to return new instances of managed
objects. |
protected void |
CreateButtons(HTMLTableCell holder,
int id)
|
protected HTMLElement |
CreateDeleteElement(PTImageType imageType,
java.lang.String altText,
java.lang.String width,
java.lang.String height,
boolean enabled)
|
protected HTMLElement |
CreateMoveElement(int postToSelfCode,
PTImageType imageType,
java.lang.String altText,
boolean enabled)
|
HTMLElement |
Display()
Returns the HTML for the view |
HTMLScript |
DisplayJavascript()
This method returns the HTMLScript that encompasses the Javascript on
the page. |
protected PTImageType |
GetBottomArrow(boolean enabled)
|
protected java.lang.String |
GetCBName(int id)
|
protected PTImageType |
GetDownArrow(boolean enabled)
|
java.lang.String |
GetName()
Returns the Class name. |
protected PTImageType |
GetTopArrow(boolean enabled)
|
protected PTImageType |
GetUpArrow(boolean enabled)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
STR_MVC_CLASS_NAME
public static final java.lang.String STR_MVC_CLASS_NAME
- See Also:
- Constant Field Values
SEARCH_STRING_SETTING
public static final java.lang.String SEARCH_STRING_SETTING
- See Also:
- Constant Field Values
ADD_TARGET_BUTTON
public static final java.lang.String ADD_TARGET_BUTTON
- See Also:
- Constant Field Values
DEL_ALLTARGET_CB
public static final java.lang.String DEL_ALLTARGET_CB
- See Also:
- Constant Field Values
DEL_TARGET_CB
public static final java.lang.String DEL_TARGET_CB
- See Also:
- Constant Field Values
NBSP
public static final java.lang.String NBSP
- See Also:
- Constant Field Values
BestBetEditorView
public BestBetEditorView()
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()
- Returns the HTML for the view
- Specified by:
Display
in interface IView
- Specified by:
Display
in class EditorView
- Returns:
- HTMLElement
GetName
public java.lang.String GetName()
- Returns the Class name.
- Specified by:
GetName
in interface IMVCObject
- Specified by:
GetName
in class EditorView
- Returns:
- String
CanMoveUp
protected boolean CanMoveUp(int id)
CanMoveDown
protected boolean CanMoveDown(int id)
CreateButtons
protected void CreateButtons(HTMLTableCell holder,
int id)
GetTopArrow
protected PTImageType GetTopArrow(boolean enabled)
GetUpArrow
protected PTImageType GetUpArrow(boolean enabled)
GetDownArrow
protected PTImageType GetDownArrow(boolean enabled)
GetBottomArrow
protected PTImageType GetBottomArrow(boolean enabled)
CreateMoveElement
protected HTMLElement CreateMoveElement(int postToSelfCode,
PTImageType imageType,
java.lang.String altText,
boolean enabled)
AddTriggerInstructions
protected void AddTriggerInstructions(HTMLElement container,
IBestBetModelRO bbModel)
AddBestBets
protected void AddBestBets(HTMLElement container,
IBestBetModelRO bbModel,
IBaseSearchResultModelRO searchModel)
GetCBName
protected java.lang.String GetCBName(int id)
AddSearchBoxAndResults
protected void AddSearchBoxAndResults(HTMLElement container,
IBestBetModelRO bbModel,
IBaseSearchResultModelRO searchModel)
CreateDeleteElement
protected HTMLElement CreateDeleteElement(PTImageType imageType,
java.lang.String altText,
java.lang.String width,
java.lang.String height,
boolean enabled)
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()