01: /**
02:    A property editor for the BentStyle type.
03: */
04: public class BentStyleEditor extends PropertySelector
05: {
06:    public BentStyleEditor()
07:    {
08:       super(names, values);
09:    }
10: 
11:    private static final String[] names = 
12:    { 
13:       "Straight", 
14:       "HV", 
15:       "VH", 
16:       "HVH", 
17:       "VHV" 
18:    };
19:    
20:    private static final Object[] values = 
21:    {
22:       BentStyle.STRAIGHT,
23:       BentStyle.HV,
24:       BentStyle.VH,
25:       BentStyle.HVH,
26:       BentStyle.VHV
27:    };
28: }