simtools.util
Interface NamedProperties

All Known Implementing Classes:
Abstract1DShape, Abstract2DShape, AbstractShape, AffineTransformData, AffineTransformDataPanel, AreaPlotShape, AutomatonShape, AxePropertiesPanel, AxisShape, BarChartShape, BasicShape, ChartShape, CompoundShape, ConnectionPropertiesPanel, ConnectionShape, CurvePropertiesPanel, CyclicPlotShape, DiagramSelectionPropertiesPanel, DiagramSelectionPropertiesPanel.BackgroundColorEditorPanel, DiagramSelectionPropertiesPanel.ColorEditorPanel, DiagramSelectionPropertiesPanel.FontColorEditorPanel, DiagramSelectionPropertiesPanel.LineColorEditorPanel, EllipsePropertiesPanel, EllipseShape, HistoryPropertiesPanel, HistoryShape, HistoryShape.HookedTextShape, HistoryTextPropertiesPanel, HistoryTextShape, ImagePropertiesPanel, ImageShape, Java3dShape, JPropertiesPanel, LabelShape, LimitPropertiesPanel, LinePropertiesPanel, LinesShape, MeterShape, ParametricPlotShape, PieChartShape, Plot, PlotPropertiesPanel, PlotShape, PolygonPropertiesPanel, PolygonShape, PropertiesPanel1D, PropertiesPanel2D, RectanglePropertiesPanel, RectangleShape, ScatterPlotShape, StandardPlotShape, SvgShape, SvgShapePropertiesPanel, TestSVGShape, TextArrayPropertiesPanel, TextArrayShape, TextPropertiesPanel, TextShape, TimeAxePropertiesPanel, TimePlot, TimePlot, TimePlotPropertiesPanel, TimePlotPropertiesPanel, View3DShape, Xith3DView3DShape

public interface NamedProperties

The interface for objects dealing with named properties

See Also:
AbstractShape

Method Summary
 java.util.Collection getInnerProperties()
          Get the properties of inner objects or null if none
 java.lang.String[] getPropertyNames()
          Get the list of property names
 java.lang.Object getPropertyValue(java.lang.String name)
          Get the value of one property given its name
 void setPropertyValue(java.lang.String name, java.lang.Object value)
          Set the value of one property given its name
 

Method Detail

getPropertyNames

java.lang.String[] getPropertyNames()
Get the list of property names


getPropertyValue

java.lang.Object getPropertyValue(java.lang.String name)
Get the value of one property given its name

Parameters:
name - the name of the property to get
Returns:
the property value
See Also:
AbstractShape.getPropertyValue(String)

setPropertyValue

void setPropertyValue(java.lang.String name,
                      java.lang.Object value)
Set the value of one property given its name

Parameters:
name - the name of the property to get
value - its new value
See Also:
AbstractShape.setPropertyValue(String, Object)

getInnerProperties

java.util.Collection getInnerProperties()
Get the properties of inner objects or null if none

Returns:
the collection of NamedProperties or null