|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.plumtree.taskapi.portalui.TaskAPIUIHTML
public class TaskAPIUIHTML
HTML Related TaskAPI functions.
| Constructor Summary | |
|---|---|
TaskAPIUIHTML()
|
|
| Method Summary | |
|---|---|
static void |
CreateHorizontalSpacerCell(HTMLTableRow myTableRow)
Adds a spacer cell with a cell width of 4to the specified HTMLTableRow |
static HTMLInput |
CreateInputToCell(HTMLTableCell e,
HTMLInputTypes type,
java.lang.String inputName,
java.lang.String alt)
|
static HTMLSpan |
CreateSpanToCell(HTMLTableCell e,
PTStyleClass style,
java.lang.String content)
|
static HTMLTable |
CreateTable(HTMLElement e,
int padding,
int spacing,
java.lang.String width)
|
static HTMLTableCell |
CreateTableCell(HTMLTableRow e,
PTStyleClass style)
|
static HTMLTableCell |
CreateTableCell(HTMLTableRow e,
PTStyleClass style,
int height,
java.lang.String width)
|
static HTMLTableCell |
CreateTableCell(HTMLTableRow e,
java.lang.String style)
|
static HTMLTableCell |
CreateTableCell(HTMLTableRow e,
java.lang.String style,
int height,
java.lang.String width)
|
static HTMLTableCell |
CreateTableCell(HTMLTableRow e,
java.lang.String value,
PTStyleClass style,
int height,
java.lang.String width)
|
static HTMLTableCell |
CreateTableCell(HTMLTableRow e,
java.lang.String value,
java.lang.String style,
int height,
java.lang.String width)
|
static HTMLTableRow |
CreateTableRow(HTMLTable e,
PTStyleClass style)
|
static HTMLTableRow |
CreateTableRow(HTMLTable e,
java.lang.String style)
|
static HTMLImg |
GetImageConstruct(AActivitySpace owner,
PTConstructType construct)
Gets an HTML Image element for the specified Plumtree Image Construct. |
static HTMLImg |
GetSpacerImage(java.lang.String strWidth,
java.lang.String strHeight)
Gets a blank spacer image element with the specified width and height. |
static java.lang.String |
HTMLDecode(java.lang.String strValue)
Returns a decoded version of the input string, assuming it was a valid HTML encoding. |
static java.lang.String |
HTMLEncode(java.lang.String strValue)
Returns an HTML-encoded version of the input string, or empty string if input is null. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TaskAPIUIHTML()
| Method Detail |
|---|
public static void CreateHorizontalSpacerCell(HTMLTableRow myTableRow)
myTableRow - HTMLTableRow to add the spacer cell to
public static HTMLImg GetImageConstruct(AActivitySpace owner,
PTConstructType construct)
owner - Current Activityspace.construct - A Plumtree Image Construct.
public static HTMLImg GetSpacerImage(java.lang.String strWidth,
java.lang.String strHeight)
strWidth - Width value that goes directly into the width attribute in the HTML img element.strHeight - Height value that goes directly into the width attribute in the HTML img element.
public static java.lang.String HTMLEncode(java.lang.String strValue)
strValue - a string of characters to encode for use as HTML text.
null.public static java.lang.String HTMLDecode(java.lang.String strValue)
strValue - the string to decode.
XPNullPointerException - if input is null.
XPUnsupportedEncodingException - if an invalid ampersand escape is found.
public static HTMLTable CreateTable(HTMLElement e,
int padding,
int spacing,
java.lang.String width)
e - Element to add table to, or null to not add it to any elementpadding - Table paddingspacing - Table spacingwidth - Table width (in percentage or pixels) or null if no width is needed
public static HTMLTableRow CreateTableRow(HTMLTable e,
java.lang.String style)
e - Element to add table tostyle - CSS Style for the row or null if no style is needed
public static HTMLTableRow CreateTableRow(HTMLTable e,
PTStyleClass style)
e - Element to add table tostyle - CSS Style for the row or null if no style is needed
public static HTMLTableCell CreateTableCell(HTMLTableRow e,
java.lang.String style)
e - Element to add table tostyle - CSS Style for the row or null if no style is needed
public static HTMLTableCell CreateTableCell(HTMLTableRow e,
PTStyleClass style)
e - Element to add table tostyle - CSS Style for the row or null if no style is needed
public static HTMLTableCell CreateTableCell(HTMLTableRow e,
java.lang.String style,
int height,
java.lang.String width)
e - Element to add table tostyle - CSS Style for the row or null if no style is neededheight - Table cell heightwidth - Table cell width (in percentage or pixels)
public static HTMLTableCell CreateTableCell(HTMLTableRow e,
PTStyleClass style,
int height,
java.lang.String width)
e - Element to add table tostyle - CSS Style for the row or null if no style is neededheight - Table cell heightwidth - Table cell width (in percentage or pixels)
public static HTMLTableCell CreateTableCell(HTMLTableRow e,
java.lang.String value,
java.lang.String style,
int height,
java.lang.String width)
e - Element to add table tostyle - CSS Style for the row or null if no style is neededvalue - Content to add to table cell, string is html encodedheight - Table cell heightwidth - Table cell width (in percentage or pixels)
public static HTMLTableCell CreateTableCell(HTMLTableRow e,
java.lang.String value,
PTStyleClass style,
int height,
java.lang.String width)
e - Element to add table tostyle - CSS Style for the row or null if no style is neededvalue - Content to add to table cell, string is html encodedheight - Table cell heightwidth - Table cell width (in percentage or pixels)
public static HTMLSpan CreateSpanToCell(HTMLTableCell e,
PTStyleClass style,
java.lang.String content)
e - HTMLTableCell element to add span tostyle - CSS Style for the row or null if no style is neededcontent - Content to add to table cell, string is html encoded
public static HTMLInput CreateInputToCell(HTMLTableCell e,
HTMLInputTypes type,
java.lang.String inputName,
java.lang.String alt)
e - HTMLTableCell element to add span totype - Type of input elementinputName - Input namealt - Alt text
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||