|
Public Types |
enum | ComboBoxValues {
None,
INACTIVE,
Priority,
PRIORITY_3,
Priority,
PRIORITY_2,
Priority,
tit = 00,
width = tit new JLabel(tit) normalRenderer.getFont() fnt.deriveFont(fnt.getSize()*80/100) new JLabel(tit) val.normalRenderer.getFont() val.normalRenderer.getFontMetrics(f) fm.getHeight()+5 fm.charsWidth(val.title.toCharArray(), 0, val.title.length())+10 new Dimension(ComboBoxValues.getWidth(),ComboBoxValues.getHeight()) height width
} |
Public Member Functions |
| Toolbar (AlarmTableModel model, boolean reduce, AlarmPanel panel) |
void | actionPerformed (ActionEvent e) |
void | updatePauseBtn (boolean paused) |
Package Types |
Private Member Functions |
void | initialize (boolean reduce) |
Private Attributes |
final AlarmPanel | alarmPanel |
JComboBox | autoAckLevelCB = new JComboBox(ComboBoxValues.values()) |
ImageIcon | activeReductionIcon |
ImageIcon | inactiveReductionIcon |
JToggleButton | reductionRulesBtn |
ImageIcon | pausedIcon = new ImageIcon(Toolbar.class.getResource(AlarmGUIType.iconFolder+"play.png")) |
ImageIcon | notPausedIcon = new ImageIcon(Toolbar.class.getResource(AlarmGUIType.iconFolder+"pause.png")) |
JButton | pauseBtn = new JButton("Pause",notPausedIcon) |
JLabel | autoAckLbl = new JLabel("Auto ack: ") |
AlarmTableModel | model |