nl.tudelft.goal.ut2004.visualizer.gui.action
Class ShowServerDependentDialogueAction

Package class diagram package ShowServerDependentDialogueAction
java.lang.Object
  extended by javax.swing.AbstractAction
      extended by nl.tudelft.goal.ut2004.visualizer.gui.action.ShowDialogueAction
          extended by nl.tudelft.goal.ut2004.visualizer.gui.action.ShowServerDependentDialogueAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action

public class ShowServerDependentDialogueAction
extends ShowDialogueAction

Action that is active or inactive depending on the state of the connection to the server. When the action is active it will launch a dialoque. This dialoque will be hidden when the connection to the server is lost.

Author:
mpkorstanje
See Also:
Serialized Form

Field Summary
 
Fields inherited from class nl.tudelft.goal.ut2004.visualizer.gui.action.ShowDialogueAction
dialog
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
ShowServerDependentDialogueAction(JDialog dialog, String name, String description)
          Constructs the action.
 
Method Summary
 
Methods inherited from class nl.tudelft.goal.ut2004.visualizer.gui.action.ShowDialogueAction
actionPerformed
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShowServerDependentDialogueAction

public ShowServerDependentDialogueAction(JDialog dialog,
                                         String name,
                                         String description)
Constructs the action.

Parameters:
dialog - to show when the action is used.
name - this action.
description - to show when a user hovers on this action.


Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.