JHotDraw 7.4.1

org.jhotdraw.gui.event
Class DrawingAttributeEditorHandler<T>

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

public class DrawingAttributeEditorHandler<T>
extends AbstractAttributeEditorHandler<T>

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

Version:
$Id: DrawingAttributeEditorHandler.java 604 2010-01-09 12:00:29Z rawcoder $
Author:
Werner Randelshofer

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jhotdraw.gui.event.AbstractAttributeEditorHandler
AbstractAttributeEditorHandler.EventHandler
 
Field Summary
 
Fields inherited from class org.jhotdraw.gui.event.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.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

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>

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