|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
com.ericsson.tic.vi.ToolbarPanel
public class ToolbarPanel
A specialized gui component which creates a toolbar with a drop down list and a button. The drop down list contains all commands specified in the XML interface. The button pauses the GUI.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JPanel |
|---|
JPanel.AccessibleJPanel |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary | |
|---|---|
private JPanel |
centerPanel
Subpanel used for layout. |
private JComboBox |
comboBox
A combo box. |
private String[] |
commandNames
A tmporary list of scenarios. |
private JPanel |
eastPanel
Subpanel used for layout. |
private JLabel |
feedbackLabel
A lebel which provides feedback to the users. |
private JButton |
pauseButton
Button. |
private JButton |
resetButton
Button. |
private JButton |
runButton
Button. |
private JPanel |
westPanel
Subpanel used for layout. |
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
ToolbarPanel()
Creates a Toolbar with a drop down list and a button. |
|
| Method Summary | |
|---|---|
void |
actionPerformed(ActionEvent e)
Called when an ActionEvent is triggered. |
| Methods inherited from class javax.swing.JPanel |
|---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private JPanel eastPanel
private JPanel centerPanel
private JPanel westPanel
private JButton runButton
private JButton pauseButton
private JButton resetButton
private JComboBox comboBox
private String[] commandNames
private JLabel feedbackLabel
| Constructor Detail |
|---|
public ToolbarPanel()
| Method Detail |
|---|
public void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenere - The ActionEvent which triggered the event.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||