public class TocItemBranch extends Object implements ITocItem
Modifier and Type | Field and Description |
---|---|
static DataFlavor |
INFO_FLAVOR |
Constructor and Description |
---|
TocItemBranch(FLayer lyr) |
Modifier and Type | Method and Description |
---|---|
IContextMenuAction |
getDoubleClickAction() |
Icon |
getIcon() |
String |
getLabel() |
FLayer |
getLayer() |
Dimension |
getSize() |
Object |
getTransferData(DataFlavor dF) |
DataFlavor[] |
getTransferDataFlavors() |
boolean |
isDataFlavorSupported(DataFlavor dF) |
void |
setSize(Dimension sz) |
public static final DataFlavor INFO_FLAVOR
public TocItemBranch(FLayer lyr)
public FLayer getLayer()
public DataFlavor[] getTransferDataFlavors()
getTransferDataFlavors
in interface Transferable
public boolean isDataFlavorSupported(DataFlavor dF)
isDataFlavorSupported
in interface Transferable
public Object getTransferData(DataFlavor dF) throws UnsupportedFlavorException, IOException
getTransferData
in interface Transferable
UnsupportedFlavorException
IOException
public IContextMenuAction getDoubleClickAction()
getDoubleClickAction
in interface ITocItem