JHotDraw 7.4.1

org.jhotdraw.draw.action
Class AlignAction.Horizontal

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by org.jhotdraw.draw.action.AbstractSelectedAction
          extended by org.jhotdraw.draw.action.AlignAction
              extended by org.jhotdraw.draw.action.AlignAction.Horizontal
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action, Disposable
Enclosing class:
AlignAction

public static class AlignAction.Horizontal
extends AlignAction

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jhotdraw.draw.action.AlignAction
AlignAction.East, AlignAction.Horizontal, AlignAction.North, AlignAction.South, AlignAction.Vertical, AlignAction.West
 
Field Summary
 
Fields inherited from class org.jhotdraw.draw.action.AbstractSelectedAction
labels
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
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
 
Constructor Summary
AlignAction.Horizontal(DrawingEditor editor)
           
AlignAction.Horizontal(DrawingEditor editor, ResourceBundleUtil labels)
           
 
Method Summary
protected  void alignFigures(java.util.Collection selectedFigures, java.awt.geom.Rectangle2D.Double selectionBounds)
           
 
Methods inherited from class org.jhotdraw.draw.action.AlignAction
actionPerformed, getSelectionBounds, updateEnabledState
 
Methods inherited from class org.jhotdraw.draw.action.AbstractSelectedAction
dispose, fireUndoableEditHappened, getDrawing, getEditor, getView, isUpdatEnabledState, setEditor, setUpdateEnabledState
 
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
 

Constructor Detail

AlignAction.Horizontal

public AlignAction.Horizontal(DrawingEditor editor)

AlignAction.Horizontal

public AlignAction.Horizontal(DrawingEditor editor,
                              ResourceBundleUtil labels)
Method Detail

alignFigures

protected void alignFigures(java.util.Collection selectedFigures,
                            java.awt.geom.Rectangle2D.Double selectionBounds)
Specified by:
alignFigures in class AlignAction

Copyright 1996-2010 (c) by the authors and contributors of the JHotDraw project.
Some rights reserved.