public class HtmlRendererUtil extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CLASS_STYLE_DARK |
static String |
CLASS_STYLE_LIGHT |
static String |
CLASS_STYLE_LINE |
static String |
CLASS_STYLE_TRANSPARENT |
static com.sapportals.htmlb.enums.CellVAlign |
FLEXUI_VERTICAL_ALIGN |
static String |
LINK_BLANK_TARGET |
static String |
PADDING_BOTTOM |
static String |
PADDING_STRING |
static String |
PADDING_TOP |
static Hashtable |
propertyColumnHeaderMap |
Modifier and Type | Method and Description |
---|---|
static String |
getHeaderClassStyle(String parameterName)
Returns the classStyle for Header for a given configurated parameter
|
static String[] |
getPaddings(IModifierList modifiersList)
Returns a padding style string as : ";padding: top right bottom left" from
configured property for a given IMetaName
|
static String |
getPaddingText(int top,
int right,
int bottom,
int left)
Returns a padding style string as : ";padding: top right bottom left"
|
static String |
getPropertyPadding(IModifierList modifiersList)
Returns a padding style string as : ";padding: top right bottom left" from
configured property for a given IMetaName
|
static String |
getPropertyPadding(IPropertyColumn propertyColumn,
IMetaName metaName)
Returns a padding style string as : ";padding: top right bottom left" from
configured property for a given IMetaName
|
static String[] |
getPropertyPaddingValues(int top,
int right,
int bottom,
int left)
Returns a padding values as an array of String from
configured property for a given IMetaName
|
static String[] |
getPropertyPaddingValues(IPropertyColumn propertyColumn,
IMetaName metaName)
Returns a padding values as an array of String from
configured property for a given IMetaName
|
static com.sapportals.htmlb.HTMLFragment |
importStyles() |
static com.sapportals.htmlb.HTMLFragment |
renderEmptySpace() |
static com.sapportals.htmlb.Component |
renderLineSeparator(String classStyle,
int height)
Renders a line separator for a given classStyle and a givven height
|
static com.sapportals.htmlb.Component |
renderVerticalLineSeparator(String classStyle,
int width) |
public static final String CLASS_STYLE_DARK
public static final String CLASS_STYLE_LIGHT
public static final String CLASS_STYLE_LINE
public static final String CLASS_STYLE_TRANSPARENT
public static final String PADDING_TOP
public static final String PADDING_BOTTOM
public static final String PADDING_STRING
public static Hashtable propertyColumnHeaderMap
public static final String LINK_BLANK_TARGET
public static final com.sapportals.htmlb.enums.CellVAlign FLEXUI_VERTICAL_ALIGN
public static com.sapportals.htmlb.HTMLFragment renderEmptySpace()
public static com.sapportals.htmlb.Component renderLineSeparator(String classStyle, int height)
classStyle
- height
- public static com.sapportals.htmlb.Component renderVerticalLineSeparator(String classStyle, int width)
public static String getPaddingText(int top, int right, int bottom, int left)
top
- right
- bottom
- left
- public static String getPropertyPadding(IPropertyColumn propertyColumn, IMetaName metaName)
propertyColumn
- metaName
- public static String getPropertyPadding(IModifierList modifiersList)
modifiersList
- public static String[] getPaddings(IModifierList modifiersList)
modifiersList
- public static String[] getPropertyPaddingValues(int top, int right, int bottom, int left)
top
- right
- bottom
- left
- public static String[] getPropertyPaddingValues(IPropertyColumn propertyColumn, IMetaName metaName)
propertyColumn
- metaName
- public static String getHeaderClassStyle(String parameterName)
parameterName
- Description of the Parameterpublic static com.sapportals.htmlb.HTMLFragment importStyles()
Access Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] KMC-CM
|
[sap.com]
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2018 SAP AG Complete Copyright Notice