|
|||||||||
| Home >> All >> cor >> gui >> [ evt overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
cor.gui.evt
Class JspmEvtListPanel

java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
cor.gui.evt.JspmEvtListPanel
- All Implemented Interfaces:
- javax.accessibility.Accessible, java.util.EventListener, java.awt.image.ImageObserver, java.awt.MenuContainer, java.awt.event.MouseListener, java.io.Serializable
- public class JspmEvtListPanel
- extends javax.swing.JPanel
- implements java.awt.event.MouseListener
- extends javax.swing.JPanel
Event management list panel This panel is divided into two parts. The upper part shows the message records from the JSPM event management database table and the lower part the actions corresponding to a selected message in the upper table. By selecting a row in either lists a dialog box will be displayed in which the user can change the values for the selected message or action.
- Version:
- 0.0.11
| Nested Class Summary |
| Nested classes inherited from class javax.swing.JPanel |
javax.swing.JPanel.AccessibleJPanel |
| Nested classes inherited from class javax.swing.JComponent |
javax.swing.JComponent.AccessibleJComponent |
| Nested classes inherited from class java.awt.Container |
java.awt.Container.AccessibleAWTContainer |
| Nested classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
| Field Summary | |
private javax.swing.JTable |
actTable
Action table |
private javax.swing.table.DefaultTableModel |
actTableModel
Action table model |
private java.awt.Font |
font
Table font |
private cor.gui.JspmCoreDb |
jspmCoreDb
Jspm Core database connection. |
private cor.gui.JspmVSplitPane |
msgSplitPanel
Table panel |
private javax.swing.JTable |
msgTable
Message table |
private javax.swing.table.DefaultTableModel |
msgTableModel
Message table model |
| 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.Container |
|
| 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 | |
JspmEvtListPanel(cor.gui.JspmCore jspmCore)
Constructor |
|
| Method Summary | |
void |
addActions(java.util.Vector actions)
Adds a row to the object info table |
void |
addMessages(java.util.Vector messages)
Adds a row to the object info table |
private void |
clearActionTable()
Clears the action table |
private void |
clearMessageTable()
Clears the message table |
private javax.swing.JPanel |
createActionPanel()
Creates the action list |
private javax.swing.JPanel |
createMessagePanel()
Creates the message list |
void |
mouseClicked(java.awt.event.MouseEvent event)
Process single/double click mouse events. |
void |
mouseEntered(java.awt.event.MouseEvent event)
Process mouse entered events. |
void |
mouseExited(java.awt.event.MouseEvent event)
Process mouse exited events. |
void |
mousePressed(java.awt.event.MouseEvent event)
Process mouse pressed events. |
void |
mouseReleased(java.awt.event.MouseEvent event)
Process mouse released events. |
void |
removeAllObjects()
Removes all objects from the table. |
| 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 |
jspmCoreDb
private cor.gui.JspmCoreDb jspmCoreDb
- Jspm Core database connection.
msgTable
private javax.swing.JTable msgTable
- Message table
actTable
private javax.swing.JTable actTable
- Action table
msgTableModel
private javax.swing.table.DefaultTableModel msgTableModel
- Message table model
actTableModel
private javax.swing.table.DefaultTableModel actTableModel
- Action table model
msgSplitPanel
private cor.gui.JspmVSplitPane msgSplitPanel
- Table panel
font
private java.awt.Font font
- Table font
| Constructor Detail |
JspmEvtListPanel
public JspmEvtListPanel(cor.gui.JspmCore jspmCore)
- Constructor
| Method Detail |
createMessagePanel
private javax.swing.JPanel createMessagePanel()
- Creates the message list
createActionPanel
private javax.swing.JPanel createActionPanel()
- Creates the action list
clearMessageTable
private void clearMessageTable()
- Clears the message table
clearActionTable
private void clearActionTable()
- Clears the action table
addMessages
public void addMessages(java.util.Vector messages)
- Adds a row to the object info table
addActions
public void addActions(java.util.Vector actions)
- Adds a row to the object info table
removeAllObjects
public void removeAllObjects()
- Removes all objects from the table.
mouseClicked
public void mouseClicked(java.awt.event.MouseEvent event)
- Process single/double click mouse events.
This method will process single and double clicks on one of the rows in either the message
or the action table. The processing is as follows:
- single click on message table will display the actions belonging to this message
in the action list.
- double click on a message table row will display the message dialog box.
- single click on a action in the action list won't do anything.
- double click on a action in the action list will just select (hilite) the corresponding
action.
- Specified by:
mouseClickedin interfacejava.awt.event.MouseListener
mousePressed
public void mousePressed(java.awt.event.MouseEvent event)
- Process mouse pressed events.
Nothing has to be done here.
- Specified by:
mousePressedin interfacejava.awt.event.MouseListener
mouseReleased
public void mouseReleased(java.awt.event.MouseEvent event)
- Process mouse released events.
Nothing has to be done here.
- Specified by:
mouseReleasedin interfacejava.awt.event.MouseListener
mouseEntered
public void mouseEntered(java.awt.event.MouseEvent event)
- Process mouse entered events.
Nothing has to be done here.
- Specified by:
mouseEnteredin interfacejava.awt.event.MouseListener
mouseExited
public void mouseExited(java.awt.event.MouseEvent event)
- Process mouse exited events.
Nothing has to be done here.
- Specified by:
mouseExitedin interfacejava.awt.event.MouseListener
|
|||||||||
| Home >> All >> cor >> gui >> [ evt overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC