Package org.pentaho.di.core.dnd
Class DragAndDropContainer
- java.lang.Object
-
- org.pentaho.di.core.dnd.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
-
-
Field Summary
Fields Modifier and Type Field Description static intTYPE_BASE_JOB_ENTRYstatic intTYPE_BASE_STEP_TYPEstatic intTYPE_BUSINESS_COLUMNstatic intTYPE_BUSINESS_MODELstatic intTYPE_BUSINESS_TABLEstatic intTYPE_BUSINESS_VIEWstatic intTYPE_DATABASE_CONNECTIONstatic intTYPE_JOB_ENTRYstatic intTYPE_PHYSICAL_COLUMNstatic intTYPE_PHYSICAL_TABLEstatic intTYPE_RELATIONSHIPstatic intTYPE_STEPstatic intTYPE_TEXTstatic intTYPE_TRANS_HOP
-
Constructor Summary
Constructors Constructor Description DragAndDropContainer(int type, String data)Create a new DragAndDropContainerDragAndDropContainer(int type, String data, String id)Create a new DragAndDropContainerDragAndDropContainer(String xml)Construct a Drag and drop container from an XML String
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetData()StringgetId()intgetType()static intgetType(String typeCode)StringgetTypeCode()StringgetXML()voidsetData(String data)voidsetId(String id)voidsetType(int type)
-
-
-
Field Detail
-
TYPE_STEP
public static final int TYPE_STEP
- See Also:
- Constant Field Values
-
TYPE_BASE_STEP_TYPE
public static final int TYPE_BASE_STEP_TYPE
- See Also:
- Constant Field Values
-
TYPE_DATABASE_CONNECTION
public static final int TYPE_DATABASE_CONNECTION
- See Also:
- Constant Field Values
-
TYPE_TRANS_HOP
public static final int TYPE_TRANS_HOP
- See Also:
- Constant Field Values
-
TYPE_TEXT
public static final int TYPE_TEXT
- See Also:
- Constant Field Values
-
TYPE_JOB_ENTRY
public static final int TYPE_JOB_ENTRY
- See Also:
- Constant Field Values
-
TYPE_BASE_JOB_ENTRY
public static final int TYPE_BASE_JOB_ENTRY
- See Also:
- Constant Field Values
-
TYPE_PHYSICAL_TABLE
public static final int TYPE_PHYSICAL_TABLE
- See Also:
- Constant Field Values
-
TYPE_PHYSICAL_COLUMN
public static final int TYPE_PHYSICAL_COLUMN
- See Also:
- Constant Field Values
-
TYPE_BUSINESS_VIEW
public static final int TYPE_BUSINESS_VIEW
- See Also:
- Constant Field Values
-
TYPE_BUSINESS_TABLE
public static final int TYPE_BUSINESS_TABLE
- See Also:
- Constant Field Values
-
TYPE_BUSINESS_COLUMN
public static final int TYPE_BUSINESS_COLUMN
- See Also:
- Constant Field Values
-
TYPE_RELATIONSHIP
public static final int TYPE_RELATIONSHIP
- See Also:
- Constant Field Values
-
TYPE_BUSINESS_MODEL
public static final int TYPE_BUSINESS_MODEL
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DragAndDropContainer
public DragAndDropContainer(int type, String data)Create a new DragAndDropContainer- Parameters:
type- The type of drag&drop to performdata- 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 performdata- The data in the form of a Stringid- 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:
getXMLin interfaceorg.pentaho.di.core.xml.XMLInterface
-
-