applications.proxy.dialog
Class MonitorDialog

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--java.awt.Window
                    |
                    +--java.awt.Dialog
                          |
                          +--javax.swing.JDialog
                                |
                                +--applications.proxy.dialog.ProxyDialog
                                      |
                                      +--applications.proxy.dialog.BiFoldProxyDialog
                                            |
                                            +--applications.proxy.dialog.TriFoldProxyDialog
                                                  |
                                                  +--applications.proxy.dialog.MessageableTriFoldProxyDialog
                                                        |
                                                        +--applications.proxy.dialog.MonitorDialog

public class MonitorDialog
extends MessageableTriFoldProxyDialog


Inner classes inherited from class javax.swing.JDialog
JDialog.AccessibleJDialog

Field Summary
 protected JButtonm_addButton
           
 private Stringm_addSoundName
           
 protected MonitorDialogListenerm_listener
           
 protected MonitoredUrlsDatam_monitoredUrlsData
           
 protected JButtonm_previewButton
           
 private Stringm_previewSoundName
           
 protected JButtonm_removeButton
           
 private Stringm_removeSoundName
           

Fields inherited from class applications.proxy.dialog.TriFoldProxyDialog
m_topLabel, m_topPanel, m_topTextField

Fields inherited from class applications.proxy.dialog.BiFoldProxyDialog
Log, m_bottomPanel, m_cancelButton, m_middleLabel, m_middleList, m_middlePanel, m_okButton

Fields inherited from class applications.proxy.dialog.ProxyDialog
m_mainPanel

Fields inherited from class javax.swing.JDialog
rootPane, rootPaneCheckingEnabled, accessibleContext

Fields inherited from class java.awt.Component
TOP_ALIGNMENT, CENTER_ALIGNMENT, BOTTOM_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT

Constructor Summary
MonitorDialog(MessageProxy messageProxy)
           

Method Summary
 voidactionPerformed(ActionEvent actionEvent)
           
 voidaddListener(MonitorDialogListener listener)
           
 protected JPanelbuildActionButtonsPanel()
           
 protected voiddialogFinished()
           
 private voiddoAddItem()
           
 protected StringgetAddSoundName()
           
 MonitoredUrlsDatagetMonitoredUrlsData()
           
 protected StringgetPreviewSoundName()
           
 protected StringgetRemoveSoundName()
           
 voidhandleEventQueryMonitoredUrlsResultsMessage(AgentMessage m)
           
 static voidmain(String[] args)
           
 protected voidsetAddSoundName(String addSoundName)
           
 protected voidsetPreviewSoundName(String previewSoundName)
           
 protected voidsetRemoveSoundName(String removeSoundName)
           
 voidshow()
           
 voidshow(DefaultListModel originalListModel)
           

Methods inherited from class applications.proxy.dialog.MessageableTriFoldProxyDialog
enqueueMessage, getMessageProxy, sendViaMessageProxy, setMessageProxy

Methods inherited from class applications.proxy.dialog.TriFoldProxyDialog
buildTopPanel

Methods inherited from class applications.proxy.dialog.BiFoldProxyDialog
addListItem, addListItem, buildBottomPanel, buildGui, buildMiddlePanel, buildOkCancelPanel, clearMiddleList, getCancelButtonString, getCancelSoundName, getOkButtonString, getOkSoundName, removeListItem, setCancelButtonString, setCancelSoundName, setOkButtonString, setOkSoundName, showWithoutClear

Methods inherited from class applications.proxy.dialog.ProxyDialog
getDefaultHeight, getDefaultWidth, getException, getTraitedSoundSystem, getValid, playTraitedEventSound, resizeDialog, setDefaultHeight, setDefaultWidth, setException, setTraitedSoundSystem, setValid

Methods inherited from class javax.swing.JDialog
dialogInit, createRootPane, processKeyEvent, processWindowEvent, setDefaultCloseOperation, getDefaultCloseOperation, update, setJMenuBar, getJMenuBar, isRootPaneCheckingEnabled, setRootPaneCheckingEnabled, addImpl, remove, setLayout, getRootPane, setRootPane, getContentPane, setContentPane, getLayeredPane, setLayeredPane, getGlassPane, setGlassPane, setLocationRelativeTo, paramString, getAccessibleContext

Methods inherited from class java.awt.Dialog
addNotify, isModal, setModal, getTitle, setTitle, hide, dispose, isResizable, setResizable

