fi.hut.tml.xsmiles.gui.components.swing
Class SwingContentPopup

java.lang.Object
  extended byfi.hut.tml.xsmiles.gui.components.swing.SwingPopup
      extended byfi.hut.tml.xsmiles.gui.components.swing.SwingContentPopup
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener

public class SwingContentPopup
extends SwingPopup
implements java.awt.event.ActionListener

A Menu, that can be opened when the user clicks right mouse button on a link

Author:
Mikko Honkala

Field Summary
protected  javax.swing.JMenuItem goBackItem
           
protected  javax.swing.JMenuItem goForwardItem
           
protected  javax.swing.JMenuItem goReloadItem
           
protected  javax.swing.JMenuItem reopenItem
           
protected  javax.swing.JMenuItem viewCompleteSourceItem
           
protected  javax.swing.JMenuItem viewXMLSourceItem
           
protected  javax.swing.JMenuItem viewXSLSourceItem
           
 
Fields inherited from class fi.hut.tml.xsmiles.gui.components.swing.SwingPopup
bw, document, popup, url
 
Constructor Summary
SwingContentPopup()
          Swing link popup menu
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 void init()
           
 void show(java.awt.Component comp, int x, int y, XMLDocument doc, java.net.URL link, MLFCListener window)
           
 
Methods inherited from class fi.hut.tml.xsmiles.gui.components.swing.SwingPopup
addSeparator, createItem, isTabbed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

goBackItem

protected javax.swing.JMenuItem goBackItem

goForwardItem

protected javax.swing.JMenuItem goForwardItem

goReloadItem

protected javax.swing.JMenuItem goReloadItem

viewCompleteSourceItem

protected javax.swing.JMenuItem viewCompleteSourceItem

viewXMLSourceItem

protected javax.swing.JMenuItem viewXMLSourceItem

viewXSLSourceItem

protected javax.swing.JMenuItem viewXSLSourceItem

reopenItem

protected javax.swing.JMenuItem reopenItem
Constructor Detail

SwingContentPopup

public SwingContentPopup()
Swing link popup menu

Method Detail

show

public void show(java.awt.Component comp,
                 int x,
                 int y,
                 XMLDocument doc,
                 java.net.URL link,
                 MLFCListener window)

init

public void init()

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener


X-Smiles 1.2