com.miginfocom.util
Interface PropertyProvider

All Known Subinterfaces:
Activity, ActivityView, AdjustingPropertyConsumer, AShape, Interactor, PropertyConsumer
All Known Implementing Classes:
AbstractActivity, AbstractActivityView, AbstractAShape, AbstractInteractor, ActivityInteractor, Category, CategoryStaticInteractor, ContainerAShape, DefaultActivity, DefaultActivityView, DemoDataBean, DividerAShape, DrawAShape, FeatherAShape, FillAShape, FilterAShape, FittingTextAShape, GridRow, GridRowInteractor, ImageAShape, JComponentAShape, LabelOverrider, MouseKeyInteractor, PropertyConsumerMap, RootAShape, SimpleOverrider, SlicedImageAShape, StaticInteractor, TextAShape, TimerInteractor, VectorAShape

public interface PropertyProvider

An interface to implements by anyone the can provide an property for a property name.


Method Summary
 boolean containsProperty(PropertyKey property)
          Return if the provider contains the property.
 java.lang.Object getProperty(PropertyKey property)
          Returns the property for a name.
 

Method Detail

getProperty

java.lang.Object getProperty(PropertyKey property)
Returns the property for a name.

Parameters:
property - The property key for the property to return. Not null.
Returns:
The value, may be null.

containsProperty

boolean containsProperty(PropertyKey property)
Return if the provider contains the property.

Parameters:
property - The property key. Not null.
Returns:
If the provider contains the property.


Copyright © 2009 MiG InfoCom AB. All Rights Reserved.