Methods inherited from class java.awt.Window
finalize, pack, toFront, toBack, getToolkit, getWarningString, getLocale, getInputContext, setCursor, getOwner, getOwnedWindows, addWindowListener, removeWindowListener, getListeners, processEvent, getFocusOwner, postEvent, isShowing, applyResourceBundle, applyResourceBundle, getGraphicsConfiguration

Methods inherited from class java.awt.Container
getComponentCount, countComponents, getComponent, getComponents, getInsets, insets, add, add, add, add, add, remove, removeAll, getLayout, doLayout, layout, invalidate, validate, validateTree, setFont, getPreferredSize, preferredSize, getMinimumSize, minimumSize, getMaximumSize, getAlignmentX, getAlignmentY, paint, print, paintComponents, printComponents, addContainerListener, removeContainerListener, processContainerEvent, deliverEvent, getComponentAt, locate, getComponentAt, findComponentAt, findComponentAt, removeNotify, isAncestorOf, list, list

Methods inherited from class java.awt.Component
getName, setName, getParent, getPeer, setDropTarget, getDropTarget, getTreeLock, isValid, isDisplayable, isVisible, isEnabled, setEnabled, enable, enable, disable, isDoubleBuffered, enableInputMethods, setVisible, show, getForeground, setForeground, getBackground, setBackground, getFont, setLocale, getColorModel, getLocation, getLocationOnScreen, location, setLocation, move, setLocation, getSize, size, setSize, resize, setSize, resize, getBounds, bounds, setBounds, reshape, setBounds, getX, getY, getWidth, getHeight, getBounds, getSize, getLocation, isOpaque, isLightweight, getGraphics, getFontMetrics, getCursor, paintAll, repaint, repaint, repaint, repaint, printAll, imageUpdate, createImage, createImage, prepareImage, prepareImage, checkImage, checkImage, contains, inside, contains, dispatchEvent, addComponentListener, removeComponentListener, addFocusListener, removeFocusListener, addHierarchyListener, removeHierarchyListener, addHierarchyBoundsListener, removeHierarchyBoundsListener, addKeyListener, removeKeyListener, addMouseListener, removeMouseListener, addMouseMotionListener, removeMouseMotionListener, addInputMethodListener, removeInputMethodListener, getInputMethodRequests, enableEvents, disableEvents, coalesceEvents, processComponentEvent, processFocusEvent, processMouseEvent, processMouseMotionEvent, processInputMethodEvent, processHierarchyEvent, processHierarchyBoundsEvent, handleEvent, mouseDown, mouseDrag, mouseUp, mouseMove, mouseEnter, mouseExit, keyDown, keyUp, action, gotFocus, lostFocus, isFocusTraversable, requestFocus, transferFocus, nextFocus, hasFocus, add, remove, toString, list, list, list, addPropertyChangeListener, removePropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, firePropertyChange, setComponentOrientation, getComponentOrientation

Methods inherited from class java.lang.Object
getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait

Field Detail

m_addButton

protected JButton m_addButton

m_addSoundName

private String m_addSoundName

m_listener

protected MonitorDialogListener m_listener

m_monitoredUrlsData

protected MonitoredUrlsData m_monitoredUrlsData

m_previewButton

protected JButton m_previewButton

m_previewSoundName

private String m_previewSoundName

m_removeButton

protected JButton m_removeButton

m_removeSoundName

private String m_removeSoundName
Constructor Detail

MonitorDialog

public MonitorDialog(MessageProxy messageProxy)
Method Detail

actionPerformed

public void actionPerformed(ActionEvent actionEvent)

addListener

public void addListener(MonitorDialogListener listener)

buildActionButtonsPanel

protected JPanel buildActionButtonsPanel()

dialogFinished

protected void dialogFinished()

doAddItem

private void doAddItem()

getAddSoundName

protected String getAddSoundName()

getMonitoredUrlsData

public MonitoredUrlsData getMonitoredUrlsData()

getPreviewSoundName

protected String getPreviewSoundName()

getRemoveSoundName

protected String getRemoveSoundName()

handleEventQueryMonitoredUrlsResultsMessage

public void handleEventQueryMonitoredUrlsResultsMessage(AgentMessage m)

main

public static void main(String[] args)

setAddSoundName

protected void setAddSoundName(String addSoundName)

setPreviewSoundName

protected void setPreviewSoundName(String previewSoundName)

setRemoveSoundName

protected void setRemoveSoundName(String removeSoundName)

show

public void show()

show

public void show(DefaultListModel originalListModel)