public class IlvPaletteLoadAction extends IlvPaletteAction
| Modifier and Type | Field and Description |
|---|---|
static ImageIcon |
ACTION_ICON
Icon representation of the action
|
static String |
ACTION_NAME
The name of the action
|
static String |
ACTION_TOOLTIP
A short description of what this action does
|
changeSupport, enabledACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON| Constructor and Description |
|---|
IlvPaletteLoadAction(Component parent,
IlvPaletteManager paletteManager)
Creates the action and sets the palette manager
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(ActionEvent e)
Process the action
|
File |
getCurrentDir()
Returns current file chooser directory.
|
boolean |
isEnabled()
Returns true if the action is enabled.
|
void |
setCurrentDir(File dir)
Sets default file chooser directory.
|
getPaletteManager, getParent, setPaletteManageraddPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, putValue, removePropertyChangeListener, setEnabledpublic static final String ACTION_NAME
public static final String ACTION_TOOLTIP
public static final ImageIcon ACTION_ICON
public IlvPaletteLoadAction(Component parent, IlvPaletteManager paletteManager)
parent - The parent of dialog(s) created by this action.paletteManager - The palette manager associated with this action.public void setCurrentDir(File dir)
dir - the new directorypublic File getCurrentDir()
public boolean isEnabled()
isEnabled in interface ActionisEnabled in class AbstractActionAction.isEnabled()public void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListeneractionPerformed in class IlvPaletteAction© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.