Public Member Functions | |
AlarmBean (CommentedAlarm commentedAlarm) | |
AlarmBean () | |
CommentedAlarm | getCommentedAlarm () |
void | setCommentedAlarm (CommentedAlarm newCommentedAlarm) |
boolean | isAlarmNodeActive () |
void | setIsAlarmNodeActive () |
boolean | isAlarmNodeInhibited () |
void | setIsAlarmNodeInhibited (boolean flag) |
boolean | isAlarmNodeMasked () |
void | setIsAlarmNodeMasked (boolean flag) |
boolean | isAlarmNodeHighlighted () |
void | setIsAlarmNodeHighlighted (boolean flag) |
boolean | isAlarmNodeHighlightedAndKlaxon () |
void | setIsAlarmNodeHighlightedAndKlaxon (boolean flag) |
int | getHighlightedOrKlaxon () |
void | setHighlightedOrKlaxon (final int highlightedOrKlaxon) |
void | setIsAlarmNodeAcknowledged (boolean flag) |
boolean | isAlarmNodeAcknowledged () |
boolean | isAlarmNodeInstant () |
void | setIsAlarmNodeInstant (boolean flag) |
boolean | isOnHighlightedList () |
void | setIsOnHighlightedList (boolean flag) |
boolean | isNew () |
void | setIsNew (boolean flag) |
void | setInfoMode (boolean flag) |
boolean | infoMode () |
String | getAlarmId () |
Integer | getPriority () |
Collection | getCategories () |
ResponsiblePerson | getResponsiblePerson () |
Location | getLocation () |
String | getProblemDescription () |
Source | getSource () |
String | getSourceName () |
String | getFaultFamily () |
String | getFaultMember () |
Integer | getFaultCode () |
String | getTimestamp () |
String | getSourceTimestamp () |
String | getUserTimestamp () |
Timestamp | getTimestampForSorting () |
String | getSourceHostName () |
String | getUserData () |
String | getIdentifier () |
String | getSystemName () |
boolean | isActive () |
boolean | getIsActive () |
boolean | isMasked () |
boolean | isNodeChild () |
boolean | isNodeParent () |
boolean | isNodeReduced () |
boolean | isMultiplicityParent () |
boolean | isMultiplicityChild () |
boolean | isReduced () |
List | getTimestamps () |
List | getDynamicInfo (boolean withEmptyFields) |
List | getStaticInfo (boolean withEmptyFields) |
String | getName () |
String | getDisplayName () |
String | getDate () |
String | getTime () |
String | getNodeDefaultAction () |
Image | getNewIcon () |
Image | getNodeIcon () |
Image | getNodeIcon (boolean isSelected) |
String[] | getNodeActions () |
Color | getBackgroundColor () |
Color | getForegroundColor () |
Font | getFont () |
void | details () |
Object | clone () throws CloneNotSupportedException |
void | propertyChange (java.beans.PropertyChangeEvent evt) |
boolean | equals (Object obj) |
int | hashCode () |
void | registerPropertyChangeListener (PropertyChangeListener listener) |
void | addPropertyChangeListener (PropertyChangeListener listener) |
void | removePropertyChangeListener (PropertyChangeListener listener) |
String | checkIfNull (String str) |
SystemAction[] | getActions () |
int | compareTo (Object o) |
void | fireFontChanged () |
Color | getStandardBackgroundColor () |
Color | getStandardForegroundColor () |
Protected Attributes | |
String | consoleTimeStamp = null |
PropertyChangeListener | propertyListener = null |
String[] | nodeActions = null |
String[] | instantNodeActions = null |
String | defaultActionName = null |
Color | foregroundColor = Color.black |
Color | backgroundColor = new Color(70, 92, 113) |
boolean | isAlarmNodeActive = true |
boolean | isAlarmNodeInhibited = false |
boolean | isAlarmNodeMasked = false |
boolean | isAlarmNodeHighlighted = false |
boolean | isAlarmNodeHighlightedAndKlaxon = false |
boolean | isAlarmNodeAcknowledged = false |
int | highlitedOrKlaxonOrBoth = AlarmConstants.HIGHLIGHTED_ONLY |
boolean | isAlarmNodeInstant = false |
boolean | isNew = true |
boolean | infoMode = false |
boolean | isOnHighlightedList = false |
CommentedAlarm | commentedAlarm = null |
Static Protected Attributes | |
static final String[] | INSTANT_NODE_ACTIONS |
static final String | DEFAULT_ACTION_NAME = null |
Private Member Functions | |
void | addToList (List list, String key, String value, boolean withEmptyFields) |
Image | prepareIcon (String imagePathNew, String imagePathNotNew) |
void | changeBackgroundForeground () |
String | getPrefix () |
String | getSuffix () |
Private Attributes | |
PropertyChangeSupport | changes = new PropertyChangeSupport(this) |
Static Private Attributes | |
static final Logger | LOGGER |
static String[] | NODE_ACTIONS |
Adapater class wrapping Alarm
cern::laser::guiplatform::alarms::AlarmBean::AlarmBean | ( | CommentedAlarm | commentedAlarm | ) | [inline] |
Creates new AlarmAdapter from an Alarm object
References changeBackgroundForeground(), consoleTimeStamp, DEFAULT_ACTION_NAME, defaultActionName, INSTANT_NODE_ACTIONS, instantNodeActions, NODE_ACTIONS, and nodeActions.
cern::laser::guiplatform::alarms::AlarmBean::AlarmBean | ( | ) | [inline] |
This constructor should be used only for changing column names setTableColumns(Object bean, String[] propertyNames)
Constructor made only because of GP ListTableExplorer.setTableColumns method.
References consoleTimeStamp.
Referenced by details().
void cern::laser::guiplatform::alarms::AlarmBean::addPropertyChangeListener | ( | PropertyChangeListener | listener | ) | [inline] |
References changes.
Referenced by registerPropertyChangeListener().
void cern::laser::guiplatform::alarms::AlarmBean::addToList | ( | List | list, | |
String | key, | |||
String | value, | |||
boolean | withEmptyFields | |||
) | [inline, private] |
helper method, which adds static properites to list depending on withEmptyFields value
list | ||
key | key for LabelValueBean | |
value | value for LabelValueBean (property value) | |
withEmptyFields |
Referenced by getDynamicInfo(), and getStaticInfo().
void cern::laser::guiplatform::alarms::AlarmBean::changeBackgroundForeground | ( | ) | [inline, private] |
References foregroundColor, getPriority(), isActive(), isAlarmNodeAcknowledged(), isAlarmNodeInhibited(), isAlarmNodeMasked(), and isOnHighlightedList().
Referenced by AlarmBean(), setCommentedAlarm(), setHighlightedOrKlaxon(), setIsAlarmNodeAcknowledged(), setIsAlarmNodeActive(), setIsAlarmNodeHighlighted(), setIsAlarmNodeHighlightedAndKlaxon(), setIsAlarmNodeInhibited(), setIsAlarmNodeMasked(), setIsNew(), and setIsOnHighlightedList().
String cern::laser::guiplatform::alarms::AlarmBean::checkIfNull | ( | String | str | ) | [inline] |
str | string to be checked if it is null |
Referenced by getStaticInfo().
Object cern::laser::guiplatform::alarms::AlarmBean::clone | ( | ) | throws CloneNotSupportedException [inline] |
int cern::laser::guiplatform::alarms::AlarmBean::compareTo | ( | Object | o | ) | [inline] |
References getAlarmId(), getPriority(), and getTimestampForSorting().
void cern::laser::guiplatform::alarms::AlarmBean::details | ( | ) | [inline] |
boolean cern::laser::guiplatform::alarms::AlarmBean::equals | ( | Object | obj | ) | [inline] |
References getAlarmId().
void cern::laser::guiplatform::alarms::AlarmBean::fireFontChanged | ( | ) | [inline] |
References changes.
Referenced by cern::laser::guiplatform::alarms::AlarmNodeManager::fireFontChanged().
SystemAction [] cern::laser::guiplatform::alarms::AlarmBean::getActions | ( | ) | [inline] |
String cern::laser::guiplatform::alarms::AlarmBean::getAlarmId | ( | ) | [inline] |
References commentedAlarm, cern::laser::console::CommentedAlarm::getAlarm(), and cern::laser::client::data::Alarm::getAlarmId().
Referenced by cern::laser::guiplatform::alarms::AlarmContainer::acknowledge(), cern::laser::guiplatform::explorer::ACChildrenMap::addNode(), compareTo(), details(), equals(), cern::laser::guiplatform::alarms::AlarmContainer::highlight(), cern::laser::guiplatform::alarms::AlarmNodeManagerImpl::initChildrenMap(), cern::laser::guiplatform::windows::alarms::AlarmInfoExplorer::NodeManager::initChildrenMap(), cern::laser::guiplatform::alarms::AlarmContainer::initContainer(), cern::laser::guiplatform::actions::alarms::ShowNodeChildrenAction::performAction(), cern::laser::guiplatform::actions::alarms::ShowMultiplicityChildrenAction::performAction(), cern::laser::guiplatform::actions::alarms::ShowActiveNodeChildrenAction::performAction(), cern::laser::guiplatform::actions::alarms::ShowActiveMultiplicityChildrenAction::performAction(), cern::laser::guiplatform::alarms::AlarmContainer::reloadContainer(), cern::laser::guiplatform::alarms::AlarmNodeManagerImpl::removeAlarm(), cern::laser::guiplatform::alarms::AlarmContainer::uninhibit(), cern::laser::guiplatform::alarms::AlarmContainer::unmask(), and cern::laser::guiplatform::windows::alarms::AlarmInfoExplorer::NodeManager::updateManager().
Color cern::laser::guiplatform::alarms::AlarmBean::getBackgroundColor | ( | ) | [inline] |
References backgroundColor, foregroundColor, getHighlightedOrKlaxon(), isAlarmNodeHighlighted(), isAlarmNodeHighlightedAndKlaxon(), and isOnHighlightedList().
Referenced by cern::laser::guiplatform::explorer::ACTreeTableView::MyTableCellRenderer::getTableCellRendererComponent().
Collection cern::laser::guiplatform::alarms::AlarmBean::getCategories | ( | ) | [inline] |
getter for the categories to which the alarm belongs
References commentedAlarm, cern::laser::console::CommentedAlarm::getAlarm(), and cern::laser::client::data::Alarm::getCategories().
Referenced by cern::laser::guiplatform::alarms::AlarmContainer::belongsToSelectedCategories().
CommentedAlarm cern::laser::guiplatform::alarms::AlarmBean::getCommentedAlarm | ( | ) | [inline] |
This method is used by AlarmContainer when new Commnet shoud be set (inhibit, mask, etc)
References commentedAlarm.
Referenced by cern::laser::guiplatform::alarms::AlarmContainer::acknowledge(), cern::laser::guiplatform::actions::alarms::ShowHelpUrlInBrowserAction::enable(), cern::laser::guiplatform::alarms::AlarmContainer::highlight(), cern::laser::guiplatform::alarms::AlarmContainer::highlightAndKlaxon(), cern::laser::guiplatform::alarms::AlarmContainer::inhibit(), cern::laser::guiplatform::windows::search::SearchWindow::jButton2ActionPerformed(), cern::laser::guiplatform::alarms::AlarmContainer::mask(), prepareIcon(), and cern::laser::guiplatform::alarms::AlarmContainer::unhighlightAndKlaxon().
String cern::laser::guiplatform::alarms::AlarmBean::getDate | ( | ) | [inline] |
References getUserTimestamp().
String cern::laser::guiplatform::alarms::AlarmBean::getDisplayName | ( | ) | [inline] |
References getName().
Referenced by cern::laser::guiplatform::alarms::AlarmBeanNode::getName().
List cern::laser::guiplatform::alarms::AlarmBean::getDynamicInfo | ( | boolean | withEmptyFields | ) | [inline] |
withEmptyFields | indicates whether all fileds should be returned or only not empty |
List
with LabelValueBean
objects References addToList(), commentedAlarm, cern::laser::console::CommentedAlarm::getAlarm(), and cern::laser::client::data::Alarm::getStatus().
Integer cern::laser::guiplatform::alarms::AlarmBean::getFaultCode | ( | ) | [inline] |
getter for the fault code
References commentedAlarm, cern::laser::console::CommentedAlarm::getAlarm(), cern::laser::client::data::Triplet::getFaultCode(), and cern::laser::client::data::Alarm::getTriplet().
Referenced by getStaticInfo(), and cern::laser::guiplatform::windowmanager::AcWindowManager::showTimestamps().
String cern::laser::guiplatform::alarms::AlarmBean::getFaultFamily | ( | ) | [inline] |
getter for the fault family
References commentedAlarm, cern::laser::console::CommentedAlarm::getAlarm(), cern::laser::client::data::Triplet::getFaultFamily(), and cern::laser::client::data::Alarm::getTriplet().
Referenced by getStaticInfo(), cern::laser::guiplatform::actions::alarms::ShowNodeChildrenAction::performAction(), cern::laser::guiplatform::actions::alarms::ShowMultiplicityChildrenAction::performAction(), cern::laser::guiplatform::actions::alarms::ShowActiveNodeChildrenAction::performAction(), cern::laser::guiplatform::actions::alarms::ShowActiveMultiplicityChildrenAction::performAction(), and cern::laser::guiplatform::windowmanager::AcWindowManager::showTimestamps().
String cern::laser::guiplatform::alarms::AlarmBean::getFaultMember | ( | ) | [inline] |
getter for the fault Member
References commentedAlarm, cern::laser::console::CommentedAlarm::getAlarm(), cern::laser::client::data::Triplet::getFaultMember(), and cern::laser::client::data::Alarm::getTriplet().
Referenced by getStaticInfo(), and cern::laser::guiplatform::windowmanager::AcWindowManager::showTimestamps().
Font cern::laser::guiplatform::alarms::AlarmBean::getFont | ( | ) | [inline] |
Color cern::laser::guiplatform::alarms::AlarmBean::getForegroundColor | ( | ) | [inline] |
from colormaster
References backgroundColor, foregroundColor, getHighlightedOrKlaxon(), isAlarmNodeHighlighted(), isAlarmNodeHighlightedAndKlaxon(), and isOnHighlightedList().
Referenced by cern::laser::guiplatform::explorer::ACTreeTableView::MyTableCellRenderer::getTableCellRendererComponent().
int cern::laser::guiplatform::alarms::AlarmBean::getHighlightedOrKlaxon | ( | ) | [inline] |
this metod wheter alarm should be only highlighted or should have klaxon or maybe both
should not be used, this should be check on AutoKlaxon list
References highlitedOrKlaxonOrBoth.
Referenced by getBackgroundColor(), and getForegroundColor().
String cern::laser::guiplatform::alarms::AlarmBean::getIdentifier | ( | ) | [inline] |
References commentedAlarm, cern::laser::console::CommentedAlarm::getAlarm(), and cern::laser::client::data::Alarm::getIdentifier().
boolean cern::laser::guiplatform::alarms::AlarmBean::getIsActive | ( | ) | [inline] |
debug method used to dispaly status on the console
References isActive().
Location cern::laser::guiplatform::alarms::AlarmBean::getLocation | ( | ) | [inline] |
getter for the location of the equipment
References commentedAlarm, cern::laser::console::CommentedAlarm::getAlarm(), and cern::laser::client::data::Alarm::getLocation().
String cern::laser::guiplatform::alarms::AlarmBean::getName | ( | ) | [inline] |
Reimplemented in cern::laser::guiplatform::alarms::InfoAlarmBean.
References commentedAlarm, cern::laser::console::CommentedAlarm::getAlarm(), cern::laser::client::data::Triplet::getFaultCode(), cern::laser::client::data::Triplet::getFaultFamily(), cern::laser::client::data::Triplet::getFaultMember(), cern::laser::client::data::Alarm::getTriplet(), isAlarmNodeActive(), and isOnHighlightedList().
Referenced by details(), getDisplayName(), cern::laser::guiplatform::alarms::AlarmContainer::initContainer(), propertyChange(), and setCommentedAlarm().
Image cern::laser::guiplatform::alarms::AlarmBean::getNewIcon | ( | ) | [inline] |
References getPriority(), and isNew().
String [] cern::laser::guiplatform::alarms::AlarmBean::getNodeActions | ( | ) | [inline] |
String cern::laser::guiplatform::alarms::AlarmBean::getNodeDefaultAction | ( | ) | [inline] |
References defaultActionName.
Image cern::laser::guiplatform::alarms::AlarmBean::getNodeIcon | ( | boolean | isSelected | ) | [inline] |
References getPriority(), and prepareIcon().
Image cern::laser::guiplatform::alarms::AlarmBean::getNodeIcon | ( | ) | [inline] |
String cern::laser::guiplatform::alarms::AlarmBean::getPrefix | ( | ) | [inline, private] |
References commentedAlarm, cern::laser::console::CommentedAlarm::getAlarm(), and cern::laser::client::data::Alarm::getStatus().
Referenced by getProblemDescription().
Integer cern::laser::guiplatform::alarms::AlarmBean::getPriority | ( | ) | [inline] |
getter for the priority of the alarm
References commentedAlarm, cern::laser::console::CommentedAlarm::getAlarm(), and cern::laser::client::data::Alarm::getPriority().
Referenced by changeBackgroundForeground(), compareTo(), getNewIcon(), and getNodeIcon().
String cern::laser::guiplatform::alarms::AlarmBean::getProblemDescription | ( | ) | [inline] |
getter for the problem description
References commentedAlarm, cern::laser::console::CommentedAlarm::getAlarm(), getPrefix(), cern::laser::client::data::Alarm::getProblemDescription(), and getSuffix().
ResponsiblePerson cern::laser::guiplatform::alarms::AlarmBean::getResponsiblePerson | ( | ) | [inline] |
getter for the responsible person for this equipement
References commentedAlarm, cern::laser::console::CommentedAlarm::getAlarm(), and cern::laser::client::data::Alarm::getResponsiblePerson().
Source cern::laser::guiplatform::alarms::AlarmBean::getSource | ( | ) | [inline] |
getter for the alarm source
References commentedAlarm, cern::laser::console::CommentedAlarm::getAlarm(), and cern::laser::client::data::Alarm::getSource().
String cern::laser::guiplatform::alarms::AlarmBean::getSourceHostName | ( | ) | [inline] |
References commentedAlarm, cern::laser::console::CommentedAlarm::getAlarm(), and cern::laser::client::data::Alarm::getStatus().
String cern::laser::guiplatform::alarms::AlarmBean::getSourceName | ( | ) | [inline] |
getter for the alarm source name
References commentedAlarm, cern::laser::console::CommentedAlarm::getAlarm(), cern::laser::client::data::Source::getName(), and cern::laser::client::data::Alarm::getSource().
String cern::laser::guiplatform::alarms::AlarmBean::getSourceTimestamp | ( | ) | [inline] |
References commentedAlarm, cern::laser::console::CommentedAlarm::getAlarm(), and cern::laser::client::data::Alarm::getStatus().
Color cern::laser::guiplatform::alarms::AlarmBean::getStandardBackgroundColor | ( | ) | [inline] |
Color cern::laser::guiplatform::alarms::AlarmBean::getStandardForegroundColor | ( | ) | [inline] |
List cern::laser::guiplatform::alarms::AlarmBean::getStaticInfo | ( | boolean | withEmptyFields | ) | [inline] |
withEmptyFields | indicates whether all fileds should be returned or only not empty |
List
with LabelValueBean
objects References addToList(), checkIfNull(), commentedAlarm, cern::laser::client::data::Alarm::getAction(), cern::laser::console::CommentedAlarm::getAlarm(), cern::laser::client::data::Location::getBuilding(), cern::laser::client::data::Alarm::getCause(), cern::laser::client::data::Alarm::getConsequence(), cern::laser::client::data::Source::getDescription(), cern::laser::client::data::ResponsiblePerson::getEMail(), cern::laser::client::data::ResponsiblePerson::getFamilyName(), getFaultCode(), getFaultFamily(), getFaultMember(), cern::laser::client::data::ResponsiblePerson::getFirstName(), cern::laser::client::data::Location::getFloor(), cern::laser::client::data::ResponsiblePerson::getGsmNumber(), cern::laser::client::data::Alarm::getHelpURL(), cern::laser::client::data::Alarm::getLocation(), cern::laser::client::data::Location::getMap(), cern::laser::client::data::Location::getMnemonic(), cern::laser::client::data::Source::getName(), cern::laser::client::data::ResponsiblePerson::getPhoneNumber(), cern::laser::client::data::Alarm::getPiquetEmail(), cern::laser::client::data::Alarm::getPiquetGSM(), cern::laser::client::data::Location::getPosition(), cern::laser::client::data::Alarm::getPriority(), cern::laser::client::data::Alarm::getProblemDescription(), cern::laser::client::data::Source::getResponsiblePerson(), cern::laser::client::data::Alarm::getResponsiblePerson(), cern::laser::client::data::Location::getRoom(), cern::laser::client::data::Location::getSite(), cern::laser::client::data::Alarm::getSource(), and cern::laser::client::data::Location::getZone().
String cern::laser::guiplatform::alarms::AlarmBean::getSuffix | ( | ) | [inline, private] |
References commentedAlarm, cern::laser::console::CommentedAlarm::getAlarm(), and cern::laser::client::data::Alarm::getStatus().
Referenced by getProblemDescription().
String cern::laser::guiplatform::alarms::AlarmBean::getSystemName | ( | ) | [inline] |
References commentedAlarm, cern::laser::console::CommentedAlarm::getAlarm(), and cern::laser::client::data::Alarm::getSystemName().
String cern::laser::guiplatform::alarms::AlarmBean::getTime | ( | ) | [inline] |
References getUserTimestamp().
String cern::laser::guiplatform::alarms::AlarmBean::getTimestamp | ( | ) | [inline] |
References commentedAlarm, cern::laser::console::CommentedAlarm::getAlarm(), and cern::laser::client::data::Alarm::getStatus().
Timestamp cern::laser::guiplatform::alarms::AlarmBean::getTimestampForSorting | ( | ) | [inline] |
References commentedAlarm, cern::laser::console::CommentedAlarm::getAlarm(), and cern::laser::client::data::Alarm::getStatus().
Referenced by compareTo().
List cern::laser::guiplatform::alarms::AlarmBean::getTimestamps | ( | ) | [inline] |
List
with LabelValueBean
objects References commentedAlarm, consoleTimeStamp, cern::laser::console::CommentedAlarm::getAlarm(), cern::laser::client::data::Alarm::getStatus(), and LOGGER.
Referenced by cern::laser::guiplatform::windowmanager::AcWindowManager::showTimestamps().
String cern::laser::guiplatform::alarms::AlarmBean::getUserData | ( | ) | [inline] |
References commentedAlarm, cern::laser::console::CommentedAlarm::getAlarm(), and cern::laser::client::data::Alarm::getStatus().
String cern::laser::guiplatform::alarms::AlarmBean::getUserTimestamp | ( | ) | [inline] |
References commentedAlarm, cern::laser::console::CommentedAlarm::getAlarm(), and cern::laser::client::data::Alarm::getStatus().
int cern::laser::guiplatform::alarms::AlarmBean::hashCode | ( | ) | [inline] |
Return the object hashcode
References commentedAlarm, and cern::laser::console::CommentedAlarm::getAlarm().
boolean cern::laser::guiplatform::alarms::AlarmBean::infoMode | ( | ) | [inline] |
Referenced by prepareIcon(), and setInfoMode().
boolean cern::laser::guiplatform::alarms::AlarmBean::isActive | ( | ) | [inline] |
This is bussines method
Reimplemented in cern::laser::guiplatform::alarms::InfoAlarmBean.
References commentedAlarm, cern::laser::console::CommentedAlarm::getAlarm(), cern::laser::client::data::Alarm::getStatus(), isMasked(), and isReduced().
Referenced by changeBackgroundForeground(), getIsActive(), and cern::laser::guiplatform::alarms::AlarmContainer::removeNewOrTerminatedAlarms().
boolean cern::laser::guiplatform::alarms::AlarmBean::isAlarmNodeAcknowledged | ( | ) | [inline] |
Referenced by changeBackgroundForeground(), getFont(), and setIsAlarmNodeAcknowledged().
boolean cern::laser::guiplatform::alarms::AlarmBean::isAlarmNodeActive | ( | ) | [inline] |
Referenced by getName(), setIsAlarmNodeActive(), setIsAlarmNodeInhibited(), setIsAlarmNodeInstant(), and setIsAlarmNodeMasked().
boolean cern::laser::guiplatform::alarms::AlarmBean::isAlarmNodeHighlighted | ( | ) | [inline] |
Referenced by getBackgroundColor(), getForegroundColor(), propertyChange(), and setIsAlarmNodeHighlighted().
boolean cern::laser::guiplatform::alarms::AlarmBean::isAlarmNodeHighlightedAndKlaxon | ( | ) | [inline] |
Referenced by getBackgroundColor(), getForegroundColor(), propertyChange(), and setIsAlarmNodeHighlightedAndKlaxon().
boolean cern::laser::guiplatform::alarms::AlarmBean::isAlarmNodeInhibited | ( | ) | [inline] |
boolean cern::laser::guiplatform::alarms::AlarmBean::isAlarmNodeInstant | ( | ) | [inline] |
Referenced by setIsAlarmNodeActive(), setIsAlarmNodeInhibited(), setIsAlarmNodeInstant(), and setIsAlarmNodeMasked().
boolean cern::laser::guiplatform::alarms::AlarmBean::isAlarmNodeMasked | ( | ) | [inline] |
Referenced by changeBackgroundForeground(), prepareIcon(), setIsAlarmNodeActive(), setIsAlarmNodeInhibited(), setIsAlarmNodeInstant(), and setIsAlarmNodeMasked().
boolean cern::laser::guiplatform::alarms::AlarmBean::isMasked | ( | ) | [inline] |
References commentedAlarm, cern::laser::console::CommentedAlarm::getAlarm(), and cern::laser::client::data::Alarm::getStatus().
Referenced by isActive().
boolean cern::laser::guiplatform::alarms::AlarmBean::isMultiplicityChild | ( | ) | [inline] |
References commentedAlarm, cern::laser::console::CommentedAlarm::getAlarm(), and cern::laser::client::data::Alarm::isMultiplicityChild().
boolean cern::laser::guiplatform::alarms::AlarmBean::isMultiplicityParent | ( | ) | [inline] |
References commentedAlarm, cern::laser::console::CommentedAlarm::getAlarm(), and cern::laser::client::data::Alarm::isMultiplicityParent().
Referenced by getFont().
boolean cern::laser::guiplatform::alarms::AlarmBean::isNew | ( | ) | [inline] |
Referenced by getNewIcon(), and setIsNew().
boolean cern::laser::guiplatform::alarms::AlarmBean::isNodeChild | ( | ) | [inline] |
Tests if the alarm is a node child
References commentedAlarm, cern::laser::console::CommentedAlarm::getAlarm(), and cern::laser::client::data::Alarm::isNodeChild().
boolean cern::laser::guiplatform::alarms::AlarmBean::isNodeParent | ( | ) | [inline] |
Tests if the alarm is a node parent
References commentedAlarm, cern::laser::console::CommentedAlarm::getAlarm(), and cern::laser::client::data::Alarm::isNodeParent().
Referenced by getFont().
boolean cern::laser::guiplatform::alarms::AlarmBean::isNodeReduced | ( | ) | [inline] |
Tests if a node reduction is applied on this alarm
References commentedAlarm, cern::laser::console::CommentedAlarm::getAlarm(), and cern::laser::client::data::Alarm::getStatus().
boolean cern::laser::guiplatform::alarms::AlarmBean::isOnHighlightedList | ( | ) | [inline] |
Referenced by changeBackgroundForeground(), getBackgroundColor(), getForegroundColor(), getName(), prepareIcon(), and setIsOnHighlightedList().
boolean cern::laser::guiplatform::alarms::AlarmBean::isReduced | ( | ) | [inline] |
References commentedAlarm, cern::laser::console::CommentedAlarm::getAlarm(), and cern::laser::client::data::Alarm::getStatus().
Referenced by isActive().
Image cern::laser::guiplatform::alarms::AlarmBean::prepareIcon | ( | String | imagePathNew, | |
String | imagePathNotNew | |||
) | [inline, private] |
imagePathNew | ||
imagePathNotNew |
References commentedAlarm, cern::laser::console::CommentedAlarm::getAlarm(), getCommentedAlarm(), infoMode(), isAlarmNodeInhibited(), isAlarmNodeMasked(), cern::laser::client::data::Alarm::isInstant(), cern::laser::client::data::Alarm::isMultiplicityParent(), cern::laser::client::data::Alarm::isNodeParent(), and isOnHighlightedList().
Referenced by getNodeIcon().
void cern::laser::guiplatform::alarms::AlarmBean::propertyChange | ( | java.beans.PropertyChangeEvent | evt | ) | [inline] |
References getName(), isAlarmNodeHighlighted(), isAlarmNodeHighlightedAndKlaxon(), and LOGGER.
void cern::laser::guiplatform::alarms::AlarmBean::registerPropertyChangeListener | ( | PropertyChangeListener | listener | ) | [inline] |
References addPropertyChangeListener(), propertyListener, and removePropertyChangeListener().
Referenced by cern::laser::guiplatform::alarms::AlarmContainer::addAlarmToActiveList(), cern::laser::guiplatform::alarms::AlarmContainer::highlightAndKlaxon(), cern::laser::guiplatform::alarms::AlarmContainer::initContainer(), and cern::laser::guiplatform::alarms::AlarmContainer::reloadContainer().
void cern::laser::guiplatform::alarms::AlarmBean::removePropertyChangeListener | ( | PropertyChangeListener | listener | ) | [inline] |
References changes.
Referenced by registerPropertyChangeListener().
void cern::laser::guiplatform::alarms::AlarmBean::setCommentedAlarm | ( | CommentedAlarm | newCommentedAlarm | ) | [inline] |
void cern::laser::guiplatform::alarms::AlarmBean::setHighlightedOrKlaxon | ( | final int | highlightedOrKlaxon | ) | [inline] |
Sets flag, which indicates whether, this alarm should be only highlighted, or should a klaxon or maybe both
highlightedOrKlaxon | AlarmConstans.HIGHLIGHTED_ONLY or AlarmConstans.KLAXON_ONLY or AlarmConstans.HIGHLIGHTED_AND_KLAXON |
References changeBackgroundForeground(), and highlitedOrKlaxonOrBoth.
Referenced by cern::laser::guiplatform::alarms::AlarmContainer::highlightAndKlaxon().
void cern::laser::guiplatform::alarms::AlarmBean::setInfoMode | ( | boolean | flag | ) | [inline] |
References infoMode().
Referenced by cern::laser::guiplatform::actions::alarms::ShowNodeChildrenAction::performAction(), cern::laser::guiplatform::actions::alarms::ShowMultiplicityChildrenAction::performAction(), cern::laser::guiplatform::actions::category::ShowAlarmByCategoryAction::performAction(), cern::laser::guiplatform::actions::alarms::ShowActiveNodeChildrenAction::performAction(), and cern::laser::guiplatform::actions::alarms::ShowActiveMultiplicityChildrenAction::performAction().
void cern::laser::guiplatform::alarms::AlarmBean::setIsAlarmNodeAcknowledged | ( | boolean | flag | ) | [inline] |
References changeBackgroundForeground(), changes, isAlarmNodeAcknowledged(), and LOGGER.
Referenced by cern::laser::guiplatform::alarms::AlarmContainer::acknowledge(), cern::laser::guiplatform::alarms::AlarmContainer::initContainer(), cern::laser::guiplatform::alarms::AlarmContainer::reloadContainer(), and cern::laser::guiplatform::alarms::AlarmContainer::unacknowledge().
void cern::laser::guiplatform::alarms::AlarmBean::setIsAlarmNodeActive | ( | ) | [inline] |
This method sets isAlarmNodeActive property param flag true or false
References changeBackgroundForeground(), isAlarmNodeActive(), isAlarmNodeInhibited(), isAlarmNodeInstant(), and isAlarmNodeMasked().
Referenced by cern::laser::guiplatform::alarms::AlarmContainer::clearInhibitList(), cern::laser::guiplatform::alarms::AlarmContainer::clearMaskList(), setIsAlarmNodeInhibited(), setIsAlarmNodeInstant(), setIsAlarmNodeMasked(), cern::laser::guiplatform::alarms::AlarmContainer::uninhibit(), and cern::laser::guiplatform::alarms::AlarmContainer::unmask().
void cern::laser::guiplatform::alarms::AlarmBean::setIsAlarmNodeHighlighted | ( | boolean | flag | ) | [inline] |
void cern::laser::guiplatform::alarms::AlarmBean::setIsAlarmNodeHighlightedAndKlaxon | ( | boolean | flag | ) | [inline] |
References changeBackgroundForeground(), changes, and isAlarmNodeHighlightedAndKlaxon().
Referenced by cern::laser::guiplatform::alarms::AlarmContainer::addAlarmToActiveList(), cern::laser::guiplatform::alarms::AlarmContainer::clearAutoHighlightedList(), cern::laser::guiplatform::alarms::AlarmNodeManagerImpl::customizeBean(), cern::laser::guiplatform::alarms::AlarmContainer::highlightAndKlaxon(), cern::laser::guiplatform::alarms::AlarmContainer::initContainer(), cern::laser::guiplatform::alarms::AlarmContainer::reloadContainer(), and cern::laser::guiplatform::alarms::AlarmContainer::unhighlightAndKlaxon().
void cern::laser::guiplatform::alarms::AlarmBean::setIsAlarmNodeInhibited | ( | boolean | flag | ) | [inline] |
References changeBackgroundForeground(), isAlarmNodeActive(), isAlarmNodeInhibited(), isAlarmNodeInstant(), isAlarmNodeMasked(), and setIsAlarmNodeActive().
Referenced by cern::laser::guiplatform::alarms::AlarmNodeManagerImpl::customizeBean(), cern::laser::guiplatform::alarms::AlarmContainer::inhibit(), cern::laser::guiplatform::alarms::AlarmContainer::initContainer(), and cern::laser::guiplatform::alarms::AlarmContainer::reloadContainer().
void cern::laser::guiplatform::alarms::AlarmBean::setIsAlarmNodeInstant | ( | boolean | flag | ) | [inline] |
void cern::laser::guiplatform::alarms::AlarmBean::setIsAlarmNodeMasked | ( | boolean | flag | ) | [inline] |
References changeBackgroundForeground(), isAlarmNodeActive(), isAlarmNodeInhibited(), isAlarmNodeInstant(), isAlarmNodeMasked(), and setIsAlarmNodeActive().
Referenced by cern::laser::guiplatform::alarms::AlarmNodeManagerImpl::customizeBean(), cern::laser::guiplatform::alarms::AlarmContainer::initContainer(), cern::laser::guiplatform::alarms::AlarmContainer::mask(), and cern::laser::guiplatform::alarms::AlarmContainer::reloadContainer().
void cern::laser::guiplatform::alarms::AlarmBean::setIsNew | ( | boolean | flag | ) | [inline] |
References changeBackgroundForeground(), changes, getNodeIcon(), and isNew().
Referenced by cern::laser::guiplatform::alarms::AlarmContainer::initContainer(), cern::laser::guiplatform::alarms::AlarmNodeManager::makeAlarmsNotNew(), cern::laser::guiplatform::windows::ActiveListExplorerPanel::ListSelectionListener::propertyChange(), and cern::laser::guiplatform::alarms::AlarmContainer::reloadContainer().
void cern::laser::guiplatform::alarms::AlarmBean::setIsOnHighlightedList | ( | boolean | flag | ) | [inline] |
References changeBackgroundForeground(), and isOnHighlightedList().
Referenced by cern::laser::guiplatform::alarms::AlarmNodeManagerImpl::customizeBean(), cern::laser::guiplatform::alarms::AlarmContainer::highlightAndKlaxon(), cern::laser::guiplatform::alarms::AlarmContainer::initContainer(), and cern::laser::guiplatform::alarms::AlarmContainer::reloadContainer().
Color cern::laser::guiplatform::alarms::AlarmBean::backgroundColor = new Color(70, 92, 113) [protected] |
background
Referenced by getBackgroundColor(), getForegroundColor(), and getStandardBackgroundColor().
PropertyChangeSupport cern::laser::guiplatform::alarms::AlarmBean::changes = new PropertyChangeSupport(this) [private] |
CommentedAlarm cern::laser::guiplatform::alarms::AlarmBean::commentedAlarm = null [protected] |
CommentedAlarm
Referenced by clone(), getAlarmId(), getCategories(), getCommentedAlarm(), getDynamicInfo(), getFaultCode(), getFaultFamily(), getFaultMember(), getIdentifier(), getLocation(), cern::laser::guiplatform::alarms::InfoAlarmBean::getName(), getName(), getNodeActions(), getPrefix(), getPriority(), getProblemDescription(), getResponsiblePerson(), getSource(), getSourceHostName(), getSourceName(), getSourceTimestamp(), getStaticInfo(), getSuffix(), getSystemName(), getTimestamp(), getTimestampForSorting(), getTimestamps(), getUserData(), getUserTimestamp(), hashCode(), cern::laser::guiplatform::alarms::InfoAlarmBean::isActive(), isActive(), isMasked(), isMultiplicityChild(), isMultiplicityParent(), isNodeChild(), isNodeParent(), isNodeReduced(), isReduced(), prepareIcon(), and setCommentedAlarm().
String cern::laser::guiplatform::alarms::AlarmBean::consoleTimeStamp = null [protected] |
alarm console timestamp
Referenced by AlarmBean(), getTimestamps(), and setCommentedAlarm().
final String cern::laser::guiplatform::alarms::AlarmBean::DEFAULT_ACTION_NAME = null [static, protected] |
default action name
Referenced by AlarmBean().
String cern::laser::guiplatform::alarms::AlarmBean::defaultActionName = null [protected] |
Referenced by AlarmBean(), and getNodeDefaultAction().
Color cern::laser::guiplatform::alarms::AlarmBean::foregroundColor = Color.black [protected] |
foregournd
Referenced by changeBackgroundForeground(), getBackgroundColor(), getForegroundColor(), and getStandardForegroundColor().
int cern::laser::guiplatform::alarms::AlarmBean::highlitedOrKlaxonOrBoth = AlarmConstants.HIGHLIGHTED_ONLY [protected] |
this value indicates wheter alarm should be only highlighted or should have klaxon or maybe both
TODO: reimplement this use AutKlaxon and AutoHighlighed lists
Referenced by getHighlightedOrKlaxon(), and setHighlightedOrKlaxon().
boolean cern::laser::guiplatform::alarms::AlarmBean::infoMode = false [protected] |
info mode when alarm displayed on lists like "alarm by category", "search list", etc
final String [] cern::laser::guiplatform::alarms::AlarmBean::INSTANT_NODE_ACTIONS [static, protected] |
new String [] {
DetailsAction.class.getName()
}
instant node actions
Referenced by AlarmBean().
String [] cern::laser::guiplatform::alarms::AlarmBean::instantNodeActions = null [protected] |
Referenced by AlarmBean(), and getNodeActions().
boolean cern::laser::guiplatform::alarms::AlarmBean::isAlarmNodeAcknowledged = false [protected] |
alarm is acknowledged
Referenced by cern::laser::guiplatform::actions::alarms::UnacknowledgeAction::enable(), cern::laser::guiplatform::actions::alarms::AcknowledgeAction::enable(), cern::laser::guiplatform::alarms::AlarmContainer::initContainer(), and cern::laser::guiplatform::alarms::AlarmContainer::reloadContainer().
boolean cern::laser::guiplatform::alarms::AlarmBean::isAlarmNodeActive = true [protected] |
this indicates whether alarm is on active list
Referenced by cern::laser::guiplatform::actions::alarms::UnhighlightAction::enable(), cern::laser::guiplatform::actions::alarms::ShowTimestampsAction::enable(), cern::laser::guiplatform::actions::alarms::MaskAction::enable(), cern::laser::guiplatform::actions::alarms::InhibitAction::enable(), cern::laser::guiplatform::actions::alarms::AcknowledgeAction::enable(), and cern::laser::guiplatform::alarms::AlarmContainer::initContainer().
boolean cern::laser::guiplatform::alarms::AlarmBean::isAlarmNodeHighlighted = false [protected] |
boolean cern::laser::guiplatform::alarms::AlarmBean::isAlarmNodeHighlightedAndKlaxon = false [protected] |
used to enabling or disabling appropriate actions, Auto highlighted
Referenced by cern::laser::guiplatform::actions::alarms::UnhighlightedAndKlaxonAction::enable(), cern::laser::guiplatform::actions::alarms::HighlightedAndKlaxonAction::enable(), and cern::laser::guiplatform::alarms::AlarmContainer::initContainer().
boolean cern::laser::guiplatform::alarms::AlarmBean::isAlarmNodeInhibited = false [protected] |
this indicate whether alarm is actvie or not, even if is on actvie iist, (reduction mechanism --- alarm can be on active list but can be displayed as terminated) this means that alarm in inhibited and is on inhibit list (inhibit explorer)
Referenced by cern::laser::guiplatform::actions::alarms::UninhibitAction::enable(), and cern::laser::guiplatform::actions::alarms::UnacknowledgeAction::enable().
boolean cern::laser::guiplatform::alarms::AlarmBean::isAlarmNodeInstant = false [protected] |
alarm is instant and is on insttant list (instant explorer)
boolean cern::laser::guiplatform::alarms::AlarmBean::isAlarmNodeMasked = false [protected] |
alarm in masked and is on masked list (masked explorer)
Referenced by cern::laser::guiplatform::actions::alarms::UnmaskAction::enable().
boolean cern::laser::guiplatform::alarms::AlarmBean::isNew = true [protected] |
alarm is new
Referenced by cern::laser::guiplatform::explorer::ACTreeTableView::MyTableCellRenderer::getTableCellRendererComponent(), cern::laser::guiplatform::alarms::AlarmContainer::initContainer(), cern::laser::guiplatform::alarms::AlarmNodeManager::makeAlarmsNotNew(), cern::laser::guiplatform::windows::ActiveListExplorerPanel::ListSelectionListener::propertyChange(), cern::laser::guiplatform::alarms::AlarmContainer::reloadContainer(), and cern::laser::guiplatform::alarms::AlarmContainer::removeNewOrTerminatedAlarms().
boolean cern::laser::guiplatform::alarms::AlarmBean::isOnHighlightedList = false [protected] |
this variable should be set just after creating new AlarmBean object, and indicates that this alarm is on highlighted list, used when alarm is on highlighted list
Referenced by cern::laser::guiplatform::actions::alarms::UnmaskAction::enable(), cern::laser::guiplatform::actions::alarms::UninhibitAction::enable(), cern::laser::guiplatform::actions::alarms::UnacknowledgeAction::enable(), cern::laser::guiplatform::actions::alarms::ShowTimestampsAction::enable(), cern::laser::guiplatform::actions::alarms::MaskAction::enable(), cern::laser::guiplatform::actions::alarms::InhibitAction::enable(), cern::laser::guiplatform::actions::alarms::AcknowledgeAction::enable(), cern::laser::guiplatform::alarms::AlarmContainer::initContainer(), and cern::laser::guiplatform::alarms::AlarmContainer::unhighlightAndKlaxon().
final Logger cern::laser::guiplatform::alarms::AlarmBean::LOGGER [static, private] |
LogFactory.getLogger(AlarmBean.class.getName())
logger
Referenced by details(), getTimestamps(), propertyChange(), and setIsAlarmNodeAcknowledged().
String [] cern::laser::guiplatform::alarms::AlarmBean::NODE_ACTIONS [static, private] |
new String[] {
UnacknowledgeAction.class.getName(),
AcknowledgeAction.class.getName(),
null,
HighlightAction.class.getName(),
UnhighlightAction.class.getName(),
null,
InhibitAction.class.getName(),
UninhibitAction.class.getName(),
null,
MaskAction.class.getName(),
UnmaskAction.class.getName(),
null,
HighlightedAndKlaxonAction.class.getName(),
UnhighlightedAndKlaxonAction.class.getName(),
null,
DetailsAction.class.getName(),
null,
ShowTimestampsAction.class.getName(),
null,
ShowMultiplicityChildrenAction.class.getName(),
ShowNodeChildrenAction.class.getName(),
null,
ShowHelpUrlInBrowserAction.class.getName(),
}
node actions
Referenced by AlarmBean().
String [] cern::laser::guiplatform::alarms::AlarmBean::nodeActions = null [protected] |
Referenced by AlarmBean(), and getNodeActions().
PropertyChangeListener cern::laser::guiplatform::alarms::AlarmBean::propertyListener = null [protected] |
Referenced by registerPropertyChangeListener().