com.tensegrity.gui.swing.control.attributeeditor
Interface SwingAttributeEditorComponents.ValueComponent

All Known Subinterfaces:
SwingAttributeEditorComponents.FormatValueComponent, SwingAttributeEditorComponents.ValueComponentEx
All Known Implementing Classes:
DirectionPopupEditor, SwingAttributeEditorComponents.AnchorBox, SwingAttributeEditorComponents.BooleanBox, SwingAttributeEditorComponents.ColorBox, SwingAttributeEditorComponents.ComboBox, SwingAttributeEditorComponents.CommandButton, SwingAttributeEditorComponents.DoubleField, SwingAttributeEditorComponents.FontFormatPanel, SwingAttributeEditorComponents.IconRenderer2, SwingAttributeEditorComponents.IntegerField, SwingAttributeEditorComponents.MarkerFormatPanel, SwingAttributeEditorComponents.MetricExpressionField, SwingAttributeEditorComponents.OneColorPanel, SwingAttributeEditorComponents.PaintFormatPanel, SwingAttributeEditorComponents.RasterBox, SwingAttributeEditorComponents.StrokeFormatPanel, SwingAttributeEditorComponents.TextField, TextPopupEditor
Enclosing interface:
SwingAttributeEditorComponents

public static interface SwingAttributeEditorComponents.ValueComponent

Interface for all components that provide a value to the outside-world.


Method Summary
 java.lang.Object getValue()
          Gets the (core-)value from this interface.
 void setUndefined(boolean undefined)
          Sets the undefined state of this control.
 

Method Detail

getValue

public java.lang.Object getValue()
Gets the (core-)value from this interface. In undefined state the getValue() returns SwingAttributeEditorComponents.EMPTYITEM

Returns:
the value of this valuecomponent.

setUndefined

public void setUndefined(boolean undefined)
Sets the undefined state of this control. In undefined state the getValue() returns SwingAttributeEditorComponents.EMPTYITEM

Parameters:
undefined - If true, the control's state is undefined


Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.