org.jhotdraw.draw.action
Class DrawingAttributeAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- org.jhotdraw.draw.action.AbstractDrawingViewAction
-
- org.jhotdraw.draw.action.DrawingAttributeAction
-
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action, Disposable
public class DrawingAttributeAction extends AbstractDrawingViewAction
AttributeAction.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors 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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidactionPerformed(java.awt.event.ActionEvent evt)-
Methods inherited from class org.jhotdraw.draw.action.AbstractDrawingViewAction
dispose, isUpdatEnabledState, setUpdateEnabledState
-
-
-
-
Constructor Detail
-
DrawingAttributeAction
public DrawingAttributeAction(DrawingEditor editor, AttributeKey<T> key, @Nullable T value)
Creates a new instance.
-
DrawingAttributeAction
public DrawingAttributeAction(DrawingEditor editor, AttributeKey<T> key, @Nullable T value, @Nullable javax.swing.Icon icon)
Creates a new instance.
-
DrawingAttributeAction
public DrawingAttributeAction(DrawingEditor editor, AttributeKey<T> key, @Nullable T value, @Nullable java.lang.String name)
Creates a new instance.
-
DrawingAttributeAction
public DrawingAttributeAction(DrawingEditor editor, AttributeKey<T> key, @Nullable T value, @Nullable java.lang.String name, @Nullable javax.swing.Icon icon)
-
DrawingAttributeAction
public DrawingAttributeAction(DrawingEditor editor, AttributeKey<T> key, @Nullable T value, @Nullable java.lang.String name, @Nullable javax.swing.Icon icon, @Nullable javax.swing.Action compatibleTextAction)
-
DrawingAttributeAction
public DrawingAttributeAction(DrawingEditor editor, java.util.Map<AttributeKey,java.lang.Object> attributes, java.lang.String name, javax.swing.Icon icon)
-
-
DataMelt 3.0 © DataMelt by jWork.ORG