# Uses of Enum Class
com.orchestranetworks.ui.toolbar.ToolbarLocation

Packages that use ToolbarLocation
Package
Description
com.orchestranetworks.ui.toolbar
This package allows customizing toolbars.
com.orchestranetworks.userservice.declaration
A public API for declaring user services.
com.orchestranetworks.userservice.permission
Allows the definition of activation rules and permission rules on user services.

- ## Uses of ToolbarLocation in com.orchestranetworks.ui.toolbar

  Methods in com.orchestranetworks.ui.toolbar that return ToolbarLocation
  Modifier and Type
  Method
  Description
  `static ToolbarLocation`
  ToolbarLocation.`valueOf(String name)`
  Returns the enum constant of this class with the specified name.
  `static ToolbarLocation[]`
  ToolbarLocation.`values()`
  Returns an array containing the constants of this enum class, in the order they are declared.
  Methods in com.orchestranetworks.ui.toolbar with parameters of type ToolbarLocation
  Modifier and Type
  Method
  Description
  `static final Toolbar`
  ToolbarFactory.`newToolbar(ToolbarLocation... toolbarLocations)`
  Returns a new toolbar instance.

- ## Uses of ToolbarLocation in com.orchestranetworks.userservice.declaration

  Methods in com.orchestranetworks.userservice.declaration that return types with arguments of type ToolbarLocation
  Modifier and Type
  Method
  Description
  `Set<ToolbarLocation>`
  ActivationContext.`getAvailableToolbarLocations()`
  Returns all the possible toolbar locations where the current user service declaration can be displayed.
  Methods in com.orchestranetworks.userservice.declaration with parameters of type ToolbarLocation
  Modifier and Type
  Method
  Description
  `void`
  ActivationContext.`setDisplayForLocations(ActionDisplaySpec aSpec, ToolbarLocation... someToolbarLocations)`
  Specifies if and how the action launching the service is displayed in the specified locations.

- ## Uses of ToolbarLocation in com.orchestranetworks.userservice.permission

  Methods in com.orchestranetworks.userservice.permission that return ToolbarLocation
  Modifier and Type
  Method
  Description
  `ToolbarLocation`
  ServicePermissionRuleContext.`getToolbarLocation()`
  When the permission is being evaluated for displaying or hiding the service as a toolbar action (a button or a menu item), returns the toolbar location containing this action.