cern::laser::guiplatform::windows::alarms::AlarmInfoExplorer Class Reference

Inheritance diagram for cern::laser::guiplatform::windows::alarms::AlarmInfoExplorer:
Inheritance graph
[legend]
Collaboration diagram for cern::laser::guiplatform::windows::alarms::AlarmInfoExplorer:
Collaboration graph
[legend]

List of all members.

Classes

class  NodeManager

Public Member Functions

 AlarmInfoExplorer (List alarms, String labelText, String[] columnsToDisplay)
void update (List newAlarms, String newLabelText)
String getName ()
Dimension getPreferredSize ()

Private Member Functions

void initComponents ()

Private Attributes

javax.swing.JLabel alarmNoLabel
javax.swing.JLabel alarmNoValLabel
javax.swing.JPanel infoPanel
javax.swing.JLabel titleLabel
NodeManager nManager = null
Dimension defaultDimension

Static Private Attributes

static final Logger logger
static final String componentName
static final long serialVersionUID = 1L

Detailed Description

An openable window available to the IDE's window manager.

This explorer should be used to display list like Node Children Alarms, MultiplicityChildren Alarms, Alarm which belongs to given category, etc

Author:
Bartlomiej Pawlowski <Bartlomiej.Pawlowski@cern.ch>

Constructor & Destructor Documentation

cern::laser::guiplatform::windows::alarms::AlarmInfoExplorer::AlarmInfoExplorer ( List  alarms,
String  labelText,
String[]  columnsToDisplay 
) [inline]
Parameters:
<code>List</code> with InfoAlarmBeanobjcets to be dispalyed
labelText (i. e. Alarms belong to TEST category, FF FM 1 node children, etc
columnsToDisplay 

References alarmNoValLabel, componentName, initComponents(), logger, nManager, cern::gp::explorer::GPListExplorerPanel::setName(), cern::gp::explorer::ListTableExplorer::setRootNode(), cern::gp::explorer::ListTableExplorer::setTableColumns(), and titleLabel.


Member Function Documentation

String cern::laser::guiplatform::windows::alarms::AlarmInfoExplorer::getName (  )  [inline]

References componentName.

Dimension cern::laser::guiplatform::windows::alarms::AlarmInfoExplorer::getPreferredSize (  )  [inline]

References defaultDimension.

void cern::laser::guiplatform::windows::alarms::AlarmInfoExplorer::initComponents (  )  [inline, private]

This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the FormEditor.

References alarmNoLabel, alarmNoValLabel, infoPanel, and titleLabel.

Referenced by AlarmInfoExplorer().

void cern::laser::guiplatform::windows::alarms::AlarmInfoExplorer::update ( List  newAlarms,
String  newLabelText 
) [inline]

Member Data Documentation

Referenced by initComponents().

Initial value:
 
        NbBundle.getMessage(AlarmInfoExplorer.class, "LBL_AlarmInfoExplorer_component_name")

Referenced by AlarmInfoExplorer(), and getName().

Initial value:
 new Dimension(
            (int) (WindowManager.getDefault().getCurrentWorkspace().getBounds().width / 1.5) , 
            WindowManager.getDefault().getCurrentWorkspace().getBounds().height / 3)

default dimension, used by InhibitList, etc

Referenced by getPreferredSize().

Referenced by initComponents().

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

logger

Referenced by AlarmInfoExplorer().

node manager

Referenced by AlarmInfoExplorer(), and update().


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

Generated by  doxygen 1.6.2