|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.uiinfrastructure.form.AFormDP com.plumtree.uiinfrastructure.editor.EditorDP
public abstract class EditorDP
This is class is used to print out the form tag, some hidden input and the postToSelf Javascript function. Editor display pages should extend this class.
Field Summary | |
---|---|
protected EditorAS |
m_asOwner
JF- Associated AS class. |
Fields inherited from class com.plumtree.uiinfrastructure.form.AFormDP |
---|
GET, HTMLFORM_NAME, JAVASCRIPT_SETUP_FOR_SUBMIT_TO_CONTROL, JAVASCRIPT_SUBMIT_FORM, JAVASCRIPT_SUBMIT_TO_CONTROL, MULTIPART_ENCODING, POST |
Constructor Summary | |
---|---|
EditorDP()
|
Method Summary | |
---|---|
void |
AddScriptToHead(HTMLScript _script)
Add some JavaScript dynamically to this DP. |
HTMLTable |
CreateContentTable(HTMLElement _Views,
java.lang.String _sSubHeaderTitle)
Creates the content table without the left nav bar. |
HTMLTable |
CreateLeftNavBar(HTMLElement _Views)
Creates a table with the left nav bar and puts innerElement next to the left nav bar. |
HTMLElementCollection |
DisplayHTMLBeforeForm()
This is a method that classes extending this one can over write. |
protected HTMLScriptCollection |
DisplayJavaScriptFromChild()
Display the Javascripts for the Views. |
protected java.lang.String |
GetEditorHeaderViewName()
This is a hook to allow editors to supply a different header view if necessary. |
java.lang.String |
GetFormTitle()
Returns the Browser title. |
protected HTMLElement |
GetHTMLBelowSubHeader()
Implement this method to add HTML below the sub header. |
abstract java.lang.String |
GetLeftNavString()
Returns the String to display on the left navigation menu, linking to that page. |
abstract java.lang.String |
GetName()
Returns the Class name. |
AActivitySpace |
GetOwner()
Returns the associated activity space class. |
java.lang.String |
GetPageTitle()
Returns the page title. |
void |
Init(AActivitySpace parent)
Inits the class with the associated activity space passed in argument. |
HTMLElement |
PageDisplay()
Returns the HTML for that Page. |
void |
SetContentTableCellSpacing(java.lang.String _sContentTableCellSpacing)
This method lets you set the cellspacing value for the content table. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected EditorAS m_asOwner
Constructor Detail |
---|
public EditorDP()
Method Detail |
---|
public abstract java.lang.String GetLeftNavString()
public abstract java.lang.String GetName()
GetName
in interface IMVCObject
GetName
in class AFormDP
IMVCObject.GetName()
public void AddScriptToHead(HTMLScript _script)
_script
- the script to add to the pagepublic HTMLTable CreateContentTable(HTMLElement _Views, java.lang.String _sSubHeaderTitle)
_Views
- _sSubHeaderTitle
- Title for the sub header. Pass in null if you
don't want the sub header. Warning: if you pass in null, any
code from GetHTMLBelowSubHeader will not be displayed either.
public HTMLTable CreateLeftNavBar(HTMLElement _Views)
_Views
-
public HTMLElementCollection DisplayHTMLBeforeForm()
AFormDP
DisplayHTMLBeforeForm
in class AFormDP
AFormDP.DisplayHTMLBeforeForm()
public java.lang.String GetFormTitle()
GetFormTitle
in class AFormDP
public java.lang.String GetPageTitle()
public AActivitySpace GetOwner()
GetOwner
in interface IDisplayPage
GetOwner
in class AFormDP
IDisplayPage.GetOwner()
public void Init(AActivitySpace parent)
Init
in interface IDisplayPage
Init
in class AFormDP
parent
- IDisplayPage.Init(AActivitySpace)
public HTMLElement PageDisplay()
PageDisplay
in class AFormDP
com.plumtree.uiinfrastructure.activityspace.AFormDP#PageDisplay(HTMLTableRow)
protected java.lang.String GetEditorHeaderViewName()
public void SetContentTableCellSpacing(java.lang.String _sContentTableCellSpacing)
_sContentTableCellSpacing
- protected HTMLScriptCollection DisplayJavaScriptFromChild()
DisplayJavaScriptFromChild
in class AFormDP
protected HTMLElement GetHTMLBelowSubHeader()
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |