public abstract class IlvPaletteAction extends AbstractAction
changeSupport, enabled
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 and Description |
---|
IlvPaletteAction(Component parent,
String name,
ImageIcon icon,
String tooltip,
IlvPaletteManager paletteManager)
Creates the action.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent e)
Process the action
|
IlvPaletteManager |
getPaletteManager()
Returns the palette manager associated with this action.
|
Component |
getParent()
Returns the Swing component which is parent of dialog(s) created by this action.
|
void |
setPaletteManager(IlvPaletteManager paletteManager)
Sets the palette manager associated with this action
|
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
public IlvPaletteAction(Component parent, String name, ImageIcon icon, String tooltip, IlvPaletteManager paletteManager)
parent
- The parent of dialog(s) created by this action.name
- The name of this actionicon
- The icon displayed in toolbar, menus,...tooltip
- A short description of what the action doespaletteManager
- The palette manager associated with this action.public void actionPerformed(ActionEvent e)
public Component getParent()
public IlvPaletteManager getPaletteManager()
public void setPaletteManager(IlvPaletteManager paletteManager)
paletteManager
- the new current palette manager© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.