cern::laser::guiplatform::windows::alarms::AlarmDetailsPanel::AlarmPropertiesModel Class Reference

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

List of all members.

Public Member Functions

 AlarmPropertiesModel (List properties, Object[] columnNames)
 AlarmPropertiesModel (List properties)
int getColumnCount ()
int getRowCount ()
Object getValueAt (int rowIndex, int columnIndex)
String getColumnName (int column)
int getMaxLabelLength ()
int getMaxValueLength ()
String getLongestLabel ()
String getLongestValue ()

Private Member Functions

void calculateMaxColumnLenghts ()

Private Attributes

final Logger logger
List properties = null
int maxLabelLength = 0
String longestLabel = null
int maxValueLength = 0
String longestValue = null
Object[] columnNames = null

Constructor & Destructor Documentation

cern::laser::guiplatform::windows::alarms::AlarmDetailsPanel::AlarmPropertiesModel::AlarmPropertiesModel ( List  properties,
Object[]  columnNames 
) [inline]
cern::laser::guiplatform::windows::alarms::AlarmDetailsPanel::AlarmPropertiesModel::AlarmPropertiesModel ( List  properties  )  [inline]
Parameters:
properties List with LabelValueBean objects

Member Function Documentation

void cern::laser::guiplatform::windows::alarms::AlarmDetailsPanel::AlarmPropertiesModel::calculateMaxColumnLenghts (  )  [inline, private]

This method calculates first and second columns max length

References cern::laser::guiplatform::util::LabelValueBean::getLabel(), and cern::laser::guiplatform::util::LabelValueBean::getValue().

int cern::laser::guiplatform::windows::alarms::AlarmDetailsPanel::AlarmPropertiesModel::getColumnCount (  )  [inline]
String cern::laser::guiplatform::windows::alarms::AlarmDetailsPanel::AlarmPropertiesModel::getColumnName ( int  column  )  [inline]
String cern::laser::guiplatform::windows::alarms::AlarmDetailsPanel::AlarmPropertiesModel::getLongestLabel (  )  [inline]
String cern::laser::guiplatform::windows::alarms::AlarmDetailsPanel::AlarmPropertiesModel::getLongestValue (  )  [inline]
int cern::laser::guiplatform::windows::alarms::AlarmDetailsPanel::AlarmPropertiesModel::getMaxLabelLength (  )  [inline]
Returns:
string length, not pixel length
int cern::laser::guiplatform::windows::alarms::AlarmDetailsPanel::AlarmPropertiesModel::getMaxValueLength (  )  [inline]
Returns:
string length, not pixel length
int cern::laser::guiplatform::windows::alarms::AlarmDetailsPanel::AlarmPropertiesModel::getRowCount (  )  [inline]
Object cern::laser::guiplatform::windows::alarms::AlarmDetailsPanel::AlarmPropertiesModel::getValueAt ( int  rowIndex,
int  columnIndex 
) [inline]

Member Data Documentation

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

logger

max first column length

max second column lenght

properties to be displayed


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

Generated by  doxygen 1.6.2