cern::laser::guiplatform::windows::category::ChooseCategoryPanel Class Reference

Collaboration diagram for cern::laser::guiplatform::windows::category::ChooseCategoryPanel:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ChooseCategoryPanel (Configuration configuration)
 ChooseCategoryPanel (Category[] choosenCategories)
Collection getChoosenCategories ()
Category[] getChoosenCategoriesArray ()
void updateCategoryTreeExplorer ()
void loadAllCategoriesInTreeExplorer ()
void reset ()
void addCategory (GPNode node) throws IntrospectionException, CloneNotSupportedException
void addCategoryWithoutChildren (GPNode node) throws IntrospectionException, CloneNotSupportedException
void addSubCategories (GPNode node) throws IntrospectionException, CloneNotSupportedException
void removeCategoryWithoutChildren (GPNode node) throws IntrospectionException, CloneNotSupportedException
void removeSubCategories (GPNode node) throws IntrospectionException, CloneNotSupportedException
void removeCategory (GPNode node)
void removeAllCategories ()
void updateCategorySelection (Configuration newConfiguration) throws LaserConsoleException
void updateState ()
void updateSelection ()

Private Member Functions

void initComponents ()
CategoryTreeExplorer createCategoryTree () throws LaserException
ChoosenCategoryExplorer createChoosenCategoryList (List categories)
int updateState (GPNode gpNode) throws CloneNotSupportedException
void updateSelection (GPNode gpNode) throws CloneNotSupportedException

Private Attributes

JPanel buttonsPanel = null
CategoryTreeExplorer categoryTreeExpl = null
ChoosenCategoryExplorer choosenCategoryExpl = null
Configuration configuration = null
Category[] choosenCategories = null

Static Private Attributes

static Logger logger
static final String configureTreeName = "Available categories"
static final String choosenConfigurationName = "Choosen categories"

Detailed Description

Author:
pawlowsk

Constructor & Destructor Documentation

cern::laser::guiplatform::windows::category::ChooseCategoryPanel::ChooseCategoryPanel ( Configuration  configuration  )  [inline]

Creates a new instance of ChooseCategoryPanel

Parameters:
configuration configuration to be shown

References initComponents().

cern::laser::guiplatform::windows::category::ChooseCategoryPanel::ChooseCategoryPanel ( Category[]  choosenCategories  )  [inline]

References initComponents().


Member Function Documentation

void cern::laser::guiplatform::windows::category::ChooseCategoryPanel::addCategory ( GPNode  node  )  throws IntrospectionException, CloneNotSupportedException [inline]
void cern::laser::guiplatform::windows::category::ChooseCategoryPanel::addCategoryWithoutChildren ( GPNode  node  )  throws IntrospectionException, CloneNotSupportedException [inline]
void cern::laser::guiplatform::windows::category::ChooseCategoryPanel::addSubCategories ( GPNode  node  )  throws IntrospectionException, CloneNotSupportedException [inline]
CategoryTreeExplorer cern::laser::guiplatform::windows::category::ChooseCategoryPanel::createCategoryTree (  )  throws LaserException [inline, private]
ChoosenCategoryExplorer cern::laser::guiplatform::windows::category::ChooseCategoryPanel::createChoosenCategoryList ( List  categories  )  [inline, private]

This method creates list with choosen categories for given user

Parameters:
categories List with Category objects

References choosenCategoryExpl.

Referenced by initComponents().

Collection cern::laser::guiplatform::windows::category::ChooseCategoryPanel::getChoosenCategories (  )  [inline]

This method returns list with categories choosen by user methods for setting category selection

Returns:
Collection with choosen categories

References choosenCategoryExpl, and cern::laser::guiplatform::windows::category::ChoosenCategoryExplorer::getChoosenCategories().

Referenced by cern::laser::guiplatform::windows::configuration::ConsoleConfigurationPanel::createConfiguration(), and getChoosenCategoriesArray().

Category [] cern::laser::guiplatform::windows::category::ChooseCategoryPanel::getChoosenCategoriesArray (  )  [inline]
void cern::laser::guiplatform::windows::category::ChooseCategoryPanel::initComponents (  )  [inline, private]
void cern::laser::guiplatform::windows::category::ChooseCategoryPanel::loadAllCategoriesInTreeExplorer (  )  [inline]
void cern::laser::guiplatform::windows::category::ChooseCategoryPanel::removeAllCategories (  )  [inline]
void cern::laser::guiplatform::windows::category::ChooseCategoryPanel::removeCategory ( GPNode  node  )  [inline]
void cern::laser::guiplatform::windows::category::ChooseCategoryPanel::removeCategoryWithoutChildren ( GPNode  node  )  throws IntrospectionException, CloneNotSupportedException [inline]
void cern::laser::guiplatform::windows::category::ChooseCategoryPanel::removeSubCategories ( GPNode  node  )  throws IntrospectionException, CloneNotSupportedException [inline]
void cern::laser::guiplatform::windows::category::ChooseCategoryPanel::reset (  )  [inline]
void cern::laser::guiplatform::windows::category::ChooseCategoryPanel::updateCategorySelection ( Configuration  newConfiguration  )  throws LaserConsoleException [inline]
void cern::laser::guiplatform::windows::category::ChooseCategoryPanel::updateCategoryTreeExplorer (  )  [inline]
void cern::laser::guiplatform::windows::category::ChooseCategoryPanel::updateSelection ( GPNode  gpNode  )  throws CloneNotSupportedException [inline, private]
void cern::laser::guiplatform::windows::category::ChooseCategoryPanel::updateSelection (  )  [inline]
int cern::laser::guiplatform::windows::category::ChooseCategoryPanel::updateState ( GPNode  gpNode  )  throws CloneNotSupportedException [inline, private]
void cern::laser::guiplatform::windows::category::ChooseCategoryPanel::updateState (  )  [inline]

Member Data Documentation

Panel where are buttons (add, add all, remove, remove all)

Referenced by initComponents().

tree explorer which dispaly category tree

Referenced by initComponents(), loadAllCategoriesInTreeExplorer(), updateSelection(), and updateState().

Referenced by initComponents().

Referenced by initComponents().

configuration to be shown

Referenced by initComponents().

final String cern::laser::guiplatform::windows::category::ChooseCategoryPanel::configureTreeName = "Available categories" [static, private]

configuration variables

Referenced by initComponents().

Initial value:
    LogFactory.getLogger(ChooseCategoryPanel.class.getName())

Referenced by createCategoryTree(), and initComponents().


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2