JHotDraw 7.5.1

org.jhotdraw.draw.event
Class FigureAttributeEditorHandler<T>

java.lang.Object
  extended by org.jhotdraw.draw.event.AbstractAttributeEditorHandler<T>
      extended by org.jhotdraw.draw.event.FigureAttributeEditorHandler<T>
All Implemented Interfaces:
Disposable

public class FigureAttributeEditorHandler<T>
extends AbstractAttributeEditorHandler<T>

FigureAttributeEditorHandler mediates between an AttributeEditor and the currently selected Figure's in a DrawingEditor.

Version:
$Id: FigureAttributeEditorHandler.java 621 2010-01-17 13:43:26Z rawcoder $
Author:
Werner Randelshofer

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jhotdraw.draw.event.AbstractAttributeEditorHandler
AbstractAttributeEditorHandler.EventHandler
 
Field Summary
 
Fields inherited from class org.jhotdraw.draw.event.AbstractAttributeEditorHandler
activeView, attributeEditor, attributeKey, attributeRestoreData, defaultAttributes, drawingEditor, updateDepth, view
 
Constructor Summary
FigureAttributeEditorHandler(AttributeKey<T> key, AttributeEditor<T> attributeEditor, DrawingEditor drawingEditor)
           
FigureAttributeEditorHandler(AttributeKey<T> key, AttributeEditor<T> attributeEditor, DrawingEditor drawingEditor, boolean updateDrawingEditorDefaults)
           
FigureAttributeEditorHandler(AttributeKey<T> key, java.util.Map<AttributeKey,java.lang.Object> defaultAttributes, AttributeEditor<T> attributeEditor, DrawingEditor drawingEditor, boolean updateDrawingEditorDefaults)
           
 
Method Summary
protected  java.util.Set<Figure> getEditedFigures()
           
 
Methods inherited from class org.jhotdraw.draw.event.AbstractAttributeEditorHandler
dispose, getActiveView, getAttributeEditor, getAttributeKey, getDrawingEditor, getView, isUpdateDrawingEditorDefaults, setAttributeEditor, setAttributeKey, setDrawingEditor, setUpdateDrawingEditorDefaults, setView, updateActiveView, updateAttributeEditor, updateFigures
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FigureAttributeEditorHandler

public FigureAttributeEditorHandler(AttributeKey<T> key,
                                    AttributeEditor<T> attributeEditor,
                                    DrawingEditor drawingEditor)

FigureAttributeEditorHandler

public FigureAttributeEditorHandler(AttributeKey<T> key,
                                    AttributeEditor<T> attributeEditor,
                                    DrawingEditor drawingEditor,
                                    boolean updateDrawingEditorDefaults)

FigureAttributeEditorHandler

public FigureAttributeEditorHandler(AttributeKey<T> key,
                                    java.util.Map<AttributeKey,java.lang.Object> defaultAttributes,
                                    AttributeEditor<T> attributeEditor,
                                    DrawingEditor drawingEditor,
                                    boolean updateDrawingEditorDefaults)
Method Detail

getEditedFigures

protected java.util.Set<Figure> getEditedFigures()
Specified by:
getEditedFigures in class AbstractAttributeEditorHandler<T>

Copyright 1996-2010 (c) by the authors and contributors of the JHotDraw project.
Some rights reserved.