com.tensegrity.skeleton.commands
Class LayoutCommand
java.lang.Object
com.tensegrity.generic.command.BaseCommand
com.tensegrity.skeleton.commands.CommonBaseCommand
com.tensegrity.skeleton.commands.DocumentCommand
com.tensegrity.skeleton.commands.GraphDocumentCommand
com.tensegrity.skeleton.commands.EditGraphDocumentCommand
com.tensegrity.skeleton.commands.AbstractLayoutCommand
com.tensegrity.skeleton.commands.LayoutCommand
- All Implemented Interfaces:
- Command
- public final class LayoutCommand
- extends AbstractLayoutCommand
This class help to apply layout engines by specified layout context
- Version:
- $Id: LayoutCommand.java,v 1.40 2006/03/14 14:55:02 MichaelKegel Exp $
- Author:
- Sharokh Khani
|
Constructor Summary |
LayoutCommand(ApplicationFrame applicationFrame,
java.lang.String id,
java.lang.String layoutName)
Creates the LayoutToolCommand. |
LayoutCommand(ApplicationFrame applicationFrame,
java.lang.String id,
java.lang.String layoutName,
boolean isNodeLayout)
Creates the LayoutToolCommand. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LayoutCommand
public LayoutCommand(ApplicationFrame applicationFrame,
java.lang.String id,
java.lang.String layoutName)
- Creates the
LayoutToolCommand.
- Parameters:
applicationFrame - the enclosing application Frame.id - the id for the command.layoutName - the name of the layout.
LayoutCommand
public LayoutCommand(ApplicationFrame applicationFrame,
java.lang.String id,
java.lang.String layoutName,
boolean isNodeLayout)
- Creates the
LayoutToolCommand.
- Parameters:
applicationFrame - the enclosing application Frame.id - the id for the command.layoutName - the name of the layout.isNodeLayout - indicates whether the specified layout a
node layout is or an edges layout
getDefaultLayoutController
protected LayoutController getDefaultLayoutController()
- Description copied from class:
AbstractLayoutCommand
Returns the default LayoutController.
- Specified by:
getDefaultLayoutController in class AbstractLayoutCommand
- Returns:
- the default
LayoutController.
buildLayoutObserver
protected Observer buildLayoutObserver()
- Specified by:
buildLayoutObserver in class AbstractLayoutCommand
showError
protected void showError(LayoutController layoutController)
- Specified by:
showError in class AbstractLayoutCommand
getRendererConfigurationLowDetail
protected AttributeSet getRendererConfigurationLowDetail()
- Specified by:
getRendererConfigurationLowDetail in class AbstractLayoutCommand
Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.