|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectqueued.sdk.java.examples.AlarmGui
Graphical user interface for the Multiple Alarm scenario of Queued Interaction Java code examples.
Field Summary | |
java.awt.Color |
activeBackgroundColor
|
java.awt.Font |
activeFont
|
java.awt.Color |
alarmColor
|
javax.swing.JTextArea |
alarmDetailsText
|
javax.swing.JList |
alarmList
|
javax.swing.event.ListSelectionListener |
alarmListener
|
javax.swing.JButton |
applyDefaultThresholdButton
|
javax.swing.JButton |
applyThresholdButton
|
java.awt.Font |
bold
|
java.awt.Color |
darkFadedGreen
|
javax.swing.JTextField |
defaultThresholdField
|
java.awt.Color |
errorColor
|
static java.lang.String |
errorStyle
|
java.awt.Color |
fiftyColor
|
java.awt.Color |
inactiveColor
|
static java.lang.String |
interactionEventStyle
|
java.awt.Color |
lightWeakGreen
|
java.awt.Color |
obscureDullGreen
|
java.awt.Color |
obscureWeakGreen
|
java.awt.Color |
paleWeakBlue
|
java.awt.Color |
paleWeakCyan
|
java.awt.Color |
paleWeakGreen
|
java.awt.Color |
paleWeakRed
|
java.awt.Color |
paleWeakYellow
|
java.awt.Font |
processBarbold
|
javax.swing.JComboBox |
queueComboBox
|
java.awt.Color |
queueEventColor
|
static java.lang.String |
queueEventStyle
|
java.awt.Color |
selectedLineColor
|
static java.lang.String |
serviceEventStyle
|
javax.swing.JTextField |
thresholdField
|
java.lang.String |
tooltipAlarm
|
java.lang.String |
tooltipDefaultThreshold
|
java.lang.String |
tooltipDefaultThresholdButton
|
java.lang.String |
tooltipDetails
|
java.lang.String |
tooltipMonitoring
|
java.lang.String |
tooltipThreshold
|
java.lang.String |
tooltipThresholdButton
|
java.awt.Color |
underWarningColor
|
java.awt.Color |
warningColor
|
javax.swing.JTextArea |
warningDetailsText
|
javax.swing.JList |
warningList
|
javax.swing.event.ListSelectionListener |
warningListener
|
Constructor Summary | |
AlarmGui(java.lang.String windowTitle)
AlarmGui constructor. |
Method Summary | |
void |
addQueueComboxBoxItemListener(java.awt.event.ItemListener actionListener)
Adds a listener to the ComboBox component that lists queues. |
void |
createGui(java.lang.String windowTitle)
Creates the panels that compose the GUI. |
void |
setDetailsAboutSelectedAlarm(java.lang.String queueName,
int ixns,
int ratio)
Displays details about alarms fired for the specified queue, including its current status and progress bar. |
void |
setDetailsAboutSelectedWarning(java.lang.String queueName,
int ixns,
int ratio)
Displays the current status of the queue that approaches its alarm threshold. |
void |
setQueueInfo(java.lang.String queueName,
int nbInteractions,
int ratio)
Updates all GUI component that displays queue information. |
void |
setSelectedQueueDetails(java.lang.String queueName,
int interactionNumber,
int ratio)
Updates the components of the 'Set up Alam' panel, according to the current selected queue name. |
void |
writeLogMessage(java.lang.String eventString,
java.lang.String eventStyle)
Inserts the log message with the accurate style in the log panel. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public java.awt.Color obscureWeakGreen
public java.awt.Color darkFadedGreen
public java.awt.Color obscureDullGreen
public java.awt.Color paleWeakCyan
public java.awt.Color lightWeakGreen
public java.awt.Color paleWeakGreen
public java.awt.Color paleWeakYellow
public java.awt.Color paleWeakBlue
public java.awt.Color paleWeakRed
public java.awt.Color activeBackgroundColor
public java.awt.Color inactiveColor
public java.awt.Color alarmColor
public java.awt.Color warningColor
public java.awt.Color fiftyColor
public java.awt.Color underWarningColor
public java.awt.Color queueEventColor
public java.awt.Color errorColor
public java.awt.Color selectedLineColor
public java.awt.Font bold
public java.awt.Font processBarbold
public java.awt.Font activeFont
public java.lang.String tooltipDefaultThreshold
public java.lang.String tooltipAlarm
public java.lang.String tooltipDefaultThresholdButton
public java.lang.String tooltipThreshold
public java.lang.String tooltipThresholdButton
public java.lang.String tooltipDetails
public java.lang.String tooltipMonitoring
public javax.swing.JTextField defaultThresholdField
public javax.swing.JButton applyDefaultThresholdButton
public javax.swing.JTextField thresholdField
public javax.swing.JButton applyThresholdButton
public javax.swing.JComboBox queueComboBox
public javax.swing.JList alarmList
public javax.swing.JTextArea alarmDetailsText
public javax.swing.event.ListSelectionListener alarmListener
public javax.swing.JList warningList
public javax.swing.JTextArea warningDetailsText
public javax.swing.event.ListSelectionListener warningListener
public static java.lang.String serviceEventStyle
public static java.lang.String interactionEventStyle
public static java.lang.String queueEventStyle
public static java.lang.String errorStyle
Constructor Detail |
public AlarmGui(java.lang.String windowTitle)
windowTitle
- The title of the GUI window for the example that is currently
being run..Method Detail |
public void createGui(java.lang.String windowTitle)
windowTitle
- public void addQueueComboxBoxItemListener(java.awt.event.ItemListener actionListener)
actionListener
- listener to be added.public void setSelectedQueueDetails(java.lang.String queueName, int interactionNumber, int ratio)
public void setDetailsAboutSelectedAlarm(java.lang.String queueName, int ixns, int ratio)
queueName
- name of the queue.ixns
- interaction number.ratio
- activity in the queue (percentage.)public void setDetailsAboutSelectedWarning(java.lang.String queueName, int ixns, int ratio)
queueName
- queue name.ixns
- number of interactions in this queue.ratio
- activity in this queue.public void setQueueInfo(java.lang.String queueName, int nbInteractions, int ratio)
queueName
- nbInteractions
- ratio
- public void writeLogMessage(java.lang.String eventString, java.lang.String eventStyle)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |