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