Package ch.tocco.nice2.model.menu.impl
Class ActionMenuItemImpl
java.lang.Object
ch.tocco.nice2.model.menu.api.AbstractMenuItem
ch.tocco.nice2.model.menu.impl.ActionMenuItemImpl
- All Implemented Interfaces:
MenuItem
,ActionMenuItem
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
extendProperties
(Map<Object, Object> propertyMap) Empty implementation for conviniencegetType()
Returns the interface-type of the itemvoid
setEndpoint
(String endpoint) void
setFullscreen
(boolean fullscreen) void
void
setRunInBackgroundTask
(boolean runInBackgroundTask) Methods inherited from class ch.tocco.nice2.model.menu.api.AbstractMenuItem
appendChildren, findChildByName, getChildren, getExtIcon, getLabel, getMenuType, getName, getParent, getPath, getPosition, getProperties, getReactIcon, isNewClientDisabled, isOldClientDisabled, setChildren, setExtIcon, setLabel, setMenuType, setName, setNewClientDisabled, setOldClientDisabled, setParent, setPosition, setReactIcon, writeProperties
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ch.tocco.nice2.model.menu.api.MenuItem
appendChildren, findChildByName, getChildren, getExtIcon, getLabel, getMenuType, getName, getParent, getPath, getPosition, getProperties, getReactIcon, isNewClientDisabled, isOldClientDisabled, setChildren, setExtIcon, setLabel, setMenuType, setName, setNewClientDisabled, setOldClientDisabled, setParent, setPosition, setReactIcon, writeProperties
-
Constructor Details
-
ActionMenuItemImpl
public ActionMenuItemImpl()
-
-
Method Details
-
getType
Description copied from interface:MenuItem
Returns the interface-type of the item -
extendProperties
Description copied from class:AbstractMenuItem
Empty implementation for convinience- Overrides:
extendProperties
in classAbstractMenuItem
- Parameters:
propertyMap
- the propertymap where you can add you're own properties
-
setPath
- Specified by:
setPath
in interfaceActionMenuItem
-
setFullscreen
public void setFullscreen(boolean fullscreen) - Specified by:
setFullscreen
in interfaceActionMenuItem
-
setEndpoint
- Specified by:
setEndpoint
in interfaceActionMenuItem
-
setRunInBackgroundTask
public void setRunInBackgroundTask(boolean runInBackgroundTask) - Specified by:
setRunInBackgroundTask
in interfaceActionMenuItem
-