Skip navigation links


com.essbase.eas.essbase.ui.outline
Class ETreeTransferable

java.lang.Object
  extended by com.essbase.eas.essbase.ui.outline.ETreeTransferable

All Implemented Interfaces:
java.awt.datatransfer.Transferable

public class ETreeTransferable
extends java.lang.Object
implements java.awt.datatransfer.Transferable

Implements a transferable object for the ETree.

Version:
1.00, 05/24/2002
Author:
Hank Cox

Nested Class Summary
 class ETreeTransferable.ETreeDataFlavor
           

 

Field Summary
static short CURSOR_SHOW_CHILD
           
static short CURSOR_SHOW_DEFAULT
           
static short CURSOR_SHOW_NODROP
           
static short CURSOR_SHOW_SIBLING
           

 

Constructor Summary
ETreeTransferable(ETree sourceTree, OutlineTreeNode node)
           
ETreeTransferable(ETree sourceTree, OutlineTreeNode[] nodes)
           

 

Method Summary
 java.awt.Cursor getCursor()
           
 short getCursorValue()
           
 OutlineTreeNode[] getSourceNodes()
           
 java.lang.Object getTransferData(java.awt.datatransfer.DataFlavor flavor)
           
 java.awt.datatransfer.DataFlavor[] getTransferDataFlavors()
           
 boolean isDataFlavorSupported(java.awt.datatransfer.DataFlavor flavor)
           
 void setCursorValue(short value)
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

CURSOR_SHOW_NODROP

public static final short CURSOR_SHOW_NODROP
See Also:
Constant Field Values

CURSOR_SHOW_DEFAULT

public static final short CURSOR_SHOW_DEFAULT
See Also:
Constant Field Values

CURSOR_SHOW_SIBLING

public static final short CURSOR_SHOW_SIBLING
See Also:
Constant Field Values

CURSOR_SHOW_CHILD

public static final short CURSOR_SHOW_CHILD
See Also:
Constant Field Values

Constructor Detail

ETreeTransferable

public ETreeTransferable(ETree sourceTree,
                         OutlineTreeNode node)

ETreeTransferable

public ETreeTransferable(ETree sourceTree,
                         OutlineTreeNode[] nodes)

Method Detail

getTransferDataFlavors

public java.awt.datatransfer.DataFlavor[] getTransferDataFlavors()
Specified by:
getTransferDataFlavors in interface java.awt.datatransfer.Transferable

isDataFlavorSupported

public boolean isDataFlavorSupported(java.awt.datatransfer.DataFlavor flavor)
Specified by:
isDataFlavorSupported in interface java.awt.datatransfer.Transferable

getTransferData

public java.lang.Object getTransferData(java.awt.datatransfer.DataFlavor flavor)
                                 throws java.awt.datatransfer.UnsupportedFlavorException,
                                        java.io.IOException
Specified by:
getTransferData in interface java.awt.datatransfer.Transferable
Throws:
java.awt.datatransfer.UnsupportedFlavorException
java.io.IOException

getSourceNodes

public OutlineTreeNode[] getSourceNodes()

setCursorValue

public void setCursorValue(short value)

getCursorValue

public short getCursorValue()

getCursor

public java.awt.Cursor getCursor()

Skip navigation links


Copyright © 2001, 2012, Oracle. All rights reserved.