Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ve-dev] dynamic property name


Hi Jan,

If you think of Swing's border property this is typed to a general interface, however once you set it to be a real border then we get the concrete class and the expandable properties in the property sheet become the ones for the given instance.  To see this set various borders like TitledBorder and then expand the properties, then change to another border and the set is different.  java.awt.Container.layout is also the same - it is typed to an interface and the property sheet expands for each real instance based on the concrete one, e.g. Flow or GridBag.

Is this the kind of behavior you want that would work for your colors property ?

Best regards,

Joe Winchester

Back to the top