siouxsie.desktop.commands.impl
Class SiouxsieToggleCommand

java.lang.Object
  extended by org.pietschy.command.Command
      extended by org.pietschy.command.ActionCommand
          extended by org.pietschy.command.ToggleCommand
              extended by siouxsie.desktop.commands.impl.SiouxsieToggleCommand
All Implemented Interfaces:
org.pietschy.command.ActionCommandExecutor, ISiouxsieCommand

public class SiouxsieToggleCommand
extends org.pietschy.command.ToggleCommand
implements ISiouxsieCommand

Bridge from Siouxsie command to GUI framework command.

Version:
$Id: SiouxsieToggleCommand.java 114 2008-02-22 15:04:46Z acogo $
Author:
Arnaud Cogoluegnes

Field Summary
 
Fields inherited from class org.pietschy.command.ActionCommand
HINT_ACTION_EVENT, HINT_INVOKER, HINT_INVOKER_WINDOW, HINT_MODIFIERS
 
Fields inherited from class org.pietschy.command.Command
internalLog, listenerList, pcs
 
Constructor Summary
SiouxsieToggleCommand(org.pietschy.command.CommandManager cmdManager, java.lang.String commandId)
           
 
Method Summary
 ICommand getCommand()
           
 IExceptionHandler getExceptionHandler()
           
protected  void handleSelection(boolean selection)
           
 void setCommand(IToggleCommand command)
           
 void setExceptionHandler(IExceptionHandler exceptionHandler)
           
 
Methods inherited from class org.pietschy.command.ToggleCommand
addNotify, applySelection, attemptSelection, configureButtonStates, createButton, createCheckBox, createCheckBox, createCheckBox, createCheckBox, createMenuItem, handleExecute, isSelected, removeNotify, requestDefautIn, setSelected
 
Methods inherited from class org.pietschy.command.ActionCommand
addCommandListener, addInterceptor, areEqual, attach, detach, execute, execute, getActionAdapter, getActionAdapter, getActionCommand, getActionEvent, getHint, getHint, getHints, getInvoker, getInvokerWindow, getModifiers, installShortCut, installShortCut, postExecute, preExecute, putHint, putHints, removeCommandListener, removeInterceptor, setActionCommand, uninstallShortCut, uninstallShortCut
 
Methods inherited from class org.pietschy.command.Command
addFace, addHoverListener, addNewFace, addPropertyChangeListener, addPropertyChangeListener, buttonIterator, configureButtonAppearance, configureButtonAppearances, configureButtonAppearances, createButton, createButton, createButton, createMenuItem, createMenuItem, createMenuItem, export, faceExists, fireHoverEnded, fireHoverStarted, getAccelerator, getAlternativeFaceNames, getButtonFactory, getButtonIn, getCommandManager, getDefaultFace, getDefaultFace, getDescription, getFace, getFace, getIcon, getId, getLongDescription, getMenuFactory, getMnemonic, getMnemonicIndex, getProperty, getProperty, getPropertyNames, getSelectedIcon, getText, getTextPosition, getToolbarFactory, initCommandManager, installFace, isAnonymous, isAttachedTo, isEnabled, isVisible, putProperty, removeHoverListener, removePropertyChangeListener, removePropertyChangeListener, requestFocusIn, setAccelerator, setButtonFactory, setDescription, setEnabled, setIcon, setLongDescription, setMenuFactory, setMnemonic, setMnemonicIndex, setSelectedIcon, setText, setTextPosition, setToolbarFactory, setVisible, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.pietschy.command.ActionCommandExecutor
addPropertyChangeListener, addPropertyChangeListener, isEnabled, removePropertyChangeListener, removePropertyChangeListener
 

Constructor Detail

SiouxsieToggleCommand

public SiouxsieToggleCommand(org.pietschy.command.CommandManager cmdManager,
                             java.lang.String commandId)
Method Detail

handleSelection

protected void handleSelection(boolean selection)
                        throws org.pietschy.command.ToggleVetoException
Specified by:
handleSelection in class org.pietschy.command.ToggleCommand
Throws:
org.pietschy.command.ToggleVetoException

getExceptionHandler

public IExceptionHandler getExceptionHandler()

setExceptionHandler

public void setExceptionHandler(IExceptionHandler exceptionHandler)
Specified by:
setExceptionHandler in interface ISiouxsieCommand

getCommand

public ICommand getCommand()
Specified by:
getCommand in interface ISiouxsieCommand

setCommand

public void setCommand(IToggleCommand command)


Copyright © 2006-2008 null. All Rights Reserved.