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

cern::laser::guiplatform::category::CategoryBean Class Reference

List of all members.

Public Member Functions

 CategoryBean (Category category)
void setSelected (boolean flag)
boolean isSelected ()
void setChildrenSelectionState (int state)
int getChildrenSelectionState ()
Category getCategory ()
java.awt.Image getNodeIcon ()
String getName ()
String getPath ()
String getDisplayName ()
Integer getCategoryId ()
String getShortDescription ()
String[] getNodeActions ()
String getNodeDefaultAction ()
Object clone () throws CloneNotSupportedException
void setCloned ()
PropertyInfo[] getPropertyInfo ()

Static Public Attributes

final int STATE_CHILDREN_NOT_SELECTED = 1
final int STATE_CHILDREN_PARTIALY_SELECTED = 2
final int STATE_CHILDREN_ALL_SELECTED = 3

Static Package Attributes

Logger logger = LogFactory.getLogger(CategoryBean.class.getName())

Private Attributes

Category category = null
boolean isCloned = false
int childrenSelectionState = STATE_CHILDREN_NOT_SELECTED
boolean isSelected = false

Static Private Attributes

final String[] nodeActions
final String[] clonedNodeActions
final String defaultNodeActionSelected = RemoveCategoryAction.class.getName()
final String defaultNodeActionNotSelected = AddCategoryAction.class.getName()
final String defaultClonedNodeAction = RemoveCategoryAction.class.getName()

Detailed Description

Author:
pawlowsk


Constructor & Destructor Documentation

cern::laser::guiplatform::category::CategoryBean::CategoryBean Category  category  )  [inline]
 

Creates a new instance of CategoryTest


Member Function Documentation

Object cern::laser::guiplatform::category::CategoryBean::clone  )  throws CloneNotSupportedException [inline]
 

from Cloneable interface

Category cern::laser::guiplatform::category::CategoryBean::getCategory  )  [inline]
 

Integer cern::laser::guiplatform::category::CategoryBean::getCategoryId  )  [inline]
 

int cern::laser::guiplatform::category::CategoryBean::getChildrenSelectionState  )  [inline]
 

String cern::laser::guiplatform::category::CategoryBean::getDisplayName  )  [inline]
 

String cern::laser::guiplatform::category::CategoryBean::getName  )  [inline]
 

String [] cern::laser::guiplatform::category::CategoryBean::getNodeActions  )  [inline]
 

String cern::laser::guiplatform::category::CategoryBean::getNodeDefaultAction  )  [inline]
 

java.awt.Image cern::laser::guiplatform::category::CategoryBean::getNodeIcon  )  [inline]
 

String cern::laser::guiplatform::category::CategoryBean::getPath  )  [inline]
 

PropertyInfo [] cern::laser::guiplatform::category::CategoryBean::getPropertyInfo  )  [inline]
 

String cern::laser::guiplatform::category::CategoryBean::getShortDescription  )  [inline]
 

boolean cern::laser::guiplatform::category::CategoryBean::isSelected  )  [inline]
 

void cern::laser::guiplatform::category::CategoryBean::setChildrenSelectionState int  state  )  [inline]
 

void cern::laser::guiplatform::category::CategoryBean::setCloned  )  [inline]
 

void cern::laser::guiplatform::category::CategoryBean::setSelected boolean  flag  )  [inline]
 


Member Data Documentation

Category cern::laser::guiplatform::category::CategoryBean::category = null [private]
 

category

int cern::laser::guiplatform::category::CategoryBean::childrenSelectionState = STATE_CHILDREN_NOT_SELECTED [private]
 

final String [] cern::laser::guiplatform::category::CategoryBean::clonedNodeActions [static, private]
 

Initial value:

new String[] { DeleteChoosenCategoryAction.class.getName(), DeleteAllChoosenCategoryAction.class.getName(), null, ShowAlarmByCategoryAction.class.getName(), }

final String cern::laser::guiplatform::category::CategoryBean::defaultClonedNodeAction = RemoveCategoryAction.class.getName() [static, private]
 

final String cern::laser::guiplatform::category::CategoryBean::defaultNodeActionNotSelected = AddCategoryAction.class.getName() [static, private]
 

final String cern::laser::guiplatform::category::CategoryBean::defaultNodeActionSelected = RemoveCategoryAction.class.getName() [static, private]
 

boolean cern::laser::guiplatform::category::CategoryBean::isCloned = false [private]
 

indicates that this bean is cloned or not

boolean cern::laser::guiplatform::category::CategoryBean::isSelected = false [private]
 

Logger cern::laser::guiplatform::category::CategoryBean::logger = LogFactory.getLogger(CategoryBean.class.getName()) [static, package]
 

logger

final String [] cern::laser::guiplatform::category::CategoryBean::nodeActions [static, private]
 

Initial value:

new String[] { AddCategoryAction.class.getName(), AddSubCategoriesAction.class.getName(), null, RemoveCategoryAction.class.getName(), RemoveSubCategoriesAction.class.getName(), null, ShowAlarmByCategoryAction.class.getName(), }

final int cern::laser::guiplatform::category::CategoryBean::STATE_CHILDREN_ALL_SELECTED = 3 [static]
 

final int cern::laser::guiplatform::category::CategoryBean::STATE_CHILDREN_NOT_SELECTED = 1 [static]
 

final int cern::laser::guiplatform::category::CategoryBean::STATE_CHILDREN_PARTIALY_SELECTED = 2 [static]
 


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