Documentation of 'org.jhotdraw.draw.action.AttributeAction' Java class
AttributeAction
org.jhotdraw.draw.action

Class AttributeAction

  • All Implemented Interfaces:
    java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action, Disposable
    Direct Known Subclasses:
    EditorColorChooserAction


    public class AttributeAction
    extends AbstractSelectedAction
    AttributeAction applies attribute values on the selected figures of the current DrawingView of a DrawingEditor.
    See Also:
    Serialized Form
    • Method Detail

      • actionPerformed

        public void actionPerformed(java.awt.event.ActionEvent evt)
      • applyAttributesTo

        public void applyAttributesTo(java.util.Map<AttributeKey,java.lang.Object> a,
                                      java.util.Set<Figure> figures)
        Applies the specified attributes to the currently selected figures of the drawing.
        Parameters:
        a - The attributes.
        figures - The figures to which the attributes are applied.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.