JHotDraw 7.1

org.jhotdraw.gui
Interface AttributeField

All Known Implementing Classes:
JDoubleAttributeField

public interface AttributeField

Interface for a field which can be used to edit an attribute of the selected Figures in a DrawingView.

The AttributeField can either be global to all DrawingViews of a DrawingEditor, or it can be local to a single DrawingView.

Version:
1.0 15. Mai 2007 Created.
Author:
Werner Randelshofer

Method Summary
 javax.swing.JComponent getComponent()
          Returns the JComponent of the attribute field.
 void updateField(java.util.Set<Figure> selectedFigures)
          Updates the field to reflect the attribute value of the currently selected Figures.
 

Method Detail

getComponent

javax.swing.JComponent getComponent()
Returns the JComponent of the attribute field.


updateField

void updateField(java.util.Set<Figure> selectedFigures)
Updates the field to reflect the attribute value of the currently selected Figures.


Copyright 1996-2007 (c) JHotDraw.org.
Some rights reserved.