public class TocItemLeaf extends Object implements ITocItem
Modifier and Type | Field and Description |
---|---|
static DataFlavor |
INFO_FLAVOR |
Constructor and Description |
---|
TocItemLeaf() |
TocItemLeaf(ISymbol symbol,
String description,
int layerType) |
Modifier and Type | Method and Description |
---|---|
IContextMenuAction |
getDoubleClickAction() |
Icon |
getIcon() |
String |
getLabel() |
Dimension |
getSize() |
ISymbol |
getSymbol() |
Object |
getTransferData(DataFlavor dF) |
DataFlavor[] |
getTransferDataFlavors() |
boolean |
isDataFlavorSupported(DataFlavor dF) |
void |
setImageLegend(Image imageLegend,
String descrip,
Dimension size) |
void |
setSize(Dimension sz) |
public static final DataFlavor INFO_FLAVOR
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 ISymbol getSymbol()
public IContextMenuAction getDoubleClickAction()
getDoubleClickAction
in interface ITocItem