Public Member Functions

cern.laser.client.services.selection.CategorySelection Interface Reference

Inheritance diagram for cern.laser.client.services.selection.CategorySelection:
cern.laser.client.impl.services.selection.CategorySelectionImpl

List of all members.

Public Member Functions

boolean add (Category category)
boolean addAll (Collection categories)
boolean remove (Category category)
boolean contains (Category category)
Category[] list ()

Detailed Description

The category selection interface. It is the part of an alarm selection containing the interested categories.


Member Function Documentation

boolean cern.laser.client.services.selection.CategorySelection.add ( Category  category  ) 
boolean cern.laser.client.services.selection.CategorySelection.addAll ( Collection  categories  ) 

Adds all of the categories in the specified collection to this selection if they're not already present.

Returns:
true if this selection changed as a result of the call
Parameters:
categories collection whose elements are to be added to this selection
boolean cern.laser.client.services.selection.CategorySelection.contains ( Category  category  ) 

Check if the category is part of the selection.

Parameters:
category the category to check
Returns:
true iff the category is part of the selection
Category [] cern.laser.client.services.selection.CategorySelection.list (  ) 

List the selected categories.

Returns:
an array containing the selected categories
boolean cern.laser.client.services.selection.CategorySelection.remove ( Category  category  ) 

Remove a category from the selection.

Parameters:
category the category to be removed
Returns:
true if the selection contained the specified category

The documentation for this interface was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties