|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sap.netweaver.bc.uwl.config.Attribute
com.sap.netweaver.bc.uwl.config.DisplayAttribute
Represents one dislay attribute used in the UWL configuation file. Typically one display attribute maps to one column in the UWL list view.
The display Attribute is created by the standard or custom XLF file (See example)
<DisplayAttribute name="subject" type
="link" width="" sortable="yes" actionRef="viewDetail"
referenceBundle="subject"/>
UWLView,
Serialized Form| Field Summary |
| Fields inherited from class com.sap.netweaver.bc.uwl.config.Attribute |
descriptions |
| Constructor Summary | |
DisplayAttribute(String name,
String typ,
String dName)
Constructor for DisplayAttribute. |
|
| Method Summary | |
Object |
clone()
|
String |
getActionRef()
Used Internaly only |
Action[] |
getActions()
Returns the actions. |
String |
getFormat()
Returns the display date format. |
String |
getHAlign()
Return the HAlignment for the DisplayAttribute CENTER LEFT RIGHT JUSTIFY |
String |
getId()
This is the unique id for the displayAttribute name. |
ImageMapping |
getImageMapping()
This will define a mapping between data and images to be displayed. |
int |
getMaxTextWidth()
Deprecated. Currently no supported in WebDynpro version |
MenuItemCollection |
getMenuItemCollection()
This is the menu items which will be assiociated with this display Attribute. |
Properties |
getProperties()
Returns the properties. |
String |
getReferenceBundle()
Used internaly |
String |
getType()
This is the display attribute type. |
String |
getVAlign()
Returns the desired VAligment for the DisplayAttribute BASELINE BOTTOM MIDDLE TOP |
String |
getWidth()
Returns the width. |
boolean |
isGlobal()
Deprecated. no longer used |
boolean |
isGroupAction()
|
boolean |
isHeaderDisplayable()
Indicates if the Column header should be displayed or not. |
boolean |
isSortable()
Returns if this DisplayAttribute is sortable. |
void |
setActionRef(String string)
Used Internaly only |
void |
setActions(Action[] actions)
|
void |
setFormat(String format)
Sets the display format (Used for date format only). |
void |
setGlobal(boolean b)
Deprecated. no longer used |
void |
setHAlign(String string)
Indicate the HAlignment for the DisplayAttribute CENTER LEFT RIGHT JUSTIFY |
void |
setHeaderDisplayable(boolean b)
|
void |
setImageMapping(ImageMapping mapping)
|
void |
setMaxTextWidth(int i)
Deprecated. Currently no supported in WebDynpro version |
void |
setMenuItemCollection(MenuItemCollection collection)
|
void |
setProperties(Properties properties)
Sets the properties. |
void |
setReferenceBundle(String refBundle)
Used internaly |
void |
setSortable(boolean sortable)
Set if this DisplayAttribute can be sorted. |
void |
setVAlign(String string)
Indicate the Vertical Alignment for the DisplayAttribute BASELINE BOTTOM MIDDLE TOP |
void |
setWidth(String width)
Sets the width. |
| Methods inherited from class com.sap.netweaver.bc.uwl.config.Attribute |
getDescriptions, getDisplayName, getLongText, getName, getShortText, setDescriptions, setName, setType |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DisplayAttribute(String name,
String typ,
String dName)
name - typ - dName - | Method Detail |
public String getId()
Attribute.getName()public String getType()
For the values of the type, refer to DTD documentation or constants from DTDConstants javadoc. Typically one of "double","int","string" etc..
getType in class AttributeAttribute.getType()public Action[] getActions()
public void setActions(Action[] actions)
actions - public Properties getProperties()
public String getWidth()
public void setProperties(Properties properties)
properties - The properties to setpublic void setWidth(String width)
width - The width to setpublic boolean isGroupAction()
public boolean isSortable()
public void setSortable(boolean sortable)
sortable - The sortable to setpublic String getFormat()
short medium long full default
public void setFormat(String format)
short medium long full default
format - The format to setpublic void setActionRef(String string)
string - public String getActionRef()
public Object clone()
throws CloneNotSupportedException
clone in class AttributeCloneNotSupportedExceptionpublic String getHAlign()
CENTER LEFT RIGHT JUSTIFY
public String getVAlign()
BASELINE BOTTOM MIDDLE TOP
public void setHAlign(String string)
CENTER LEFT RIGHT JUSTIFY
string - One of the String indicated abovepublic void setVAlign(String string)
BASELINE BOTTOM MIDDLE TOP
string - One of the String indicated abovepublic void setReferenceBundle(String refBundle)
refBundle - public String getReferenceBundle()
public ImageMapping getImageMapping()
public void setImageMapping(ImageMapping mapping)
mapping - #getDataMappingpublic MenuItemCollection getMenuItemCollection()
public void setMenuItemCollection(MenuItemCollection collection)
collection - public int getMaxTextWidth()
public void setMaxTextWidth(int i)
i - public boolean isGlobal()
public void setGlobal(boolean b)
public boolean isHeaderDisplayable()
public void setHeaderDisplayable(boolean b)
b -
|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||