public class DrawingAttributeAction extends AbstractDrawingViewAction
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Map<AttributeKey,java.lang.Object> |
attributes |
| Constructor and Description |
|---|
DrawingAttributeAction(DrawingEditor editor,
AttributeKey<T> key,
T value)
Creates a new instance.
|
DrawingAttributeAction(DrawingEditor editor,
AttributeKey<T> key,
T value,
javax.swing.Icon icon)
Creates a new instance.
|
DrawingAttributeAction(DrawingEditor editor,
AttributeKey<T> key,
T value,
java.lang.String name)
Creates a new instance.
|
DrawingAttributeAction(DrawingEditor editor,
AttributeKey<T> key,
T value,
java.lang.String name,
javax.swing.Icon icon) |
DrawingAttributeAction(DrawingEditor editor,
AttributeKey<T> key,
T value,
java.lang.String name,
javax.swing.Icon icon,
javax.swing.Action compatibleTextAction) |
DrawingAttributeAction(DrawingEditor editor,
java.util.Map<AttributeKey,java.lang.Object> attributes,
java.lang.String name,
javax.swing.Icon icon) |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent evt) |
dispose, fireUndoableEditHappened, getDrawing, getEditor, getView, isUpdatEnabledState, setEditor, setUpdateEnabledState, updateEnabledState, updateViewStateprotected java.util.Map<AttributeKey,java.lang.Object> attributes
public DrawingAttributeAction(DrawingEditor editor, AttributeKey<T> key, T value)
public DrawingAttributeAction(DrawingEditor editor, AttributeKey<T> key, T value, javax.swing.Icon icon)
public DrawingAttributeAction(DrawingEditor editor, AttributeKey<T> key, T value, java.lang.String name)
public DrawingAttributeAction(DrawingEditor editor, AttributeKey<T> key, T value, java.lang.String name, javax.swing.Icon icon)
public DrawingAttributeAction(DrawingEditor editor, AttributeKey<T> key, T value, java.lang.String name, javax.swing.Icon icon, javax.swing.Action compatibleTextAction)
public DrawingAttributeAction(DrawingEditor editor, java.util.Map<AttributeKey,java.lang.Object> attributes, java.lang.String name, javax.swing.Icon icon)