public class PropertyColumnFactory extends Object implements com.sapportals.config.event.IConfigEventListener
| Modifier and Type | Field and Description |
|---|---|
static com.sapportals.htmlb.enums.CellVAlign |
DEFAULT_VALIGN |
static String |
END_MODIFIER_LIST |
static String |
END_POSITION_MODIFIER |
static String |
MODIFIER_SEPARATOR |
static String |
PROPERTY_COLUMN_SEPARATOR |
static String |
PROPERTY_DIFFRENT_LINES |
static String |
PROPERTY_SAME_LINE |
static String |
SEPARATOR_PADDING |
static String |
SEPARATOR_POSITION |
static String |
SEPARATOR_SAME_POSITION |
static String |
START_MODIFIER_LIST |
static String |
START_POSITION_MODIFIER |
static String[] |
validFlexUIModifiersNames |
static String[] |
validSearchModifiersNames |
| Modifier and Type | Method and Description |
|---|---|
ArrayList |
checkInvalidMetaNames(String propertyColumnString)
Check if the inputed modifiers are valid
|
ArrayList |
checkInvalidModifiers(String propertyColumnString)
Check if the inputed modifiers are valid
|
void |
configEvent(com.sapportals.config.event.ConfigEvent parm1)
is called by the configuration, if configuration for the factory was
changed.
|
boolean |
containsMetaName(IPropertyColumn[] propertyColumns,
String metaNameID)
Checks if the IPropertyColumn[] contains a certain IMetaName id
|
boolean |
containsMetaName(IPropertyColumn propertyColumn,
String metaNameID)
Checks if the IPropertyColumn contains a certain IMetaName id
|
String |
getColumnPropertyString(IPropertyColumn[] columns)
returns a string with all columns and properties as needed for the
rndPropertyColumns parameter whithin the rendering
|
String |
getColumnString(IPropertyColumn column)
returns the string representation of a single column.
|
String |
getConfigListenerId()
Gets the configListenerId attribute of the UICommandFactory object
|
com.sapportals.htmlb.enums.CellHAlign |
getHAlign(IPropertyColumn propertyColumn)
Gets the hAlign attribute of the PropertyColumnFactory object
|
static PropertyColumnFactory |
getInstance() |
static PropertyColumnFactory |
getInstance(PropertyColumnType propertyColumnType) |
IPropertyModifier |
getModifierByName(IPropertyColumn propertyColumn,
String modifierName,
IMetaName metaName)
Gets the property modifier for a given name from the Property Column If
IMetaName is null than it takes the first found modifier
|
IPropertyModifierList |
getModifierList(String columnString) |
IPropertyModifierList |
getModifierList(String columnString,
String mod_separator) |
Hashtable |
getModifiersAsHashtable(String modifiersStr) |
String |
getModifierString(IPropertyModifierList modifierList)
returns a string representing all modifiers contained in the specified
array.
|
String |
getModifierString(IPropertyModifierList modifierList,
String start_modifier_list,
String end_modifier_list,
String modifier_separator)
returns a string representing all modifiers contained in the specified
array.
|
String |
getModifierValue(IPropertyColumn propertyColumn,
IMetaName metaName,
String modifierName) |
static int |
getNoOfColumn(IPropertyColumn[] iterColumns,
int defaultNo)
Returns the number of columns for a given IPropertyColumn[]
|
int[] |
getPaddingsValues(IPropertyColumn propertyColumn,
IMetaName metaName)
Gets the padding values for a given IMetaName from the Property Column
|
IPropertyPosition |
getPosition(IPropertyColumn propertyColumn)
Gets the position attribute of the PropertyColumnFactory object
|
IPropertyColumn |
getPropertyColum(IPropertyWithModifiersList propertyModifierList,
String[] separator)
Gets the propertyColum attribute of the PropertyColumnFactory object
|
IPropertyColumn |
getPropertyColumn(String columnString)
Gets the propertyColumn attribute of the PropertyColumnFactory object
|
IPropertyModifier |
getPropertyModifier(String key)
Gets the propertyModifier attribute of the PropertyColumnFactory object
|
IPropertyNameList |
getPropertyNameList(IPropertyColumn[] propertyColumn)
Parse the propertyColumn searching all the MetaNames and return a list with
Property Names provived this MetaNames In additional, property name for the
Meta Name with ID rnd:contentLink is included in the list;
|
IPropertyPaddingModifier |
getPropertyPaddingModifier(String key,
int padding)
Gets the propertyModifier attribute of the PropertyColumnFactory object
|
IPropertyPosition |
getPropertyPosition(int row,
int spanRow,
int column,
int spanColumn)
Gets the propertyModifier attribute of the PropertyColumnFactory object
|
IPropertyModifier |
getPropertyPositionModifier(int row,
int spanRow,
int column,
int spanColumn)
Gets the propertyModifier attribute of the PropertyColumnFactory object
|
String |
getPropertyPositionString(IPropertyPositionModifier mod) |
String |
getPropertyString(IPropertyWithModifiers prop)
returns a String representation of a property with its modifiers.
|
IPropertyWithModifiers |
getPropertyWithModifier(String columnString)
Gets the propertyWithModifier attribute of the PropertyColumnFactory object
|
IPropertyWithModifiers |
getPropertyWithModifiers(IMetaName metaName,
IPropertyModifierList propertyModifierList)
Gets the propertyWithModifiers attribute of the PropertyColumnFactory
object
|
IStringValueModifier |
getStringValueModifier(String name,
String value) |
String[] |
getValidModifierNames() |
com.sapportals.htmlb.enums.CellVAlign |
getVAlign(IPropertyColumn propertyColumn)
Gets the hAlign attribute of the PropertyColumnFactory object
|
IPropertyModifierList |
newPropertyModifierList()
Description of the Method
|
IPropertyWithModifiersList |
newPropertyWithModifiersList()
Description of the Method
|
IPropertyColumn[] |
parseProperty(String propertyColumnString)
Description of the Method
|
public static final String PROPERTY_SAME_LINE
public static final String PROPERTY_DIFFRENT_LINES
public static final String PROPERTY_COLUMN_SEPARATOR
public static final String START_MODIFIER_LIST
public static final String END_MODIFIER_LIST
public static final String MODIFIER_SEPARATOR
public static final com.sapportals.htmlb.enums.CellVAlign DEFAULT_VALIGN
public static final String START_POSITION_MODIFIER
public static final String END_POSITION_MODIFIER
public static final String SEPARATOR_SAME_POSITION
public static final String SEPARATOR_POSITION
public static final String SEPARATOR_PADDING
public static final String[] validFlexUIModifiersNames
public static final String[] validSearchModifiersNames
public static PropertyColumnFactory getInstance()
public static PropertyColumnFactory getInstance(PropertyColumnType propertyColumnType)
public IPropertyColumn[] parseProperty(String propertyColumnString)
propertyColumnString - Description of the parampublic IPropertyPosition getPosition(IPropertyColumn propertyColumn)
propertyColumn - Description of the parampublic IPropertyModifier getModifierByName(IPropertyColumn propertyColumn, String modifierName, IMetaName metaName)
propertyColumn - Description of the parammodifierName - Modifier NamemetaName - Description of the Parameterpublic int[] getPaddingsValues(IPropertyColumn propertyColumn, IMetaName metaName)
propertyColumn - Description of the parammetaName - Description of the Parameterpublic String getModifierValue(IPropertyColumn propertyColumn, IMetaName metaName, String modifierName)
public com.sapportals.htmlb.enums.CellHAlign getHAlign(IPropertyColumn propertyColumn)
propertyColumn - Description of the parampublic boolean containsMetaName(IPropertyColumn[] propertyColumns, String metaNameID)
propertyColumns - Description of the parammetaNameID - public boolean containsMetaName(IPropertyColumn propertyColumn, String metaNameID)
propertyColumn - Description of the parampublic com.sapportals.htmlb.enums.CellVAlign getVAlign(IPropertyColumn propertyColumn)
propertyColumn - Description of the parampublic String getColumnPropertyString(IPropertyColumn[] columns)
columns - Description of the parampublic IPropertyColumn getPropertyColumn(String columnString)
columnString - Description of the parampublic String getColumnString(IPropertyColumn column)
getPropertyColumn(String) column - Description of the parampublic IPropertyWithModifiers getPropertyWithModifier(String columnString)
columnString - Description of the parampublic String getPropertyString(IPropertyWithModifiers prop)
prop - Description of the parampublic IPropertyModifierList getModifierList(String columnString)
public IPropertyModifierList getModifierList(String columnString, String mod_separator)
public String getPropertyPositionString(IPropertyPositionModifier mod)
public String getModifierString(IPropertyModifierList modifierList)
getModifierList(String) modifierList - Description of the parampublic String getModifierString(IPropertyModifierList modifierList, String start_modifier_list, String end_modifier_list, String modifier_separator)
getModifierList(String) modifierList - Description of the paramstart_modifier_list - Description of the Parameterend_modifier_list - Description of the Parametermodifier_separator - Description of the Parameterpublic IPropertyModifier getPropertyModifier(String key)
key - Description of the parampublic IPropertyModifier getPropertyPositionModifier(int row, int spanRow, int column, int spanColumn)
row - Description of the paramspanRow - Description of the paramcolumn - Description of the paramspanColumn - Description of the parampublic IPropertyPaddingModifier getPropertyPaddingModifier(String key, int padding)
key - Description of the parampadding - Description of the Parameterpublic IStringValueModifier getStringValueModifier(String name, String value)
public String[] getValidModifierNames()
public IPropertyPosition getPropertyPosition(int row, int spanRow, int column, int spanColumn)
row - Description of the paramspanRow - Description of the paramcolumn - Description of the paramspanColumn - Description of the parampublic IPropertyWithModifiers getPropertyWithModifiers(IMetaName metaName, IPropertyModifierList propertyModifierList)
metaName - Description of the parampropertyModifierList - Description of the parampublic IPropertyWithModifiersList newPropertyWithModifiersList()
public IPropertyModifierList newPropertyModifierList()
public IPropertyColumn getPropertyColum(IPropertyWithModifiersList propertyModifierList, String[] separator)
propertyModifierList - Description of the paramseparator - Description of the parampublic IPropertyNameList getPropertyNameList(IPropertyColumn[] propertyColumn)
propertyColumn - Description of the parampublic static int getNoOfColumn(IPropertyColumn[] iterColumns, int defaultNo)
iterColumns - Description of the ParameterdefaultNo - Description of the Parameterpublic ArrayList checkInvalidModifiers(String propertyColumnString)
propertyColumnString - Description of the parampublic ArrayList checkInvalidMetaNames(String propertyColumnString)
propertyColumnString - Description of the parampublic void configEvent(com.sapportals.config.event.ConfigEvent parm1)
ConfigEvent.CONFIGURABLE_LOADED or
ConfigEvent.CONFIGMANAGER_TERMINATED, the factory deletes
all its entries and reloads the configuration, creating all commands anew.configEvent in interface com.sapportals.config.event.IConfigEventListenerparm1 - the event raised by the configurationpublic String getConfigListenerId()
getConfigListenerId in interface com.sapportals.config.event.IConfigEventListener| 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 2021 SAP SE Complete Copyright Notice