QJCC homepage

biz.chitec.quarterback.swing
Class DesktopFrameSelector.FrameAction

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended bybiz.chitec.quarterback.swing.DesktopFrameSelector.FrameAction
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.lang.Comparable, java.util.EventListener, java.io.Serializable
Enclosing class:
DesktopFrameSelector

private static class DesktopFrameSelector.FrameAction
extends javax.swing.AbstractAction
implements java.lang.Comparable

Action for the menu items of the popup menu. Knows about its frame and how to make it the active frame in its desktop pane.


Nested Class Summary
 
Nested classes inherited from class javax.swing.AbstractAction
 
Field Summary
private  javax.swing.JInternalFrame myframe
           
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
DesktopFrameSelector.FrameAction(javax.swing.JInternalFrame myframex)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 int compareTo(java.lang.Object o)
           
 boolean isFrameSelected()
           
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

myframe

private javax.swing.JInternalFrame myframe
Constructor Detail

DesktopFrameSelector.FrameAction

public DesktopFrameSelector.FrameAction(javax.swing.JInternalFrame myframex)
Method Detail

isFrameSelected

public boolean isFrameSelected()

actionPerformed

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

compareTo

public int compareTo(java.lang.Object o)
Specified by:
compareTo in interface java.lang.Comparable

QJCC homepage