|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.xpshared.htmlelements.DisplayOptions
public class DisplayOptions
This helper class contains the display options for displaying HTMLElements. These are used throughout the entire HTML tree (usually from HTMLPage down, although sometimes the root of the tree will be another type of HTMLElement). Since the Display Options are set on every HTMLElement, if someone caches an HTMLElement on the session or application, this object will be leaked (retained) until the session or application is cleared. There may also be some multi-threading issues when using a cached HTMLElement for multiple users (the login page Auth Source dropdown is stored on the application), since each user will attempt to set their own Display Options on the cached HTMLElement.
Constructor Summary | |
---|---|
DisplayOptions()
|
Method Summary | |
---|---|
boolean |
GetDo508Checking()
This method returns whether or not to do 508 validity checking for HTMLElements. |
boolean |
GetForceLineBreaksAfterSafeElements()
This method returns whether or not to use line breaks after elements where it does not affect the HTML output. |
java.lang.String |
GetImgBaseUrl()
Call this method to obtain the base url used for all HTMLImg objects being displayed |
boolean |
GetIsNetscape()
This method returns whether or not the browser is Netscape. |
java.lang.String |
GetLang()
Get the value of the lang attribute. |
java.lang.String |
GetStyleClassPrefix()
This method returns the style class prefix used for all HTMLElement objects being displayed. |
void |
SetDo508Checking(boolean b)
This method sets whether or not to do 508 validity checking for HTMLElements. |
void |
SetForceLineBreaksAfterSafeElements(boolean b)
This method controls whether or not to use line breaks after elements where it does not affect the HTML output. |
void |
SetImgBaseUrl(java.lang.String s)
Call this method to set the base url used for all HTMLImg objects being displayed. |
void |
SetIsNetscape(boolean b)
This method sets whether or not the browser is Netscape. |
void |
SetLang(java.lang.String s)
Set the value of the lang attribute. |
void |
SetStyleClassPrefix(java.lang.String s)
Call this method to set the style class prefix used for all HTMLElement objects being displayed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DisplayOptions()
Method Detail |
---|
public java.lang.String GetImgBaseUrl()
public void SetImgBaseUrl(java.lang.String s)
s
- Pass a base url string. It should look something like:
"http://blah/".public void SetLang(java.lang.String s)
s
- String valuepublic java.lang.String GetLang()
public void SetIsNetscape(boolean b)
b
- boolean true implies the browser is Netscapepublic boolean GetIsNetscape()
public void SetForceLineBreaksAfterSafeElements(boolean b)
b
- boolean true implies use line breaks.public boolean GetForceLineBreaksAfterSafeElements()
public java.lang.String GetStyleClassPrefix()
public void SetStyleClassPrefix(java.lang.String s)
s
- Pass a base url string. It should look something like:
"http://blah/".public void SetDo508Checking(boolean b)
b
- boolean true implies enforce 508 validity.public boolean GetDo508Checking()
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |