Class PickAttributesAction
java.lang.Object
javax.swing.AbstractAction
org.jhotdraw.draw.action.AbstractSelectedAction
org.opentcs.thirdparty.jhotdraw.application.action.draw.PickAttributesAction
- All Implemented Interfaces:
java.awt.event.ActionListener,java.io.Serializable,java.lang.Cloneable,java.util.EventListener,javax.swing.Action,org.jhotdraw.app.Disposable
public class PickAttributesAction
extends org.jhotdraw.draw.action.AbstractSelectedAction
PickAttributesAction.
- See Also:
- Serialized Form
-
Field Summary
-
Constructor Summary
Constructors Constructor Description PickAttributesAction(org.jhotdraw.draw.DrawingEditor editor)Creates a new instance. -
Method Summary
Modifier and Type Method Description voidactionPerformed(java.awt.event.ActionEvent e)voidpickAttributes()voidselectionChanged(org.jhotdraw.draw.event.FigureSelectionEvent evt)voidsetExcludedAttributes(java.util.Set<org.jhotdraw.draw.AttributeKey> a)Set of attributes that is excluded when applying default attributes.Methods inherited from class org.jhotdraw.draw.action.AbstractSelectedAction
dispose, fireUndoableEditHappened, getDrawing, getEditor, getView, isUpdatEnabledState, setEditor, setUpdateEnabledState, updateEnabledStateMethods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Constructor Details
-
PickAttributesAction
public PickAttributesAction(org.jhotdraw.draw.DrawingEditor editor)Creates a new instance.- Parameters:
editor- The drawing editor
-
-
Method Details
-
setExcludedAttributes
public void setExcludedAttributes(java.util.Set<org.jhotdraw.draw.AttributeKey> a)Set of attributes that is excluded when applying default attributes. By default, the TRANSFORM attribute is excluded.- Parameters:
a- The attributes to exclude.
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e) -
pickAttributes
public void pickAttributes() -
selectionChanged
public void selectionChanged(org.jhotdraw.draw.event.FigureSelectionEvent evt)
-