applications.proxy.dialog
Class LinkDialog

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.LinkDialog

public class LinkDialog
extends MessageableTriFoldProxyDialog

Description of the Class

Author:
igasp
created March 12, 2001

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

Field Summary
 (package private) static CategoryLog
           
 protected JButtonm_addButton
          Description of the Field
 private Stringm_addSoundName
           
 protected JLabelm_browseButton
          Description of the Field
 protected Stringm_currentDirectory
          Description of the Field
 protected Iconm_defaultBrowseIcon
          Description of the Field
 protected JButtonm_describeButton
          Description of the Field
 private Stringm_describeSoundName
           
 protected LinkDialogListenerm_listener
          Description of the Field
 protected Iconm_pressedBrowseIcon
          Description of the Field
 protected JButtonm_previewButton
          Description of the Field
 private Stringm_previewSoundName
           
 protected JButtonm_removeButton
          Description of the Field
 private Stringm_removeSoundName
           
 protected UrlLinkDatam_urlLinkData
          Description of the Field

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

Fields inherited from class applications.proxy.dialog.BiFoldProxyDialog
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
LinkDialog(MessageProxy messageProxy)
          Constructor for the LinkDialog object

Method Summary
 voidactionPerformed(ActionEvent actionEvent)
          Description of the Method
 voidaddListener(LinkDialogListener listener)
          Adds a feature to the Listener attribute of the LinkDialog object
 protected voidbrowseLocalFileSystem()
          Description of the Method
 protected JPanelbuildActionButtonsPanel()
          Description of the Method
 protected JPanelbuildTopPanel(String topLabelTitle)
          Description of the Method
 protected voiddialogFinished()
          Description of the Method
 private synchronized voiddoAddItem()
          Description of the Method
 protected StringgetAddSoundName()
          Gets the AddSoundName attribute of the LinkDialog object
 protected StringgetDescribeSoundName()
          Gets the DescribeSoundName attribute of the LinkDialog object
 protected StringgetPreviewSoundName()
          Gets the PreviewSoundName attribute of the LinkDialog object
 protected StringgetRemoveSoundName()
          Gets the RemoveSoundName attribute of the LinkDialog object
 UrlLinkDatagetUrlLinkData()
          Gets the UrlLinkData attribute of the LinkDialog object
 voidhandleEventDeclareKnowledgeMessage(AgentMessage m)
          Description of the Method
 static voidmain(String[] args)
          The main program for the LinkDialog class
 protected voidsetAddSoundName(String addSoundName)
          Sets the AddSoundName attribute of the LinkDialog object
 protected voidsetDescribeSoundName(String describeSoundName)
          Sets the DescribeSoundName attribute of the LinkDialog object
 protected voidsetPreviewSoundName(String previewSoundName)
          Sets the PreviewSoundName attribute of the LinkDialog object
 protected voidsetRemoveSoundName(String removeSoundName)
          Sets the RemoveSoundName attribute of the LinkDialog object
 voidshow()
          Description of the Method

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

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

Log

static Category Log

m_addButton

protected JButton m_addButton
Description of the Field
Since:

m_addSoundName

private String m_addSoundName

m_browseButton

protected JLabel m_browseButton
Description of the Field
Since:

m_currentDirectory

protected String m_currentDirectory
Description of the Field
Since:

m_defaultBrowseIcon

protected Icon m_defaultBrowseIcon
Description of the Field
Since:

m_describeButton

protected JButton m_describeButton
Description of the Field
Since:

m_describeSoundName

private String m_describeSoundName

m_listener

protected LinkDialogListener m_listener
Description of the Field
Since:

m_pressedBrowseIcon

protected Icon m_pressedBrowseIcon
Description of the Field
Since:

m_previewButton

protected JButton m_previewButton
Description of the Field
Since:

m_previewSoundName

private String m_previewSoundName

m_removeButton

protected JButton m_removeButton
Description of the Field
Since:

