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 Transferablepublic boolean isDataFlavorSupported(DataFlavor dF)
isDataFlavorSupported in interface Transferablepublic Object getTransferData(DataFlavor dF) throws UnsupportedFlavorException, IOException
getTransferData in interface TransferableUnsupportedFlavorExceptionIOExceptionpublic ISymbol getSymbol()
public IContextMenuAction getDoubleClickAction()
getDoubleClickAction in interface ITocItem