com.microstrategy.web.objects.rw.RWClipboard |
Clipboard holds collection of units and additional information necessary for GUI to perform clipboard operations. Clipboard behaves differently depending on whether all units on the clipboard belong to one section or to several sections. For one section case clipboard content can be pasted to the same or any other section. For the cross-section case it can be pasted only to the same sections.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract RWUnitDef |
get(int i)
Returns i-th clipboard unit
| ||||||||||
abstract RWObject |
getAsObject(int i)
This method is deprecated.
since copy/paste panel stacks is supported, this should no longer be used. we should use
getAsUnit(int) instead.
| ||||||||||
abstract RWUnit |
getAsUnit(int i)
Returns i-th clipboard unit as RWUnit.
| ||||||||||
abstract String |
getOriginalParentKey(int i)
Return the key of the section from which the i-th unit was cut/copied to clipbaord
| ||||||||||
abstract int |
getPasteCount(int i)
Returns the i-th paste count value.
| ||||||||||
abstract String |
getPasteCountKey(int i)
Returns the section key for i-th paste count
| ||||||||||
abstract int |
getPasteCountsSize()
Returns a number of paste counts
| ||||||||||
abstract RWSubsectionDef | getSubsection() | ||||||||||
abstract boolean |
isCrossSection()
Returns true if units on the clipboard belong to different sections
| ||||||||||
abstract int |
size()
Returns the number of units on clipboard
|
Returns i-th clipboard unit
i | index |
---|
This method is deprecated.
since copy/paste panel stacks is supported, this should no longer be used. we should use getAsUnit(int)
instead.
Returns i-th clipboard unit as RWObject.
i | index |
---|
Returns i-th clipboard unit as RWUnit.
i | index |
---|
Return the key of the section from which the i-th unit was cut/copied to clipbaord
i | index |
---|
Returns the i-th paste count value.
i | index |
---|
Returns the section key for i-th paste count
i | index |
---|
Returns a number of paste counts
Returns true if units on the clipboard belong to different sections
Returns the number of units on clipboard