com.tensegrity.skeleton.commands
Class AlignHorizontalRightCommand

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.AbstractAlignHorizontalCommand
                                  extended bycom.tensegrity.skeleton.commands.AlignHorizontalRightCommand
All Implemented Interfaces:
Command

public class AlignHorizontalRightCommand
extends AbstractAlignHorizontalCommand

Aligns the selected elements horizontally, so that the right sides are aligned.

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

Constructor Summary
AlignHorizontalRightCommand(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.AbstractAlignHorizontalCommand
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

AlignHorizontalRightCommand

public AlignHorizontalRightCommand(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 AbstractAlignHorizontalCommand
Parameters:
ref - The reference boundary.
b - The boundary to set.


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