< prev index next >
modules/javafx.controls/src/main/java/javafx/scene/control/ColorPicker.java
Print this page
@@ -72,11 +72,11 @@
* colorPicker.getStyleClass().add("button");
* </code></pre>
* or
* <pre><code>
* colorPicker.getStyleClass().add("split-button");
- * </pre><code>
+ * </code></pre>
* @since JavaFX 2.2
*/
public class ColorPicker extends ComboBoxBase<Color> {
/**
@@ -93,10 +93,11 @@
* 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 >