Lines Matching refs:chooser
36 * a new color chooser panel into a <code>JColorChooser</code>, subclass
74 private JColorChooser chooser;
79 * you to set up the initial state of your chooser.
85 * Builds a new chooser panel.
155 * Invoked when the panel is added to the chooser.
158 * @param enclosingChooser the chooser to which the panel is to be added
159 * @exception RuntimeException if the chooser panel has already been
163 if (chooser != null) {
164 throw new RuntimeException ("This chooser panel is already installed");
166 chooser = enclosingChooser;
167 chooser.addPropertyChangeListener("enabled", enabledListener);
168 setEnabled(chooser.isEnabled());
174 * Invoked when the panel is removed from the chooser.
177 * @param enclosingChooser the chooser from which the panel is to be removed
180 chooser.removePropertyChangeListener("enabled", enabledListener);
181 chooser = null;
185 * Returns the model that the chooser panel is editing.
190 return (this.chooser != null)
191 ? this.chooser.getSelectionModel()
214 * Sets whether color chooser panel allows to select the transparency
220 * <p>The value is a hint and may not be applicable to all types of chooser
234 * Gets whether color chooser panel allows to select the transparency