< prev index next >

modules/javafx.controls/src/main/java/javafx/scene/control/skin/ColorPickerSkin.java

Print this page




 678                     return skin.imageUrl;
 679                 }
 680             };
 681         private static final List<CssMetaData<? extends Styleable, ?>> STYLEABLES;
 682         static {
 683             final List<CssMetaData<? extends Styleable, ?>> styleables =
 684                 new ArrayList<CssMetaData<? extends Styleable, ?>>(ComboBoxBaseSkin.getClassCssMetaData());
 685             styleables.add(COLOR_LABEL_VISIBLE);
 686             styleables.add(COLOR_RECT_WIDTH);
 687             styleables.add(COLOR_RECT_HEIGHT);
 688             styleables.add(COLOR_RECT_X);
 689             styleables.add(COLOR_RECT_Y);
 690             styleables.add(GRAPHIC);
 691             STYLEABLES = Collections.unmodifiableList(styleables);
 692         }
 693     }
 694 
 695     /**
 696      * Returns the CssMetaData associated with this class, which may include the
 697      * CssMetaData of its superclasses.


 698      */
 699     public static List<CssMetaData<? extends Styleable, ?>> getClassCssMetaData() {
 700         return StyleableProperties.STYLEABLES;
 701     }
 702 
 703     /**
 704      * {@inheritDoc}
 705      */
 706     @Override
 707     public List<CssMetaData<? extends Styleable, ?>> getCssMetaData() {
 708         return getClassCssMetaData();
 709     }
 710 
 711     /** {@inheritDoc} */
 712     @Override protected javafx.util.StringConverter<Color> getConverter() {
 713         return null;
 714     }
 715 
 716     /**
 717      * ColorPicker does not use a main text field, so this method has been


 678                     return skin.imageUrl;
 679                 }
 680             };
 681         private static final List<CssMetaData<? extends Styleable, ?>> STYLEABLES;
 682         static {
 683             final List<CssMetaData<? extends Styleable, ?>> styleables =
 684                 new ArrayList<CssMetaData<? extends Styleable, ?>>(ComboBoxBaseSkin.getClassCssMetaData());
 685             styleables.add(COLOR_LABEL_VISIBLE);
 686             styleables.add(COLOR_RECT_WIDTH);
 687             styleables.add(COLOR_RECT_HEIGHT);
 688             styleables.add(COLOR_RECT_X);
 689             styleables.add(COLOR_RECT_Y);
 690             styleables.add(GRAPHIC);
 691             STYLEABLES = Collections.unmodifiableList(styleables);
 692         }
 693     }
 694 
 695     /**
 696      * Returns the CssMetaData associated with this class, which may include the
 697      * CssMetaData of its superclasses.
 698      * @return the CssMetaData associated with this class, which may include the
 699      * CssMetaData of its superclasses
 700      */
 701     public static List<CssMetaData<? extends Styleable, ?>> getClassCssMetaData() {
 702         return StyleableProperties.STYLEABLES;
 703     }
 704 
 705     /**
 706      * {@inheritDoc}
 707      */
 708     @Override
 709     public List<CssMetaData<? extends Styleable, ?>> getCssMetaData() {
 710         return getClassCssMetaData();
 711     }
 712 
 713     /** {@inheritDoc} */
 714     @Override protected javafx.util.StringConverter<Color> getConverter() {
 715         return null;
 716     }
 717 
 718     /**
 719      * ColorPicker does not use a main text field, so this method has been
< prev index next >