com.tensegrity.generic.command
Interface ToggleCommand

All Superinterfaces:
Command
All Known Implementing Classes:
ToggleAntialiasCommand, ToggleAutomaticLayoutCommand, ToggleCategoriesCommand, ToggleConnectModeCommand, ToggleExactMatchingCommand, ToggleFullscreenCommand, ToggleLeftColumnCommand, ToggleMergeElementTypesCommand, ToggleRightColumnCommand, ToggleZoomRectangleModeCommand, ViewGridCommand, ViewRulerCommand

public interface ToggleCommand
extends Command

Defines commands that toggle between two modes. Used to retrieve the current state for updating toggle buttons, etc.

Version:
$Id: ToggleCommand.java,v 1.2 2004/01/27 11:22:31 BurkhardWick Exp $
Author:
BurkhardWick

Method Summary
 boolean isActive()
          Returns true, if the toggle command is currently selected (activated).
 
Methods inherited from interface com.tensegrity.generic.command.Command
getDescription, getId, getPerformDescription, isEnabled, perform, setEnabled
 

Method Detail

isActive

public boolean isActive()
Returns true, if the toggle command is currently selected (activated).

Returns:
The status of the toggle command


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