public interface

RWClipboard

com.microstrategy.web.objects.rw.RWClipboard

Class Overview

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.

Summary

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

Public Methods

public abstract RWUnitDef get (int i)

Returns i-th clipboard unit

Parameters
i index
Returns
  • RWUnitDef

public 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.

Returns i-th clipboard unit as RWObject.

Parameters
i index
Returns
  • RWObject

public abstract RWUnit getAsUnit (int i)

Returns i-th clipboard unit as RWUnit.

Parameters
i index
Returns
  • RWUnit

public abstract 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

public abstract int getPasteCount (int i)

Returns the i-th paste count value.

Parameters
i index
Returns
  • paste count

public abstract 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

public abstract int getPasteCountsSize ()

Returns a number of paste counts

Returns
  • int

public abstract RWSubsectionDef getSubsection ()

public abstract boolean isCrossSection ()

Returns true if units on the clipboard belong to different sections

Returns
  • true if units on the clipboard belong to different sections

public abstract int size ()

Returns the number of units on clipboard

Returns
  • the number of units on clipboard