org.jhotdraw.gui
Class DrawingAttributeEditorHandler<T>

java.lang.Object
  extended by org.jhotdraw.gui.AbstractAttributeEditorHandler<T>
      extended by org.jhotdraw.gui.DrawingAttributeEditorHandler<T>

public class DrawingAttributeEditorHandler<T>
extends AbstractAttributeEditorHandler<T>

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

Version:
1.0 2009-04-14 Created.
Author:
Werner Randelshofer

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jhotdraw.gui.AbstractAttributeEditorHandler
AbstractAttributeEditorHandler.EventHandler
 
Field Summary
private  Drawing drawing
           
 
Fields inherited from class org.jhotdraw.gui.AbstractAttributeEditorHandler
activeView, attributeEditor, attributeKey, attributeRestoreData, defaultAttributes, drawingEditor, updateDepth, view
 
Constructor Summary
DrawingAttributeEditorHandler(AttributeKey<T> key, AttributeEditor<T> attributeEditor, DrawingEditor drawingEditor)
           
 
Method Summary
 Drawing getDrawing()
           
protected  java.util.Set<Figure> getEditedFigures()
           
 void setDrawing(Drawing newValue)
           
 
Methods inherited from class org.jhotdraw.gui.AbstractAttributeEditorHandler
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
 

Field Detail

drawing

private Drawing drawing
Constructor Detail

DrawingAttributeEditorHandler

public DrawingAttributeEditorHandler(AttributeKey<T> key,
                                     AttributeEditor<T> attributeEditor,
                                     DrawingEditor drawingEditor)
Method Detail

setDrawing

public void setDrawing(Drawing newValue)

getDrawing

public Drawing getDrawing()

getEditedFigures

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