Class DragAndDropContainer

  • All Implemented Interfaces:
    org.pentaho.di.core.xml.XMLInterface

    public class DragAndDropContainer
    extends Object
    implements org.pentaho.di.core.xml.XMLInterface
    This class contains code to help you drag data from one part of a GUI to another by using XML as an intermediate step.
    Since:
    2006-04-16
    Author:
    matt
    • Constructor Detail

      • DragAndDropContainer

        public DragAndDropContainer​(int type,
                                    String data)
        Create a new DragAndDropContainer
        Parameters:
        type - The type of drag&drop to perform
        data - The data in the form of a String
      • DragAndDropContainer

        public DragAndDropContainer​(int type,
                                    String data,
                                    String id)
        Create a new DragAndDropContainer
        Parameters:
        type - The type of drag&drop to perform
        data - The data in the form of a String
        id - The id of the step in the form of a String
      • DragAndDropContainer

        public DragAndDropContainer​(String xml)
                             throws org.pentaho.di.core.exception.KettleXMLException
        Construct a Drag and drop container from an XML String
        Parameters:
        xml - The XML string to convert from
        Throws:
        org.pentaho.di.core.exception.KettleXMLException
    • Method Detail

      • getType

        public int getType()
      • setType

        public void setType​(int type)
      • getData

        public String getData()
      • setData

        public void setData​(String data)
      • getId

        public String getId()
      • setId

        public void setId​(String id)
      • getTypeCode

        public String getTypeCode()
      • getType

        public static final int getType​(String typeCode)
      • getXML

        public String getXML()
        Specified by:
        getXML in interface org.pentaho.di.core.xml.XMLInterface