com.microstrategy.web.objects.rw.RWControl |
![]() |
Represents a definition of the actionable control.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void |
addDatasetTarget(String did, int sourceType)
Adds specified data set as this control target
| ||||||||||
abstract void |
addDatasetTarget(String did)
Adds specified data set as this control target
| ||||||||||
abstract void |
addPlaceHolderTarget(String key, Set<Integer> indices)
Add the specified place holder as the control target.
| ||||||||||
abstract void | addTarget(String key, String cgbKey) | ||||||||||
abstract void |
addTarget(String key)
Adds specified unt as this control target
| ||||||||||
abstract boolean |
canMultiSelect()
Returns true if this control supports multi-select mode
| ||||||||||
abstract boolean | canUseSubtotals() | ||||||||||
abstract void |
generateGridControlFormatDelta()
generate the delta for grid control format
| ||||||||||
abstract List<String> |
getDatasetTargets()
Get all control data sets targets
| ||||||||||
abstract String[] |
getGroupByTargetKeys()
Returns array of target control group by keys
| ||||||||||
abstract String |
getInfoWindowTarget()
Get information window target
| ||||||||||
abstract String |
getKey()
Returns control key
| ||||||||||
abstract String |
getKeyContext()
Returns the control key in the server-specific format.
| ||||||||||
abstract RWUnitDef | getParent() | ||||||||||
abstract String[] |
getPlaceHolderGroupByTargetKeys()
Returns an array of group by target keys for the place holders.
| ||||||||||
abstract Map<String, Set<Integer>> |
getPlaceHolderTargets()
Returns the place holders targeted by this control.
| ||||||||||
abstract RWSubtotals | getSubtotals() | ||||||||||
abstract RWUnitDef |
getTarget(int i)
Returns i-th target
| ||||||||||
abstract int |
getTargetCount()
Returns number of control targets
| ||||||||||
abstract int |
getTargetType()
Get Target type
| ||||||||||
abstract Enumeration |
getTargets()
Returns enumeration over all control targets
| ||||||||||
abstract int |
getTransactionAction()
return transactionAction EnumDSSXMLTransactionAction
| ||||||||||
abstract int |
getType()
Returns control type {see
EnumDSSXMLRWControlType } | ||||||||||
abstract boolean |
hasDatasetTarget(String did)
Checks if specified data set is a this control's target
| ||||||||||
abstract boolean |
hasTarget(String key)
Checks if specified unit is a this control's target
| ||||||||||
abstract boolean |
hasTargets()
Returns true if the given selector has targets.
| ||||||||||
abstract boolean |
isShowAll()
Returns true if the show all option is on
| ||||||||||
abstract boolean |
isTopMost()
return isTopMost
| ||||||||||
abstract boolean | isUnset() | ||||||||||
abstract void |
removeAllDatasetTargets()
Remove all control data sets targets
| ||||||||||
abstract void |
removeDatasetTarget(String did)
removes specified data set as this control target
| ||||||||||
abstract void |
removePlaceHolderTarget(String key, Set<Integer> indices)
Remove the specified place holder from the control targets.
| ||||||||||
abstract void |
removeTarget(String key)
Removes specified unit from control targets
| ||||||||||
abstract void |
setInfoWindowTarget(String targetKey)
Set the specified panel stack as the control information window target
| ||||||||||
abstract void |
setShowAll(boolean value)
Sets show all option
| ||||||||||
abstract void |
setTargetType(int value)
Set target type is document(0)/data set(1)
| ||||||||||
abstract void |
setTopMost(boolean _isTopMost)
set isTopMost property
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Adds specified data set as this control target
did | of data set |
---|---|
sourceType | of the data set |
Adds specified data set as this control target
did | of data set |
---|
Add the specified place holder as the control target.
key | node key of the template where the place holder is defined on |
---|---|
indices | set of place holder indices to be added |
WebObjectsException |
---|
Returns true if this control supports multi-select mode
generate the delta for grid control format
Get all control data sets targets
Returns array of target control group by keys
Get information window target
Returns control key
Returns the control key in the server-specific format. This method is used to optimize the Set Current Element events as this key format allows executing these events without reloading document defintion.
Returns an array of group by target keys for the place holders.
Returns the place holders targeted by this control.
Returns i-th target
i | index |
---|
Returns number of control targets
Get Target type
Returns enumeration over all control targets
return transactionAction EnumDSSXMLTransactionAction
Returns control type {see EnumDSSXMLRWControlType
}
Checks if specified data set is a this control's target
did | of data set |
---|
Checks if specified unit is a this control's target
key | unit key |
---|
Returns true if the given selector has targets. Please notice that because of partial
display functionality it is possible that the getTarget(int)
method will return 0 event if this method returns true.
Returns true if the show all option is on
return isTopMost
Remove all control data sets targets
removes specified data set as this control target
did | of data set |
---|
Remove the specified place holder from the control targets.
key | node key of the template where the place holder is defined on |
---|
Removes specified unit from control targets
key | target unit key |
---|
WebObjectsException |
---|
Set the specified panel stack as the control information window target
targetKey | node key of target information window |
---|
IllegalArgumentException |
---|
Sets show all option
value | show all option |
---|
Set target type is document(0)/data set(1)
set isTopMost property