public class AbstractActionInfoAdapterToTocContextMenuAction extends AbstractTocContextMenuAction implements IContextMenuActionWithIcon
Modifier and Type | Field and Description |
---|---|
protected ActionInfo |
action |
protected java.lang.String |
group |
protected int |
groupOrder |
protected int |
order |
Modifier | Constructor and Description |
---|---|
protected |
AbstractActionInfoAdapterToTocContextMenuAction(ActionInfo action,
java.lang.String group,
int groupOrder) |
protected |
AbstractActionInfoAdapterToTocContextMenuAction(ActionInfo action,
java.lang.String group,
int groupOrder,
int order) |
protected |
AbstractActionInfoAdapterToTocContextMenuAction(java.lang.String actionName,
java.lang.String group,
int groupOrder) |
protected |
AbstractActionInfoAdapterToTocContextMenuAction(java.lang.String actionName,
java.lang.String group,
int groupOrder,
int order) |
Modifier and Type | Method and Description |
---|---|
void |
execute(ITocItem item,
FLayer[] selectedItems) |
java.lang.String |
getGroup()
Nombre del grupo al que pertenece la accion
|
int |
getGroupOrder()
Orden del grupo al que pertenece la acción
|
javax.swing.ImageIcon |
getIcon() |
int |
getOrder()
Orden del elemento dentro del grupo
|
java.lang.String |
getText()
Texto del elemento
|
boolean |
isEnabled(ITocItem item,
FLayer[] selectedItems) |
boolean |
isVisible(ITocItem item,
FLayer[] selectedItems) |
create, create, create, execute, getMapContext, getNodeLayer, isEnabled, isTocItemBranch, isTocItemLeaf, isVisible, setMapContext
getDescription
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
execute, getDescription, isEnabled, isVisible
protected ActionInfo action
protected java.lang.String group
protected int groupOrder
protected int order
protected AbstractActionInfoAdapterToTocContextMenuAction(ActionInfo action, java.lang.String group, int groupOrder, int order)
protected AbstractActionInfoAdapterToTocContextMenuAction(ActionInfo action, java.lang.String group, int groupOrder)
protected AbstractActionInfoAdapterToTocContextMenuAction(java.lang.String actionName, java.lang.String group, int groupOrder, int order)
protected AbstractActionInfoAdapterToTocContextMenuAction(java.lang.String actionName, java.lang.String group, int groupOrder)
public java.lang.String getGroup()
IContextMenuAction
getGroup
in interface IContextMenuAction
getGroup
in class AbstractContextMenuAction
public int getGroupOrder()
IContextMenuAction
getGroupOrder
in interface IContextMenuAction
getGroupOrder
in class AbstractContextMenuAction
public int getOrder()
IContextMenuAction
getOrder
in interface IContextMenuAction
getOrder
in class AbstractContextMenuAction
public java.lang.String getText()
IContextMenuAction
getText
in interface IContextMenuAction
public boolean isEnabled(ITocItem item, FLayer[] selectedItems)
isEnabled
in class AbstractTocContextMenuAction
public boolean isVisible(ITocItem item, FLayer[] selectedItems)
isVisible
in class AbstractTocContextMenuAction
public void execute(ITocItem item, FLayer[] selectedItems)
execute
in class AbstractTocContextMenuAction
public javax.swing.ImageIcon getIcon()
getIcon
in interface IContextMenuActionWithIcon