public class DefaultAttributeAction extends AbstractSelectedAction
XXX - should listen to changes in the default attributes of its DrawingEditor.
Constructor and Description |
---|
DefaultAttributeAction(DrawingEditor editor,
AttributeKey key)
Creates a new instance.
|
DefaultAttributeAction(DrawingEditor editor,
AttributeKey[] keys) |
DefaultAttributeAction(DrawingEditor editor,
AttributeKey[] keys,
java.lang.String name,
javax.swing.Icon icon) |
DefaultAttributeAction(DrawingEditor editor,
AttributeKey[] keys,
java.lang.String name,
javax.swing.Icon icon,
java.util.Map<AttributeKey,java.lang.Object> fixedAttributes) |
DefaultAttributeAction(DrawingEditor editor,
AttributeKey key,
javax.swing.Icon icon)
Creates a new instance.
|
DefaultAttributeAction(DrawingEditor editor,
AttributeKey key,
java.util.Map<AttributeKey,java.lang.Object> fixedAttributes) |
DefaultAttributeAction(DrawingEditor editor,
AttributeKey key,
java.lang.String name)
Creates a new instance.
|
DefaultAttributeAction(DrawingEditor editor,
AttributeKey key,
java.lang.String name,
javax.swing.Icon icon) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent evt) |
void |
changeAttribute() |
void |
selectionChanged(FigureSelectionEvent evt) |
dispose, fireUndoableEditHappened, getDrawing, getEditor, getView, isUpdatEnabledState, setEditor, setUpdateEnabledState, updateEnabledState
public DefaultAttributeAction(DrawingEditor editor, AttributeKey key)
public DefaultAttributeAction(DrawingEditor editor, AttributeKey key, java.util.Map<AttributeKey,java.lang.Object> fixedAttributes)
public DefaultAttributeAction(DrawingEditor editor, AttributeKey[] keys)
public DefaultAttributeAction(DrawingEditor editor, AttributeKey key, javax.swing.Icon icon)
public DefaultAttributeAction(DrawingEditor editor, AttributeKey key, java.lang.String name)
public DefaultAttributeAction(DrawingEditor editor, AttributeKey key, java.lang.String name, javax.swing.Icon icon)
public DefaultAttributeAction(DrawingEditor editor, AttributeKey[] keys, java.lang.String name, javax.swing.Icon icon)
public DefaultAttributeAction(DrawingEditor editor, AttributeKey[] keys, java.lang.String name, javax.swing.Icon icon, java.util.Map<AttributeKey,java.lang.Object> fixedAttributes)
public void actionPerformed(java.awt.event.ActionEvent evt)
public void changeAttribute()
public void selectionChanged(FigureSelectionEvent evt)