|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.AbstractAction
templates.presentation.UIActions.SetColorAction
public static class UIActions.SetColorAction
An action to display the color chooser dialog to let the user select the background color of the icon of an entity.
JColorChooser,
Serialized Form| Field Summary | |
|---|---|
protected TemplateEditableCanvas |
canvas
The canvas which contains the entity whose background color will be changed. |
| 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 | |
|---|---|
UIActions.SetColorAction(TemplateEditableCanvas canvas,
Entity entity)
Construct an action to display the color chooser dialog to let the user select the background color of the icon of the given entity. |
|
| Method Summary | |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent evt)
Display the color chooser dialog to let the user select the background color of the icon of the entity. |
| 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 |
| Field Detail |
|---|
protected TemplateEditableCanvas canvas
| Constructor Detail |
|---|
public UIActions.SetColorAction(TemplateEditableCanvas canvas,
Entity entity)
canvas - the canvas which contains the entity whose background
color will be changedentity - the entity whose background color will be changed| Method Detail |
|---|
public void actionPerformed(java.awt.event.ActionEvent evt)
JColorChooser
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||