Class ClipboardSource

    • Constructor Detail

      • ClipboardSource

        public ClipboardSource()
    • Method Detail

      • paste

        protected void paste()
        Loads the data
      • setCurrentReader

        public void setCurrentReader​(SpreadSheetReader value)
        Sets the current reader.
        value - the reader
      • getCurrentReader

        public SpreadSheetReader getCurrentReader()
        Returns the current reader.
        the reader
      • hasData

        public boolean hasData()
        Checks whether data is available.
        Specified by:
        hasData in class AbstractSource
        true if available
      • getData

        public SpreadSheet getData()
        Returns the currently available data
        Specified by:
        getData in class AbstractSource
        the data, null if none available
      • assign

        public void assign​(AbstractWidget other)
        Retrieves the values from the other widget, if possible.
        Specified by:
        assign in class AbstractWidget
        other - the other widget to get the values from
      • serialize

        public Object serialize()
        Serializes the setup from the widget.
        Specified by:
        serialize in class AbstractWidget
        the generated setup representation
      • deserialize

        public void deserialize​(Object data,
                                MessageCollection errors)
        Deserializes the setup and maps it onto the widget. /** Deserializes the setup and maps it onto the widget.
        Specified by:
        deserialize in class AbstractWidget
        data - the setup representation to use
        errors - for collecting errors