com.tensegrity.skeleton.commands
Class ZoomDialogCommand

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

public class ZoomDialogCommand
extends ZoomGraphDocumentCommand

Opens a ZoomDialog which allows users to select a predefined zoom value or define a custom one.

Version:
$Id: ZoomDialogCommand.java,v 1.11 2005/04/14 15:11:04 KevinCVS Exp $
Author:
Gilles Iachelini

Field Summary
 
Fields inherited from class com.tensegrity.skeleton.commands.ZoomGraphDocumentCommand
value, ZOOM_INSETS
 
Constructor Summary
ZoomDialogCommand(ApplicationFrame applicationFrame, java.lang.String command)
          Creates the ZoomDialogCommand.
 
Method Summary
 void perform(java.lang.Object args)
          Launches the ZoomDialog then sets the zoom value according to users selection.
 
Methods inherited from class com.tensegrity.skeleton.commands.ZoomGraphDocumentCommand
getZoom, setZoom, setZoomToFit
 
Methods inherited from class com.tensegrity.skeleton.commands.GraphDocumentCommand
getGraphDocument, getVisualGraphView, isEnabled
 
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

ZoomDialogCommand

public ZoomDialogCommand(ApplicationFrame applicationFrame,
                         java.lang.String command)
Creates the ZoomDialogCommand.

Parameters:
applicationFrame - Application context for this command.
command - the ID of this command.
Method Detail

perform

public void perform(java.lang.Object args)
Launches the ZoomDialog then sets the zoom value according to users selection.

Specified by:
perform in interface Command
Overrides:
perform in class CommonBaseCommand
See Also:
Command.perform(Object)


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