|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.xpshared.htmlconstructs.ConstructStaticHelpers
public class ConstructStaticHelpers
This class contains static methods that generate HTMLElements.
Field Summary | |
---|---|
static java.lang.String |
BLANK_URL
This should be used whenever you need a blank URL (such as when you have a javascript onClick and the URL should never be called). |
Constructor Summary | |
---|---|
ConstructStaticHelpers()
|
Method Summary | |
---|---|
static HTMLAnchor |
GetJavascriptAnchor(java.lang.String strJavascript)
Static method to create a javascript onclick anchor. |
static HTMLAnchor |
GetJavascriptAnchor(java.lang.String strText,
java.lang.String strJavascript)
Static method to create a javascript onclick anchor. |
static HTMLAnchor |
GetJavascriptAnchorReturnFunctionValue(java.lang.String strText,
java.lang.String strJavascript)
Static method to create a javascript onclick anchor. |
static HTMLAnchor |
GetJavascriptAnchorReturnTrue(java.lang.String strText,
java.lang.String strJavascript)
Static method to create a javascript onclick anchor. |
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 BLANK_URL
Constructor Detail |
---|
public ConstructStaticHelpers()
Method Detail |
---|
public static HTMLAnchor GetJavascriptAnchor(java.lang.String strJavascript)
String
- strJavascript the text for the javascript OnClick method
without trailing semicolon or return (will be added)public static HTMLAnchor GetJavascriptAnchor(java.lang.String strText, java.lang.String strJavascript)
String
- strText the text to be displayed in the AnchorString
- strJavascript the text for the javascript OnClick method
without trailing semicolon or return (will be added)public static HTMLAnchor GetJavascriptAnchorReturnTrue(java.lang.String strText, java.lang.String strJavascript)
String
- strText the text to be displayed in the AnchorString
- strJavascript the text for the javascript OnClick method
without trailing semicolon or return (will be added)public static HTMLAnchor GetJavascriptAnchorReturnFunctionValue(java.lang.String strText, java.lang.String strJavascript)
String
- strText the text to be displayed in the AnchorString
- strJavascript the text for the javascript OnClick method
without trailing semicolon or return (will be added)
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |