Define a color value property using the provided Color type and Sapphire will supply a browse dialog.
@Type( base = Color.class )
ValueProperty PROP_COLOR = new ValueProperty( TYPE, "Color" );
Value<Color> getColor();
void setColor( String value );
void setColor( Color value );
No comments:
Post a Comment