|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.uiinfrastructure.form.status.StatusView
public class StatusView
This class contains the HTML and Javascript for placing a status bar into your HTML. While it implements IView, this class does not need to be loaded into an AS in the traditional manner. Plenty of static methods allow you to insert this code into your existing DPs and Views as an optional/external component.
Field Summary | |
---|---|
protected AActivitySpace |
m_asOwner
|
static java.lang.String |
STR_MVC_CLASS_NAME
|
Constructor Summary | |
---|---|
StatusView()
|
Method Summary | |
---|---|
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. |
static HTMLElement |
GetDisplay(java.lang.String strLang)
Alternative way to get the display from this view without the need to create an instance of it. |
static HTMLScript |
GetDisplayJavascript(boolean bIsSecureSpace)
Alternative way to get the Javascript from this view without the need to create an instance of it. |
static java.lang.String |
GetJSShowStatusInBody()
Gets the Javascript method that shows the status bar in place of the body. |
static java.lang.String |
GetJSShowStatusInBodyRestricted(java.lang.String strRepostArgument,
int[] aRepostValues,
java.lang.String strSpacing)
Returns the method from GetJSShowStatusInBody but additionally wraps it in a check that makes sure the the repost argument is one of the values in the repost values. |
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
protected AActivitySpace m_asOwner
Constructor Detail |
---|
public StatusView()
Method Detail |
---|
public void Init(IModelRO model, AActivitySpace parent)
IView
Init
in interface IView
public java.lang.String GetName()
IMVCObject
GetName
in interface IMVCObject
public java.lang.Object Create()
IManagedObject
Create
in interface IManagedObject
public HTMLElement Display()
IView
Display
in interface IView
public HTMLScript DisplayJavascript()
IView
DisplayJavascript
in interface IView
public static HTMLElement GetDisplay(java.lang.String strLang)
IView.Display()
public static HTMLScript GetDisplayJavascript(boolean bIsSecureSpace)
IView.DisplayJavascript()
public static java.lang.String GetJSShowStatusInBody()
public static java.lang.String GetJSShowStatusInBodyRestricted(java.lang.String strRepostArgument, int[] aRepostValues, java.lang.String strSpacing)
strRepostArgument
- The argument that should contain your value.aRepostValues
- The values to check your argument against.strSpacing
- Optional spacing for formatting purposes.
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |