|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.portalpages.common.areyousure.AYSMessageView
public class AYSMessageView
Field Summary | |
---|---|
static java.lang.String |
HTMLBUTTON_CANCEL
HTML Object name: close button |
static java.lang.String |
HTMLBUTTON_OK
HTML Object name: ok button |
static java.lang.String |
STR_MVC_CLASS_NAME
Class name for the activity space |
Constructor Summary | |
---|---|
AYSMessageView()
|
Method Summary | |
---|---|
protected void |
AddLineBreaks(HTMLElement myElement,
int nNumBreaks)
Helper method to add a BR tag to another element. |
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. |
HTMLScript |
DisplayJavascript()
This method returns the HTMLScript that encompasses the Javascript on the page. |
HTMLElement |
DisplayMessage(AYSMessage aysmIn)
Default implementation which simply displays and Are You Sure message |
HTMLElement |
DisplayMessages(java.lang.String strTitle,
java.lang.String strSubTitle,
XPArrayList xpalMessages,
int nAYSMessageTypeToDisplay)
Displays all of the AYSMessages in xpalMessages or nothing if there are no messages. |
protected HTMLImg |
GetHTMLForIcon(PTImageType _imgRowIcon)
Helper method to get the HTML for the icon. |
java.lang.String |
GetName()
Return the name of the MVC object. |
void |
Init(IModelRO model,
AActivitySpace parent)
This method initializes the View with the read only model interface it is supposed to draw it's data from as well as it's parent ActivitySpace (necessary to create URLS). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String STR_MVC_CLASS_NAME
public static final java.lang.String HTMLBUTTON_CANCEL
public static final java.lang.String HTMLBUTTON_OK
Constructor Detail |
---|
public AYSMessageView()
Method Detail |
---|
public java.lang.Object Create()
IManagedObject
Create
in interface IManagedObject
IManagedObject.Create()
public HTMLElement Display()
IView
Display
in interface IView
IView.Display()
public HTMLScript DisplayJavascript()
IView
DisplayJavascript
in interface IView
IView.DisplayJavascript()
public HTMLElement DisplayMessages(java.lang.String strTitle, java.lang.String strSubTitle, XPArrayList xpalMessages, int nAYSMessageTypeToDisplay)
strTitle
- strSubTitle
- xpalMessages
-
public HTMLElement DisplayMessage(AYSMessage aysmIn)
public java.lang.String GetName()
IMVCObject
GetName
in interface IMVCObject
IMVCObject.GetName()
public void Init(IModelRO model, AActivitySpace parent)
IView
Init
in interface IView
IView.Init(IModelRO, AActivitySpace)
protected void AddLineBreaks(HTMLElement myElement, int nNumBreaks)
protected HTMLImg GetHTMLForIcon(PTImageType _imgRowIcon)
java.lang.Exception
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |