|
SAP NetWeaver 7.31 (SP01) KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.wcm.control.util.property.PropertyColumnFactory
public class PropertyColumnFactory
Copyright 2004 SAP AG
| Field Summary | |
|---|---|
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
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
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
| Method Detail |
|---|
public static PropertyColumnFactory getInstance()
public static PropertyColumnFactory getInstance(PropertyColumnType propertyColumnType)
public IPropertyColumn[] parseProperty(String propertyColumnString)
propertyColumnString - Description of the param
public IPropertyPosition getPosition(IPropertyColumn propertyColumn)
propertyColumn - Description of the param
public IPropertyModifier getModifierByName(IPropertyColumn propertyColumn,
String modifierName,
IMetaName metaName)
propertyColumn - Description of the parammodifierName - Modifier NamemetaName - Description of the Parameter
public int[] getPaddingsValues(IPropertyColumn propertyColumn,
IMetaName metaName)
propertyColumn - Description of the parammetaName - Description of the Parameter
public String getModifierValue(IPropertyColumn propertyColumn,
IMetaName metaName,
String modifierName)
public com.sapportals.htmlb.enums.CellHAlign getHAlign(IPropertyColumn propertyColumn)
propertyColumn - Description of the param
public boolean containsMetaName(IPropertyColumn[] propertyColumns,
String metaNameID)
propertyColumn - Description of the param
public boolean containsMetaName(IPropertyColumn propertyColumn,
String metaNameID)
propertyColumn - Description of the param
public com.sapportals.htmlb.enums.CellVAlign getVAlign(IPropertyColumn propertyColumn)
propertyColumn - Description of the param
public String getColumnPropertyString(IPropertyColumn[] columns)
columns - Description of the param
public IPropertyColumn getPropertyColumn(String columnString)
columnString - Description of the param
public String getColumnString(IPropertyColumn column)
getPropertyColumn(String)
column - Description of the param
public IPropertyWithModifiers getPropertyWithModifier(String columnString)
columnString - Description of the param
public String getPropertyString(IPropertyWithModifiers prop)
prop - Description of the param
public IPropertyModifierList getModifierList(String columnString)
public IPropertyModifierList getModifierList(String columnString,
String mod_separator)
public Hashtable getModifiersAsHashtable(String modifiersStr)
public String getPropertyPositionString(IPropertyPositionModifier mod)
public String getModifierString(IPropertyModifierList modifierList)
getModifierList(String)
modifierList - Description of the param
public 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 Parameter
public IPropertyModifier getPropertyModifier(String key)
key - Description of the param
public 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 param
public IPropertyPaddingModifier getPropertyPaddingModifier(String key,
int padding)
key - Description of the parampadding - Description of the Parameter
public 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 param
public IPropertyWithModifiers getPropertyWithModifiers(IMetaName metaName,
IPropertyModifierList propertyModifierList)
metaName - Description of the parampropertyModifierList - Description of the param
public IPropertyWithModifiersList newPropertyWithModifiersList()
public IPropertyModifierList newPropertyModifierList()
public IPropertyColumn getPropertyColum(IPropertyWithModifiersList propertyModifierList,
String[] separator)
propertyModifierList - Description of the paramseparator - Description of the param
public IPropertyNameList getPropertyNameList(IPropertyColumn[] propertyColumn)
propertyColumn - Description of the param
public static int getNoOfColumn(IPropertyColumn[] iterColumns,
int defaultNo)
iterColumns - Description of the ParameterdefaultNo - Description of the Parameter
public ArrayList checkInvalidModifiers(String propertyColumnString)
propertyColumnString - Description of the param
public ArrayList checkInvalidMetaNames(String propertyColumnString)
propertyColumnString - Description of the param
public 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
|
|
SAP NetWeaver 7.31 (SP01) KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||