org.argouml.ui.cmd
Class ActionAdjustGrid

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by org.argouml.ui.cmd.ActionAdjustGrid
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action

public class ActionAdjustGrid
extends javax.swing.AbstractAction

This action changes the grid shown on the diagram.

See Also:
Serialized Form

Field Summary
 
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
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
static javax.swing.Action buildGridAction(java.lang.String property, int spacing, boolean paintLines, boolean paintDots, java.lang.String id, int key)
           
 
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
 

Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)

buildGridAction

public static javax.swing.Action buildGridAction(java.lang.String property,
                                                 int spacing,
                                                 boolean paintLines,
                                                 boolean paintDots,
                                                 java.lang.String id,
                                                 int key)
Parameters:
property - the name (not yet localised)
spacing - the spacing distance
paintLines - show lines
paintDots - show dots
id - identifier
key - keyCode
Returns:
the Action


ArgoUML © 1996-2006ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook