Package com.microstrategy.web.objects.rw
Interface RWClipboard
- 
public interface RWClipboardClipboard 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.- Since:
 - MicroStrategy Web 8.0.0
 
 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description RWUnitDefget(int i)Returns i-th clipboard unitRWObjectgetAsObject(int i)Deprecated.since copy/paste panel stacks is supported, this should no longer be used.RWUnitgetAsUnit(int i)Returns i-th clipboard unit as RWUnit.java.lang.StringgetOriginalParentKey(int i)Return the key of the section from which the i-th unit was cut/copied to clipbaordintgetPasteCount(int i)Returns the i-th paste count value.java.lang.StringgetPasteCountKey(int i)Returns the section key for i-th paste countintgetPasteCountsSize()Returns a number of paste countsRWSubsectionDefgetSubsection()booleanisCrossSection()Returns true if units on the clipboard belong to different sectionsintsize()Returns the number of units on clipboard 
 - 
 
- 
- 
Method Detail
- 
size
int size()
Returns the number of units on clipboard- Returns:
 - the number of units on clipboard
 
 
- 
get
RWUnitDef get(int i)
Returns i-th clipboard unit- Parameters:
 i- index- Returns:
 - RWUnitDef
 
 
- 
getAsObject
RWObject getAsObject(int i)
Deprecated.since copy/paste panel stacks is supported, this should no longer be used. we should usegetAsUnit(int)instead.Returns i-th clipboard unit as RWObject.- Parameters:
 i- index- Returns:
 - RWObject
 
 
- 
getAsUnit
RWUnit getAsUnit(int i)
Returns i-th clipboard unit as RWUnit.- Parameters:
 i- index- Returns:
 - RWUnit
 
 
- 
getOriginalParentKey
java.lang.String getOriginalParentKey(int i)
Return the key of the section from which the i-th unit was cut/copied to clipbaord- Parameters:
 i- index- Returns:
 - the original parent key
 
 
- 
isCrossSection
boolean isCrossSection()
Returns true if units on the clipboard belong to different sections- Returns:
 - true if units on the clipboard belong to different sections
 
 
- 
getPasteCountsSize
int getPasteCountsSize()
Returns a number of paste counts- Returns:
 - int
 
 
- 
getPasteCountKey
java.lang.String getPasteCountKey(int i)
Returns the section key for i-th paste count- Parameters:
 i- index- Returns:
 - the section key for i-th paste count
 
 
- 
getPasteCount
int getPasteCount(int i)
Returns the i-th paste count value.- Parameters:
 i- index- Returns:
 - paste count
 
 
- 
getSubsection
RWSubsectionDef getSubsection()
 
 - 
 
 -