Class TocMenuEntry
java.lang.Object
org.gvsig.app.project.documents.view.toc.TocMenuEntry
- All Implemented Interfaces:
ActionListener,EventListener
- Author:
- Luis W. Sevilla (sevilla_lui@gva.es)ç
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidCódigo que se ejecuta cuando selecciona una opción de menu.org.gvsig.fmap.mapcontext.MapContextgetMenu()org.gvsig.fmap.mapcontext.layers.FLayervoidSe utiliza para inicializar el menu.booleanboolean
-
Constructor Details
-
TocMenuEntry
public TocMenuEntry()
-
-
Method Details
-
initialize
Se utiliza para inicializar el menu. Dentro comprobará encima de qué tipo de tocItem hemos pinchado, y se mostrará la opción de menu o no en función de si es un branch o un leaf, o incluso de algún otro parámetro interno.- Parameters:
menu-
-
actionPerformed
Código que se ejecuta cuando selecciona una opción de menu. Recibe el tocItem sobre el que has pinchado.- Specified by:
actionPerformedin interfaceActionListener- Parameters:
tocItem-
-
getMenu
-
getMapContext
public org.gvsig.fmap.mapcontext.MapContext getMapContext() -
getNodeUserObject
-
getNodeLayer
public org.gvsig.fmap.mapcontext.layers.FLayer getNodeLayer() -
isTocItemLeaf
public boolean isTocItemLeaf() -
isTocItemBranch
public boolean isTocItemBranch()
-