com.sas.swing.visuals.remotefileselector.actions
Class AddFolderAction

java.lang.Object
  |
  +--com.sas.entities.BaseEntity
        |
        +--com.sas.actionprovider.BaseAction
              |
              +--com.sas.actionprovider.SwingAction
                    |
                    +--com.sas.swing.visuals.remotefileselector.actions.AddFolderAction
All Implemented Interfaces:
Action, ActionStatusKeysInterface, BaseEntityInterface, BaseEntityValueInterface, EntityKeyInterface, SupplementalPropertyKeysInterface

public class AddFolderAction
extends SwingAction
implements javax.swing.event.CellEditorListener

AddFolderAction adds a default folder and allows editting of the cell to change the folder name.

Since:
3.1

Field Summary
static String RB_KEY
           
 
Fields inherited from interface com.sas.swing.util.Action
ALIGNMENT_CENTER, ALIGNMENT_LEADING, ALIGNMENT_LEFT, ALIGNMENT_RIGHT, ALIGNMENT_TRAILING, ALTERNATE_TEXT, COMMAND_CLASS, GROUP_NAME, LABEL, LARGE_DISABLED_ICON, LARGE_DISABLED_ICON_NAME, LARGE_ICON, LARGE_ICON_NAME, LONG_DISABLED_DESCRIPTION, LONG_NAME, MNEMONIC_INDEX, ROLLOVER_ICON_NAME, SHORT_DISABLED_DESCRIPTION, SMALL_DISABLED_ICON, SMALL_DISABLED_ICON_NAME, SMALL_ICON_NAME, STYLE_MAP, TARGET, TEXT_ALIGNMENT, TYPE, TYPE_BOOLEAN, TYPE_NORMAL, URL
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Fields inherited from interface com.sas.actionprovider.ActionStatusKeysInterface
AREA_DISABLED, DISABLED, ENABLED, IS_CURRENT_STATE_DISABLED, MODEL_MEMBER_DISABLED, MODEL_STATE_DISABLED, MODEL_TYPE_DISABLED, UNSUPPORTED, VIEWER_DISABLED
 
Fields inherited from interface com.sas.actionprovider.SupplementalPropertyKeysInterface
COMMAND, CUSTOM, DYNAMIC, ENCODE, EXTERNAL
 
Constructor Summary
AddFolderAction()
          Default Constructor
 
Method Summary
 void actionPerformed(ActionEvent event)
          Executes the command with any dynamic properties that are also encapsulated by this Action.
 void editingCanceled(ChangeEvent ce)
          Runs when the editor notifies the listener that it has cancelled editting.
 void editingStopped(ChangeEvent ce)
          Runs when the editor notifies the listener that it has stopped editting.
protected  void executeCommand(DynamicAttributeCommandInterface command)
          Executes the command and handles any thrown exceptions.
 
Methods inherited from class com.sas.actionprovider.BaseAction
addPropertyChangeListener, applyCommandAttributes, clone, fireEvent, getActionStrategy, getActionType, getAttributeDescriptor, getAttributeDescriptors, getCommand, getReturnStatus, getValue, isCustom, performAction, putValue, removePropertyChangeListener, setActionStrategy, setActionType, setAttribute, setCommand, setCustom, setReturnStatus
 
Methods inherited from class com.sas.entities.BaseEntity
containsAttributeNamed, equals, equals, getAttribute, getAttribute, getAttributeCount, getAttributes, getEntityKey, getPropertyDescriptors, getStringAttribute, listAttributeNames, removeAllAttributes, removeAttribute, sameEntity, setAttribute, setAttributes, setEntityKey, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

RB_KEY

public static final String RB_KEY
Constructor Detail

AddFolderAction

public AddFolderAction()
Default Constructor
Method Detail

actionPerformed

public void actionPerformed(ActionEvent event)
Executes the command with any dynamic properties that are also encapsulated by this Action.
Overrides:
actionPerformed in class BaseAction
Parameters:
event - the event that initiated this action

editingStopped

public void editingStopped(ChangeEvent ce)
Runs when the editor notifies the listener that it has stopped editting.
Specified by:
editingStopped in interface CellEditorListener
Parameters:
ce - the event that stops the edit

editingCanceled

public void editingCanceled(ChangeEvent ce)
Runs when the editor notifies the listener that it has cancelled editting.
Specified by:
editingCanceled in interface CellEditorListener
Parameters:
ce - the event that cancels the edit

executeCommand

protected void executeCommand(DynamicAttributeCommandInterface command)
Executes the command and handles any thrown exceptions.
Overrides:
executeCommand in class BaseAction
Parameters:
command - the command to be executed




Copyright © 2005 SAS Institute Inc. All Rights Reserved.
javadoc generated Thu, 16 Feb 2006 02:20:22