com.plumtree.portalpages.common.createfolder
Class CreateFolderDP

java.lang.Object
  extended by com.plumtree.uiinfrastructure.form.AFormDP
      extended by com.plumtree.portalpages.common.createfolder.CreateFolderDP
All Implemented Interfaces:
IDisplayPage, IMVCObject

public class CreateFolderDP
extends AFormDP

Author:
StephenC

Field Summary
static java.lang.String QS_PARENT_FOLDER
           
static java.lang.String STR_MVC_CLASS_NAME
           
 
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, m_asOwner, MULTIPART_ENCODING, POST
 
Constructor Summary
CreateFolderDP()
           
 
Method Summary
protected  HTMLScriptCollection DisplayJavaScriptFromChild()
          Display the Javascripts for the Views.
 boolean GetCloseOnCancel()
          This is a helper method that determines whether or not cancels should close the window immediately.
 FormPageTypes GetFormPageType()
          This method returns the current page type.
 java.lang.String GetFormTitle()
          This is a helper method that all classes that inherit from AFormDP need to implement.
 java.lang.String GetName()
          Return the name of the MVC object.
 void Init(AActivitySpace parent)
          Initialize the Display Page.
 HTMLElement PageDisplay()
          This is a helper method that all classes that inherit from AFormDP need to implement.
 
Methods inherited from class com.plumtree.uiinfrastructure.form.AFormDP
AddToValidationFunction, Display, DisplayForm, DisplayHTMLAfterForm, DisplayHTMLBeforeForm, DisplayHTMLinHEAD, DisplayJavascript, Get508RepostURL, GetOnLoad, GetOwner, GetRepostControlName, GetRepostTypeIsPost, GetStatusViewEnabled, GetStatusViewRepostValues, GetUseJavascript, GetWindowFocusEnabled, InsertJavascriptBeforeFormSubmit, PartialContentDisplay, RemoveFromValidationFunction, SetMultiPartEncoding, SetShow508FormFooter, SetStatusViewEnabled, SetStatusViewRepostValues
 
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

QS_PARENT_FOLDER

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

CreateFolderDP

public CreateFolderDP()
Method Detail

GetFormTitle

public java.lang.String GetFormTitle()
Description copied from class: AFormDP
This is a helper method that all classes that inherit from AFormDP need to implement. The method should return the title that should be displayed in the window TITLE element as well as on the form header bar, if displayed. The String returned by this method needs to already be HTML Encoded for safe display.

Specified by:
GetFormTitle in class AFormDP
Returns:
String the HTML Encoded title for the form header
See Also:
AFormDP.GetFormTitle()

GetName

public java.lang.String GetName()
Description copied from interface: IMVCObject
Return the name of the MVC object.

Specified by:
GetName in interface IMVCObject
Specified by:
GetName in class AFormDP
Returns:
the name of the object.
See Also:
IMVCObject.GetName()

Init

public void Init(AActivitySpace parent)
Description copied from interface: IDisplayPage
Initialize the Display Page.

Specified by:
Init in interface IDisplayPage
Overrides:
Init in class AFormDP
See Also:
IDisplayPage.Init(AActivitySpace)

PageDisplay

public HTMLElement PageDisplay()
Description copied from class: AFormDP
This is a helper method that all classes that inherit from AFormDP need to implement. The method should add whatever HTML the child class wants to display to the body argument. The parent class will then add that HTML to the HTMLPage after filling in the banner and navigation.

Specified by:
PageDisplay in class AFormDP
Returns:
HTMLElement the HTML to put inside the form
See Also:
AFormDP.PageDisplay()

DisplayJavaScriptFromChild

protected HTMLScriptCollection DisplayJavaScriptFromChild()
Display the Javascripts for the Views.

Overrides:
DisplayJavaScriptFromChild in class AFormDP
Returns:
HTMLScriptCollection
Throws:
HTMLException

GetFormPageType

public FormPageTypes GetFormPageType()
Description copied from class: AFormDP
This method returns the current page type. Override this method to display a different page type (small pop-up, etc...) This gets called at Init() time. Default has no buttons on the form.

Overrides:
GetFormPageType in class AFormDP
Returns:
FormPageTypes the type of the page to display
See Also:
AFormDP.GetFormPageType()

GetCloseOnCancel

public boolean GetCloseOnCancel()
Description copied from class: AFormDP
This is a helper method that determines whether or not cancels should close the window immediately. This is useful in the case of pop up windows, where you don't need to know anything unless the user presses finish. In this case, cancel should just call window.close(); Override this method to immediately close the pop ups.

Overrides:
GetCloseOnCancel in class AFormDP
Returns:
boolean true implies close the window immediately on cancel
See Also:
AFormDP.GetCloseOnCancel()



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