m_removeSoundName

private String m_removeSoundName

m_urlLinkData

protected UrlLinkData m_urlLinkData
Description of the Field
Since:
Constructor Detail

LinkDialog

public LinkDialog(MessageProxy messageProxy)
Constructor for the LinkDialog object
Parameters:
messageProxy - Description of Parameter
Since:
Method Detail

actionPerformed

public void actionPerformed(ActionEvent actionEvent)
Description of the Method
Parameters:
actionEvent - Description of Parameter
Since:

addListener

public void addListener(LinkDialogListener listener)
Adds a feature to the Listener attribute of the LinkDialog object
Parameters:
listener - The feature to be added to the Listener attribute
Since:

browseLocalFileSystem

protected void browseLocalFileSystem()
Description of the Method
Since:

buildActionButtonsPanel

protected JPanel buildActionButtonsPanel()
Description of the Method
Returns: Description of the Returned Value
Since:

buildTopPanel

protected JPanel buildTopPanel(String topLabelTitle)
Description of the Method
Parameters:
topLabelTitle - Description of Parameter
Returns: Description of the Returned Value
Since:

dialogFinished

protected void dialogFinished()
Description of the Method
Since:

doAddItem

private synchronized void doAddItem()
Description of the Method
Since:

getAddSoundName

protected String getAddSoundName()
Gets the AddSoundName attribute of the LinkDialog object
Returns: The AddSoundName value
Since:

getDescribeSoundName

protected String getDescribeSoundName()
Gets the DescribeSoundName attribute of the LinkDialog object
Returns: The DescribeSoundName value
Since:

getPreviewSoundName

protected String getPreviewSoundName()
Gets the PreviewSoundName attribute of the LinkDialog object
Returns: The PreviewSoundName value
Since:

getRemoveSoundName

protected String getRemoveSoundName()
Gets the RemoveSoundName attribute of the LinkDialog object
Returns: The RemoveSoundName value
Since:

getUrlLinkData

public UrlLinkData getUrlLinkData()
Gets the UrlLinkData attribute of the LinkDialog object
Returns: The UrlLinkData value
Since:

handleEventDeclareKnowledgeMessage

public void handleEventDeclareKnowledgeMessage(AgentMessage m)
Description of the Method
Parameters:
m - Description of Parameter
Since:

main

public static void main(String[] args)
The main program for the LinkDialog class
Parameters:
args - The command line arguments
Since:

setAddSoundName

protected void setAddSoundName(String addSoundName)
Sets the AddSoundName attribute of the LinkDialog object
Parameters:
addSoundName - The new AddSoundName value
Since:

setDescribeSoundName

protected void setDescribeSoundName(String describeSoundName)
Sets the DescribeSoundName attribute of the LinkDialog object
Parameters:
describeSoundName - The new DescribeSoundName value
Since:

setPreviewSoundName

protected void setPreviewSoundName(String previewSoundName)
Sets the PreviewSoundName attribute of the LinkDialog object
Parameters:
previewSoundName - The new PreviewSoundName value
Since:

setRemoveSoundName

protected void setRemoveSoundName(String removeSoundName)
Sets the RemoveSoundName attribute of the LinkDialog object
Parameters:
removeSoundName - The new RemoveSoundName value
Since:

show

public void show()
Description of the Method
Since:

Association Links

to Class javax.swing.JLabel

Description of the Field

since

to Class javax.swing.Icon

Description of the Field

since

to Class javax.swing.Icon

Description of the Field

since

to Class javax.swing.JButton

Description of the Field

since

to Class applications.proxy.dialog.UrlLinkData

Description of the Field

since

to Class java.lang.String

Description of the Field

since

to Class applications.proxy.dialog.LinkDialogListener

Description of the Field

since

to Class java.lang.String

to Class java.lang.String

to Class java.lang.String

to Class java.lang.String

to Class org.apache.log4j.Category