info.bioinfweb.treegraph.gui.actions.view
Class ChangePainterIDAction
java.lang.Object
  
javax.swing.AbstractAction
      
info.bioinfweb.treegraph.gui.actions.TreeGraphAction
          
info.bioinfweb.treegraph.gui.actions.DocumentAction
              
info.bioinfweb.treegraph.gui.actions.view.ChangePainterIDAction
- All Implemented Interfaces: 
 - ActionListener, Serializable, Cloneable, EventListener, Action
 
public class ChangePainterIDAction
- extends DocumentAction
 
Allows the user to change the view mode.
- Author:
 
  - Ben Stöver
 
- See Also:
 - Serialized Form
 
 
 
| Fields inherited from interface javax.swing.Action | 
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON | 
 
 
 
 
 
 
 
type
private PositionPaintType type
ChangePainterIDAction
public ChangePainterIDAction(MainFrame mainFrame,
                             PositionPaintType type)
onActionPerformed
protected void onActionPerformed(ActionEvent e,
                                 TreeInternalFrame frame)
- Description copied from class: 
DocumentAction 
- Subclasses should implement this method instead of overriding 
 
DocumentAction.actionPerformed(ActionEvent).
- Specified by:
 onActionPerformed in class DocumentAction
 
frame - the internal frame which was active while the user performed this action
 
 
setEnabled
public void setEnabled(Document document,
                       TreeSelection selection,
                       NodeBranchDataAdapter tableAdapter)
- Specified by:
 setEnabled in class DocumentAction