Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

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

Logger logger
final String configureTreeName = "Available categories"
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

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


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]
 

This method creates category tree

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

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

methods for setting category selection

Returns:
Collection with choosen categories

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

void cern::laser::guiplatform::windows::category::ChooseCategoryPanel::initComponents  )  [inline, private]
 

Created a new instance of ChooseCategoryPanel

Parameters:
 

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]
 

This method reset this panel

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

JPanel cern::laser::guiplatform::windows::category::ChooseCategoryPanel::buttonsPanel = null [private]
 

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

CategoryTreeExplorer cern::laser::guiplatform::windows::category::ChooseCategoryPanel::categoryTreeExpl = null [private]
 

tree explorer which dispaly category tree

Category [] cern::laser::guiplatform::windows::category::ChooseCategoryPanel::choosenCategories = null [private]
 

ChoosenCategoryExplorer cern::laser::guiplatform::windows::category::ChooseCategoryPanel::choosenCategoryExpl = null [private]
 

list explorer with choosen categories

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

Configuration cern::laser::guiplatform::windows::category::ChooseCategoryPanel::configuration = null [private]
 

configuration to be shown

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

configuration variables

Logger cern::laser::guiplatform::windows::category::ChooseCategoryPanel::logger [static, private]
 

Initial value:

LogFactory.getLogger(ChooseCategoryPanel.class.getName())


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 03:09:40 2009 for ACS Java API by doxygen 1.3.8