|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Web Dynpro ValueComparison API.
Graphical comparison of values
Compares upto 3 values graphically, represented by the properties
barValue, boxValue and
markerValue.
The maximum width, in pixels, of the GraphicalValueComparator is required
and must be specified as width.
The color of the bar can be changed based on some rule, and the threshold
values for changing the bar color can be specified by
lowerThresholdValue and upperThresholdValue.
This type can be called by applications using Web Dynpro, but DO NOT EXTEND OR IMPLEMENT IT!
Type Classification:
This interface is part of the Web Dynpro API, so applications may reference it or call any method of it, but they must not implement or extend it.
For a detailed explanation of API classification see the Web Dynpro Compatibility Guide| Field Summary | |
static double |
DEFAULT_BAR_VALUE
Default value of the barValue property is -1. |
static double |
DEFAULT_BOX_VALUE
Default value of the boxValue property is -1. |
static WDBarColor |
DEFAULT_COLOR_ABOVE_THRESHOLD
Default value of the colorAboveThreshold property is WDBarColor.NEGATIVE. |
static WDBarColor |
DEFAULT_COLOR_BELOW_THRESHOLD
Default value of the colorBelowThreshold property is WDBarColor.NEUTRAL1. |
static WDBarColor |
DEFAULT_COLOR_BETWEEN_THRESHOLDS
Default value of the colorBetweenThresholds property is WDBarColor.CRITICAL. |
static double |
DEFAULT_LOWER_THRESHOLD_VALUE
Default value of the lowerThresholdValue property is -1. |
static WDMarkerType |
DEFAULT_MARKER_TYPE
Default value of the markerType property is WDMarkerType.NEUTRAL. |
static double |
DEFAULT_MARKER_VALUE
Default value of the markerValue property is -1. |
static double |
DEFAULT_MAX_VALUE
Default value of the maxValue property is -1. |
static String |
DEFAULT_TEXT
Default value of the text property is "". |
static double |
DEFAULT_UPPER_THRESHOLD_VALUE
Default value of the upperThresholdValue property is -1. |
static int |
DEFAULT_WIDTH
Default value of the width property is 0. |
| Fields inherited from interface com.sap.tc.webdynpro.progmodel.api.IWDUIElement |
DEFAULT_ENABLED, DEFAULT_TOOLTIP, DEFAULT_VISIBLE |
| Method Summary | |
void |
bindBarValue(IWDAttributeInfo attributeInfo)
Binds the barValue property to the context attribute specified by the given attribute info. |
void |
bindBarValue(String path)
Binds the barValue property to the context attribute specified by the given path. |
void |
bindBoxValue(IWDAttributeInfo attributeInfo)
Binds the boxValue property to the context attribute specified by the given attribute info. |
void |
bindBoxValue(String path)
Binds the boxValue property to the context attribute specified by the given path. |
void |
bindColorAboveThreshold(IWDAttributeInfo attributeInfo)
Binds the colorAboveThreshold property to the context attribute specified by the given attribute info. |
void |
bindColorAboveThreshold(String path)
Binds the colorAboveThreshold property to the context attribute specified by the given path. |
void |
bindColorBelowThreshold(IWDAttributeInfo attributeInfo)
Binds the colorBelowThreshold property to the context attribute specified by the given attribute info. |
void |
bindColorBelowThreshold(String path)
Binds the colorBelowThreshold property to the context attribute specified by the given path. |
void |
bindColorBetweenThresholds(IWDAttributeInfo attributeInfo)
Binds the colorBetweenThresholds property to the context attribute specified by the given attribute info. |
void |
bindColorBetweenThresholds(String path)
Binds the colorBetweenThresholds property to the context attribute specified by the given path. |
String |
bindingOfBarValue()
Returns the binding path of the barValue property. |
String |
bindingOfBoxValue()
Returns the binding path of the boxValue property. |
String |
bindingOfColorAboveThreshold()
Returns the binding path of the colorAboveThreshold property. |
String |
bindingOfColorBelowThreshold()
Returns the binding path of the colorBelowThreshold property. |
String |
bindingOfColorBetweenThresholds()
Returns the binding path of the colorBetweenThresholds property. |
String |
bindingOfLowerThresholdValue()
Returns the binding path of the lowerThresholdValue property. |
String |
bindingOfMarkerType()
Returns the binding path of the markerType property. |
String |
bindingOfMarkerValue()
Returns the binding path of the markerValue property. |
String |
bindingOfMaxValue()
Returns the binding path of the maxValue property. |
String |
bindingOfText()
Returns the binding path of the text property. |
String |
bindingOfUpperThresholdValue()
Returns the binding path of the upperThresholdValue property. |
String |
bindingOfWidth()
Returns the binding path of the width property. |
void |
bindLowerThresholdValue(IWDAttributeInfo attributeInfo)
Binds the lowerThresholdValue property to the context attribute specified by the given attribute info. |
void |
bindLowerThresholdValue(String path)
Binds the lowerThresholdValue property to the context attribute specified by the given path. |
void |
bindMarkerType(IWDAttributeInfo attributeInfo)
Binds the markerType property to the context attribute specified by the given attribute info. |
void |
bindMarkerType(String path)
Binds the markerType property to the context attribute specified by the given path. |
void |
bindMarkerValue(IWDAttributeInfo attributeInfo)
Binds the markerValue property to the context attribute specified by the given attribute info. |
void |
bindMarkerValue(String path)
Binds the markerValue property to the context attribute specified by the given path. |
void |
bindMaxValue(IWDAttributeInfo attributeInfo)
Binds the maxValue property to the context attribute specified by the given attribute info. |
void |
bindMaxValue(String path)
Binds the maxValue property to the context attribute specified by the given path. |
void |
bindText(IWDAttributeInfo attributeInfo)
Binds the text property to the context attribute specified by the given attribute info. |
void |
bindText(String path)
Binds the text property to the context attribute specified by the given path. |
void |
bindUpperThresholdValue(IWDAttributeInfo attributeInfo)
Binds the upperThresholdValue property to the context attribute specified by the given attribute info. |
void |
bindUpperThresholdValue(String path)
Binds the upperThresholdValue property to the context attribute specified by the given path. |
void |
bindWidth(IWDAttributeInfo attributeInfo)
Binds the width property to the context attribute specified by the given attribute info. |
void |
bindWidth(String path)
Binds the width property to the context attribute specified by the given path. |
double |
getBarValue()
Returns the value of the barValue property.
|
double |
getBoxValue()
Returns the value of the boxValue property.
|
WDBarColor |
getColorAboveThreshold()
Returns the value of the colorAboveThreshold property.
|
WDBarColor |
getColorBelowThreshold()
Returns the value of the colorBelowThreshold property.
|
WDBarColor |
getColorBetweenThresholds()
Returns the value of the colorBetweenThresholds property.
|
double |
getLowerThresholdValue()
Returns the value of the lowerThresholdValue property.
|
WDMarkerType |
getMarkerType()
Returns the value of the markerType property.
|
double |
getMarkerValue()
Returns the value of the markerValue property.
|
double |
getMaxValue()
Returns the value of the maxValue property.
|
String |
getText()
Returns the value of the text property.
|
double |
getUpperThresholdValue()
Returns the value of the upperThresholdValue property.
|
int |
getWidth()
Returns the value of the width property.
|
void |
setBarValue(double value)
Sets the barValue property to the given value. |
void |
setBoxValue(double value)
Sets the boxValue property to the given value. |
void |
setColorAboveThreshold(WDBarColor value)
Sets the colorAboveThreshold property to the given value. |
void |
setColorBelowThreshold(WDBarColor value)
Sets the colorBelowThreshold property to the given value. |
void |
setColorBetweenThresholds(WDBarColor value)
Sets the colorBetweenThresholds property to the given value. |
void |
setLowerThresholdValue(double value)
Sets the lowerThresholdValue property to the given value. |
void |
setMarkerType(WDMarkerType value)
Sets the markerType property to the given value. |
void |
setMarkerValue(double value)
Sets the markerValue property to the given value. |
void |
setMaxValue(double value)
Sets the maxValue property to the given value. |
void |
setText(String value)
Sets the text property to the given value. |
void |
setUpperThresholdValue(double value)
Sets the upperThresholdValue property to the given value. |
void |
setWidth(int value)
Sets the width property to the given value. |
| 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 |
destroy, getId, getView, requestFocus |
| Field Detail |
public static final double DEFAULT_BAR_VALUE
barValue property is -1.
public static final double DEFAULT_BOX_VALUE
boxValue property is -1.
public static final WDBarColor DEFAULT_COLOR_ABOVE_THRESHOLD
colorAboveThreshold property is WDBarColor.NEGATIVE.
public static final WDBarColor DEFAULT_COLOR_BELOW_THRESHOLD
colorBelowThreshold property is WDBarColor.NEUTRAL1.
public static final WDBarColor DEFAULT_COLOR_BETWEEN_THRESHOLDS
colorBetweenThresholds property is WDBarColor.CRITICAL.
public static final double DEFAULT_LOWER_THRESHOLD_VALUE
lowerThresholdValue property is -1.
public static final WDMarkerType DEFAULT_MARKER_TYPE
markerType property is WDMarkerType.NEUTRAL.
public static final double DEFAULT_MARKER_VALUE
markerValue property is -1.
public static final double DEFAULT_MAX_VALUE
maxValue property is -1.
public static final String DEFAULT_TEXT
text property is "".
public static final double DEFAULT_UPPER_THRESHOLD_VALUE
upperThresholdValue property is -1.
public static final int DEFAULT_WIDTH
width property is 0.
| Method Detail |
public void bindBarValue(String path)
barValue property to the context attribute specified by the given path.
path - the context path of the attribute to which the barValue property will be boundpublic void bindBarValue(IWDAttributeInfo attributeInfo)
barValue property to the context attribute specified by the given attribute info.
attributeInfo - the info of the context attribute to which the barValue property will be boundpublic String bindingOfBarValue()
barValue property.
barValue property is currently boundpublic double getBarValue()
barValue property.
The initial value is -1.
barValue propertysetBarValue(double)public void setBarValue(double value)
barValue property to the given value.
value - the new value of the barValue propertygetBarValue()public void bindBoxValue(String path)
boxValue property to the context attribute specified by the given path.
path - the context path of the attribute to which the boxValue property will be boundpublic void bindBoxValue(IWDAttributeInfo attributeInfo)
boxValue property to the context attribute specified by the given attribute info.
attributeInfo - the info of the context attribute to which the boxValue property will be boundpublic String bindingOfBoxValue()
boxValue property.
boxValue property is currently boundpublic double getBoxValue()
boxValue property.
The initial value is -1.
boxValue propertysetBoxValue(double)public void setBoxValue(double value)
boxValue property to the given value.
value - the new value of the boxValue propertygetBoxValue()public void bindColorAboveThreshold(String path)
colorAboveThreshold property to the context attribute specified by the given path.
path - the context path of the attribute to which the colorAboveThreshold property will be boundpublic void bindColorAboveThreshold(IWDAttributeInfo attributeInfo)
colorAboveThreshold property to the context attribute specified by the given attribute info.
attributeInfo - the info of the context attribute to which the colorAboveThreshold property will be boundpublic String bindingOfColorAboveThreshold()
colorAboveThreshold property.
colorAboveThreshold property is currently boundpublic WDBarColor getColorAboveThreshold()
colorAboveThreshold property.
The initial value is WDBarColor.NEGATIVE.
upperThresholdValue
colorAboveThreshold propertysetColorAboveThreshold(WDBarColor)public void setColorAboveThreshold(WDBarColor value)
colorAboveThreshold property to the given value.
value - the new value of the colorAboveThreshold propertygetColorAboveThreshold()public void bindColorBelowThreshold(String path)
colorBelowThreshold property to the context attribute specified by the given path.
path - the context path of the attribute to which the colorBelowThreshold property will be boundpublic void bindColorBelowThreshold(IWDAttributeInfo attributeInfo)
colorBelowThreshold property to the context attribute specified by the given attribute info.
attributeInfo - the info of the context attribute to which the colorBelowThreshold property will be boundpublic String bindingOfColorBelowThreshold()
colorBelowThreshold property.
colorBelowThreshold property is currently boundpublic WDBarColor getColorBelowThreshold()
colorBelowThreshold property.
The initial value is WDBarColor.NEUTRAL1.
lowerThresholdValue.
colorBelowThreshold propertysetColorBelowThreshold(WDBarColor)public void setColorBelowThreshold(WDBarColor value)
colorBelowThreshold property to the given value.
value - the new value of the colorBelowThreshold propertygetColorBelowThreshold()public void bindColorBetweenThresholds(String path)
colorBetweenThresholds property to the context attribute specified by the given path.
path - the context path of the attribute to which the colorBetweenThresholds property will be boundpublic void bindColorBetweenThresholds(IWDAttributeInfo attributeInfo)
colorBetweenThresholds property to the context attribute specified by the given attribute info.
attributeInfo - the info of the context attribute to which the colorBetweenThresholds property will be boundpublic String bindingOfColorBetweenThresholds()
colorBetweenThresholds property.
colorBetweenThresholds property is currently boundpublic WDBarColor getColorBetweenThresholds()
colorBetweenThresholds property.
The initial value is WDBarColor.CRITICAL.
colorBetweenThresholds propertysetColorBetweenThresholds(WDBarColor)public void setColorBetweenThresholds(WDBarColor value)
colorBetweenThresholds property to the given value.
value - the new value of the colorBetweenThresholds propertygetColorBetweenThresholds()public void bindLowerThresholdValue(String path)
lowerThresholdValue property to the context attribute specified by the given path.
path - the context path of the attribute to which the lowerThresholdValue property will be boundpublic void bindLowerThresholdValue(IWDAttributeInfo attributeInfo)
lowerThresholdValue property to the context attribute specified by the given attribute info.
attributeInfo - the info of the context attribute to which the lowerThresholdValue property will be boundpublic String bindingOfLowerThresholdValue()
lowerThresholdValue property.
lowerThresholdValue property is currently boundpublic double getLowerThresholdValue()
lowerThresholdValue property.
The initial value is -1.
lowerThresholdValue propertysetLowerThresholdValue(double)public void setLowerThresholdValue(double value)
lowerThresholdValue property to the given value.
value - the new value of the lowerThresholdValue propertygetLowerThresholdValue()public void bindMarkerType(String path)
markerType property to the context attribute specified by the given path.
path - the context path of the attribute to which the markerType property will be boundpublic void bindMarkerType(IWDAttributeInfo attributeInfo)
markerType property to the context attribute specified by the given attribute info.
attributeInfo - the info of the context attribute to which the markerType property will be boundpublic String bindingOfMarkerType()
markerType property.
markerType property is currently boundpublic WDMarkerType getMarkerType()
markerType property.
The initial value is WDMarkerType.NEUTRAL.
markerType propertysetMarkerType(WDMarkerType)public void setMarkerType(WDMarkerType value)
markerType property to the given value.
value - the new value of the markerType propertygetMarkerType()public void bindMarkerValue(String path)
markerValue property to the context attribute specified by the given path.
path - the context path of the attribute to which the markerValue property will be boundpublic void bindMarkerValue(IWDAttributeInfo attributeInfo)
markerValue property to the context attribute specified by the given attribute info.
attributeInfo - the info of the context attribute to which the markerValue property will be boundpublic String bindingOfMarkerValue()
markerValue property.
markerValue property is currently boundpublic double getMarkerValue()
markerValue property.
The initial value is -1.
markerValue propertysetMarkerValue(double)public void setMarkerValue(double value)
markerValue property to the given value.
value - the new value of the markerValue propertygetMarkerValue()public void bindMaxValue(String path)
maxValue property to the context attribute specified by the given path.
path - the context path of the attribute to which the maxValue property will be boundpublic void bindMaxValue(IWDAttributeInfo attributeInfo)
maxValue property to the context attribute specified by the given attribute info.
attributeInfo - the info of the context attribute to which the maxValue property will be boundpublic String bindingOfMaxValue()
maxValue property.
maxValue property is currently boundpublic double getMaxValue()
maxValue property.
The initial value is -1.
maxValue propertysetMaxValue(double)public void setMaxValue(double value)
maxValue property to the given value.
value - the new value of the maxValue propertygetMaxValue()public void bindText(String path)
text property to the context attribute specified by the given path.
path - the context path of the attribute to which the text property will be boundpublic void bindText(IWDAttributeInfo attributeInfo)
text property to the context attribute specified by the given attribute info.
attributeInfo - the info of the context attribute to which the text property will be boundpublic String bindingOfText()
text property.
text property is currently boundpublic String getText()
text property.
The initial value is "".
text propertysetText(String)public void setText(String value)
text property to the given value.
value - the new value of the text propertygetText()public void bindUpperThresholdValue(String path)
upperThresholdValue property to the context attribute specified by the given path.
path - the context path of the attribute to which the upperThresholdValue property will be boundpublic void bindUpperThresholdValue(IWDAttributeInfo attributeInfo)
upperThresholdValue property to the context attribute specified by the given attribute info.
attributeInfo - the info of the context attribute to which the upperThresholdValue property will be boundpublic String bindingOfUpperThresholdValue()
upperThresholdValue property.
upperThresholdValue property is currently boundpublic double getUpperThresholdValue()
upperThresholdValue property.
The initial value is -1.
upperThresholdValue propertysetUpperThresholdValue(double)public void setUpperThresholdValue(double value)
upperThresholdValue property to the given value.
value - the new value of the upperThresholdValue propertygetUpperThresholdValue()public void bindWidth(String path)
width property to the context attribute specified by the given path.
path - the context path of the attribute to which the width property will be boundpublic void bindWidth(IWDAttributeInfo attributeInfo)
width property to the context attribute specified by the given attribute info.
attributeInfo - the info of the context attribute to which the width property will be boundpublic String bindingOfWidth()
width property.
width property is currently boundpublic int getWidth()
width property.
The initial value is 0.
width propertysetWidth(int)public void setWidth(int value)
width property to the given value.
value - the new value of the width propertygetWidth()
|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||