< prev index next >

modules/javafx.controls/src/main/java/javafx/scene/control/ColorPicker.java

Print this page

        

*** 72,82 **** * colorPicker.getStyleClass().add("button"); * </code></pre> * or * <pre><code> * colorPicker.getStyleClass().add("split-button"); ! * </pre><code> * @since JavaFX 2.2 */ public class ColorPicker extends ComboBoxBase<Color> { /** --- 72,82 ---- * colorPicker.getStyleClass().add("button"); * </code></pre> * or * <pre><code> * colorPicker.getStyleClass().add("split-button"); ! * </code></pre> * @since JavaFX 2.2 */ public class ColorPicker extends ComboBoxBase<Color> { /**
*** 93,102 **** --- 93,103 ---- * The custom colors added to the Color Palette by the user. */ private ObservableList<Color> customColors = FXCollections.<Color>observableArrayList(); /** * Gets the list of custom colors added to the Color Palette by the user. + * @return the list of custom colors */ public final ObservableList<Color> getCustomColors() { return customColors; }
< prev index next >