|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Web Dynpro BusinessGraphics API. The BusinessGraphics UI element provides several chart types such as vertical bar charts or pie charts, that can be used for the graphical illustration of data and data relationships. In addition, there are more complex chart types such as portfolio and gantt that can help the user of your Web application to make decisions for corporate planning or find information in general.
This type can be called by applications using Web Dynpro, but DO NOT EXTEND OR IMPLEMENT IT!
| Field Summary | |
static java.lang.String |
DEFAULT_BACKGROUND_COLOR
Default value of property backgroundColor. |
static WDBusinessGraphicsType |
DEFAULT_CHART_TYPE
Default value of property chartType. |
static java.lang.String |
DEFAULT_CUSTOMIZING
Default value of property customizing. |
static WDBusinessGraphicsDimension |
DEFAULT_DIMENSION
Default value of property dimension. |
static java.lang.String |
DEFAULT_FONT_FAMILY
Default value of property fontFamily. |
static int |
DEFAULT_HEIGHT
Default value of property height. |
static java.lang.String |
DEFAULT_IGS_URL
Default value of property igsUrl. |
static java.lang.String |
DEFAULT_TRANSPARENT_COLOR
Default value of property transparentColor. |
static int |
DEFAULT_WIDTH
Default value of property width. |
| Fields inherited from interface com.sap.tc.webdynpro.progmodel.api.IWDUIElement |
DEFAULT_ENABLED, DEFAULT_TOOLTIP, DEFAULT_VISIBLE |
| Method Summary | |
void |
addSeries(IWDAbstractSeries aAbstractSeries)
Adds the given Series at the end of the list of SeriesList. |
void |
addSeries(IWDAbstractSeries aAbstractSeries,
int index)
Adds the given Series at the specified index in the list of SeriesList. |
java.lang.String |
bindingOfSeriesSource()
Note: This property must be bound to the context! Binding path of property seriesSource. |
void |
bindSeriesSource(IWDNodeInfo nodeInfo)
Note: This property must be bound to the context! Binds property seriesSource to the context node
specified by the given node info. |
void |
bindSeriesSource(java.lang.String path)
Note: This property must be bound to the context! Binds property seriesSource to the context attribute
specified by path. |
void |
destroyAllSeriesList()
Destroys all entries in the list of SeriesList. |
void |
destroyCategory()
Destroys the Category instance. |
java.lang.String |
getBackgroundColor()
Returns the value of the backgroundColor property. |
IWDCategory |
getCategory()
Gets the Category instance. |
WDBusinessGraphicsType |
getChartType()
Returns the value of the chartType property. |
java.lang.String |
getCustomizing()
Returns the value of the customizing property. |
WDBusinessGraphicsDimension |
getDimension()
Returns the value of the dimension property. |
java.lang.String |
getFontFamily()
Returns the value of the fontFamily property. |
int |
getHeight()
Returns the value of the height property. |
java.lang.String |
getIgsUrl()
Returns the value of the igsUrl property. |
IWDAction |
getOnAction()
Returns the action to which the event onAction is mapped. |
IWDAbstractSeries |
getSeries(int index)
Returns the Series at the given index. |
IWDAbstractSeries[] |
getSeriesList()
Returns the list of SeriesList. |
java.lang.String |
getTransparentColor()
Returns the value of the transparentColor property. |
int |
getWidth()
Returns the value of the width property. |
boolean |
hasSeriesList()
Checks if there exist SeriesList. |
int |
indexOfSeries(IWDAbstractSeries aAbstractSeries)
Returns the index of the given element in the list of SeriesList or -1 if it is not contained in the list. |
java.util.Iterator |
iterateSeriesList()
Returns an iterator over the list of SeriesList. |
IWDParameterMapping |
mappingOfOnAction()
Returns the parameter mapping of event onAction. |
int |
numberOfSeriesList()
Returns the number of SeriesList. |
void |
removeAllSeriesList()
Removes all entries from the list of SeriesList. |
IWDAbstractSeries |
removeSeries(int index)
Removes the entry at the given index from the list of SeriesList. |
IWDAbstractSeries |
removeSeries(java.lang.String id)
Removes the entry with the given ID from the list of SeriesList. |
void |
setBackgroundColor(java.lang.String backgroundColor)
Sets property backgroundColor to the given value. |
void |
setCategory(IWDCategory category)
Sets the Category instance. |
void |
setChartType(WDBusinessGraphicsType chartType)
Sets property chartType to the given value. |
void |
setCustomizing(java.lang.String customizing)
Sets property customizing to the given value. |
void |
setDimension(WDBusinessGraphicsDimension dimension)
Sets property dimension to the given value. |
void |
setDirectCustomizing(java.lang.String directCustomizing)
Sets the customizing directly, only available as method call. |
void |
setFontFamily(java.lang.String fontFamily)
Sets property fontFamily to the given value. |
void |
setHeight(int height)
Sets property height to the given value. |
void |
setIgsUrl(java.lang.String igsUrl)
Sets property igsUrl to the given value. |
void |
setOnAction(IWDAction action)
Maps the event onAction to the given action. |
void |
setTransparentColor(java.lang.String transparentColor)
Sets property transparentColor to the given value. |
void |
setWidth(int width)
Sets property width to the given value. |
void |
swapSeriesList(int i,
int j)
Swaps the SeriesList at the given indices. |
| Methods inherited from interface com.sap.tc.webdynpro.clientserver.uielib.graphics.api.IWDAbstractIgsElement |
forceUpdate, getHasError |
| Methods inherited from interface com.sap.tc.webdynpro.progmodel.api.IWDUIElement |
bindEnabled, bindEnabled, bindingOfEnabled, bindingOfTooltip, bindingOfVisible, bindTooltip, bindTooltip, bindVisible, bindVisible, createLayoutData, getContainer, getEnabled, getLayoutData, getTooltip, getVisible, setEnabled, setTooltip, setVisible |
| Methods inherited from interface com.sap.tc.webdynpro.progmodel.api.IWDViewElement |
getId, getView, requestFocus |
| Field Detail |
public static final java.lang.String DEFAULT_BACKGROUND_COLOR
backgroundColor.public static final WDBusinessGraphicsType DEFAULT_CHART_TYPE
chartType.public static final java.lang.String DEFAULT_CUSTOMIZING
customizing.public static final WDBusinessGraphicsDimension DEFAULT_DIMENSION
dimension.public static final java.lang.String DEFAULT_FONT_FAMILY
fontFamily.public static final int DEFAULT_HEIGHT
height.public static final java.lang.String DEFAULT_IGS_URL
igsUrl.public static final java.lang.String DEFAULT_TRANSPARENT_COLOR
transparentColor.public static final int DEFAULT_WIDTH
width.| Method Detail |
public IWDAction getOnAction()
onAction is mapped.
mappingOfOnAction()public void setOnAction(IWDAction action)
onAction to the given action.action - the action for the eventgetOnAction()public IWDParameterMapping mappingOfOnAction()
onAction.
To be accessible in a view controller, a UI element event parameter has to be mapped to a controller event handler parameter. This is done by defining a parameter mapping.
Event parameters:getOnAction()public java.lang.String getBackgroundColor()
backgroundColor property.
The initial value is "".
The background color.setBackgroundColor(String)public void setBackgroundColor(java.lang.String backgroundColor)
backgroundColor to the given value.backgroundColor - the new backgroundColor valuegetBackgroundColor()public WDBusinessGraphicsType getChartType()
chartType property.
The initial value is WDBusinessGraphicsType.COLUMNS.
Specifies the chart type.setChartType(WDBusinessGraphicsType)public void setChartType(WDBusinessGraphicsType chartType)
chartType to the given value.chartType - the new chartType valuegetChartType()public java.lang.String getCustomizing()
customizing property.
The initial value is "".
Describes how the chart is displayed on the screen. This property is assigned to a Web address (URL) linking to an XML file that describes the appearance of the business graphic on the screen - for example, the graphic color, the background color, fonts, and so on. It also specifies whether the graphic displays a legend or not.
You can also specify these settings directly in the SAP NetWeaver Developer Studio using the Chart Designer tool. To call the tool, place the cursor on the UI element, click the right mouse button, and select the Start Chart Designer menu option in the context menu.
Other attributes (e.g. dimension, fontFamily etc.) override these settings if they collide.setCustomizing(String)public void setCustomizing(java.lang.String customizing)
customizing to the given value.customizing - the new customizing valuegetCustomizing()public WDBusinessGraphicsDimension getDimension()
dimension property.
The initial value is WDBusinessGraphicsDimension.TWO.
Describes the dimensions of the chart. The following dimensions are available:
pseudo_three A pseudo-three-dimensional chart, the z-axis is not displayed.
three A real three-dimensional chart.
two A two-dimensional chart (surface diagram).setDimension(WDBusinessGraphicsDimension)public void setDimension(WDBusinessGraphicsDimension dimension)
dimension to the given value.dimension - the new dimension valuegetDimension()public java.lang.String getFontFamily()
fontFamily property.
The initial value is "".
Specifies the font family for the graphic elements.setFontFamily(String)public void setFontFamily(java.lang.String fontFamily)
fontFamily to the given value.fontFamily - the new fontFamily valuegetFontFamily()public int getHeight()
height property.
The initial value is 300.
Specifies the height of the chart and can be specified in relative CSS units like em, ex, or percentage.setHeight(int)public void setHeight(int height)
height to the given value.height - the new height valuegetHeight()public java.lang.String getIgsUrl()
igsUrl property.
The initial value is "".
This property can specify the Web address (URL) of the server on which the Internet Graphics Service should run. You can use it to overwrite the global URL for which the Web Dynpro System Configuration in the default.properties file has been set.setIgsUrl(String)public void setIgsUrl(java.lang.String igsUrl)
igsUrl to the given value.igsUrl - the new igsUrl valuegetIgsUrl()public void bindSeriesSource(java.lang.String path)
seriesSource to the context attribute
specified by path.path - the path of the context attribute to which the seriesSource
property is boundpublic void bindSeriesSource(IWDNodeInfo nodeInfo)
seriesSource to the context node
specified by the given node info.nodeInfo - the info of the context node to which the
seriesSource property is boundpublic java.lang.String bindingOfSeriesSource()
seriesSource.public java.lang.String getTransparentColor()
transparentColor property.
The initial value is "".
The color that is to be handled as transparent. Colors can be specified as RGB, HSB or X11-like.
e.g. "rgb(255,0,0)" or "slateblue".setTransparentColor(String)public void setTransparentColor(java.lang.String transparentColor)
transparentColor to the given value.transparentColor - the new transparentColor valuegetTransparentColor()public int getWidth()
width property.
The initial value is 300.
Specifies the width of the chart and can be specified in relative CSS units like em, ex, or percentage.setWidth(int)public void setWidth(int width)
width to the given value.width - the new width valuegetWidth()public IWDCategory getCategory()
setCategory(IWDCategory)public void setCategory(IWDCategory category)
category - the new categorygetCategory()public void destroyCategory()
public void addSeries(IWDAbstractSeries aAbstractSeries)
aAbstractSeries - the Series to be added into the listgetSeriesList()
public void addSeries(IWDAbstractSeries aAbstractSeries,
int index)
aAbstractSeries - the Series to be added into the listindex - zero based index of the insertion position in the listgetSeriesList()
public void swapSeriesList(int i,
int j)
i - index of the first Series to swapj - index of the second Series to swapIndexOutOfBoundsException - If one of the indices is out of boundspublic IWDAbstractSeries[] getSeriesList()
public IWDAbstractSeries getSeries(int index)
public int indexOfSeries(IWDAbstractSeries aAbstractSeries)
-1 if it is not contained in the list.public int numberOfSeriesList()
getSeriesList()public boolean hasSeriesList()
true if there are SeriesList;
false otherwise.getSeriesList()public java.util.Iterator iterateSeriesList()
getSeriesList()public IWDAbstractSeries removeSeries(int index)
index - zero based index of the deletion position in the listaddSeries(IWDAbstractSeries),
getSeriesList()public IWDAbstractSeries removeSeries(java.lang.String id)
id - unique ID of the element to be deleted from the listaddSeries(IWDAbstractSeries),
getSeriesList()public void removeAllSeriesList()
addSeries(IWDAbstractSeries),
getSeriesList()public void destroyAllSeriesList()
public void setDirectCustomizing(java.lang.String directCustomizing)
directCustomzing -
|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||