com.tensegrity.skeleton.commands
Class AlignVerticalBottomCommand

java.lang.Object
  extended bycom.tensegrity.generic.command.BaseCommand
      extended bycom.tensegrity.skeleton.commands.CommonBaseCommand
          extended bycom.tensegrity.skeleton.commands.DocumentCommand
              extended bycom.tensegrity.skeleton.commands.GraphDocumentCommand
                  extended bycom.tensegrity.skeleton.commands.EditGraphDocumentCommand
                      extended bycom.tensegrity.skeleton.commands.GraphDocumentSelectionCommand
                          extended bycom.tensegrity.skeleton.commands.AbstractAlignCommand
                              extended bycom.tensegrity.skeleton.commands.AbstractAlignVerticalCommand
                                  extended bycom.tensegrity.skeleton.commands.AlignVerticalBottomCommand
All Implemented Interfaces:
Command

public class AlignVerticalBottomCommand
extends AbstractAlignVerticalCommand

Aligns the selected elements vertically, so that the bottom sides are aligned.

Version:
$Id: AlignVerticalBottomCommand.java,v 1.2 2004/02/06 09:11:38 BurkhardWick Exp $
Author:
BurkhardWick

Constructor Summary
AlignVerticalBottomCommand(ApplicationFrame applicationFrame, java.lang.String command)
          Constructor.
 
Method Summary
protected  void setBounds(Boundary ref, Boundary b)
          Sets the bounds according to the given reference boundary.
 
Methods inherited from class com.tensegrity.skeleton.commands.AbstractAlignVerticalCommand
alignElements
 
Methods inherited from class com.tensegrity.skeleton.commands.AbstractAlignCommand
getMinimumNodeDistance, getSelection, isEnabled, perform, setMinimumNodeDistance
 
Methods inherited from class com.tensegrity.skeleton.commands.GraphDocumentSelectionCommand
hasSelection
 
Methods inherited from class com.tensegrity.skeleton.commands.GraphDocumentCommand
getGraphDocument, getVisualGraphView
 
Methods inherited from class com.tensegrity.skeleton.commands.DocumentCommand
getDocument, getGraphApplication, newGraphDocumentFromFactory
 
Methods inherited from class com.tensegrity.skeleton.commands.CommonBaseCommand
getApplicationFrame, getTitle
 
Methods inherited from class com.tensegrity.generic.command.BaseCommand
getDescription, getId, getPerformDescription, setEnabled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlignVerticalBottomCommand

public AlignVerticalBottomCommand(ApplicationFrame applicationFrame,
                                  java.lang.String command)
Constructor.

Parameters:
applicationFrame - The application frame
command - The id used to register this command in the command registry
Method Detail

setBounds

protected void setBounds(Boundary ref,
                         Boundary b)
Sets the bounds according to the given reference boundary.

Specified by:
setBounds in class AbstractAlignVerticalCommand
Parameters:
ref - The reference boundary.
b - The boundary to set.


Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.