jdk/src/share/classes/java/beans/PropertyEditor.java
author mcimadamore
Thu, 01 Dec 2011 18:34:23 +0000
changeset 11120 f8576c769572
parent 5506 202f599c92aa
child 25130 adfaa02ea516
permissions -rw-r--r--
7116954: Misc warnings in java.beans/java.beans.context Summary: Remove generic warnings form java.beans and java.beans.context Reviewed-by: alanb, chegar
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
/*
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 1272
diff changeset
     2
 * Copyright (c) 1996, 2003, Oracle and/or its affiliates. All rights reserved.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 1272
diff changeset
     7
 * published by the Free Software Foundation.  Oracle designates this
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
 * particular file as subject to the "Classpath" exception as provided
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 1272
diff changeset
     9
 * by Oracle in the LICENSE file that accompanied this code.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
 * This code is distributed in the hope that it will be useful, but WITHOUT
90ce3da70b43 Initial load
duke
parents:
diff changeset
    12
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
 * version 2 for more details (a copy is included in the LICENSE file that
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
 * accompanied this code).
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
 * You should have received a copy of the GNU General Public License version
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18
 * 2 along with this work; if not, write to the Free Software Foundation,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    19
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    20
 *
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 1272
diff changeset
    21
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 1272
diff changeset
    22
 * or visit www.oracle.com if you need additional information or have any
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 1272
diff changeset
    23
 * questions.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    24
 */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    25
90ce3da70b43 Initial load
duke
parents:
diff changeset
    26
package java.beans;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    27
90ce3da70b43 Initial load
duke
parents:
diff changeset
    28
/**
90ce3da70b43 Initial load
duke
parents:
diff changeset
    29
 * A PropertyEditor class provides support for GUIs that want to
90ce3da70b43 Initial load
duke
parents:
diff changeset
    30
 * allow users to edit a property value of a given type.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    31
 * <p>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    32
 * PropertyEditor supports a variety of different kinds of ways of
90ce3da70b43 Initial load
duke
parents:
diff changeset
    33
 * displaying and updating property values.  Most PropertyEditors will
90ce3da70b43 Initial load
duke
parents:
diff changeset
    34
 * only need to support a subset of the different options available in
90ce3da70b43 Initial load
duke
parents:
diff changeset
    35
 * this API.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    36
 * <P>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    37
 * Simple PropertyEditors may only support the getAsText and setAsText
90ce3da70b43 Initial load
duke
parents:
diff changeset
    38
 * methods and need not support (say) paintValue or getCustomEditor.  More
90ce3da70b43 Initial load
duke
parents:
diff changeset
    39
 * complex types may be unable to support getAsText and setAsText but will
90ce3da70b43 Initial load
duke
parents:
diff changeset
    40
 * instead support paintValue and getCustomEditor.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    41
 * <p>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    42
 * Every propertyEditor must support one or more of the three simple
90ce3da70b43 Initial load
duke
parents:
diff changeset
    43
 * display styles.  Thus it can either (1) support isPaintable or (2)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    44
 * both return a non-null String[] from getTags() and return a non-null
90ce3da70b43 Initial load
duke
parents:
diff changeset
    45
 * value from getAsText or (3) simply return a non-null String from
90ce3da70b43 Initial load
duke
parents:
diff changeset
    46
 * getAsText().
90ce3da70b43 Initial load
duke
parents:
diff changeset
    47
 * <p>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    48
 * Every property editor must support a call on setValue when the argument
90ce3da70b43 Initial load
duke
parents:
diff changeset
    49
 * object is of the type for which this is the corresponding propertyEditor.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    50
 * In addition, each property editor must either support a custom editor,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    51
 * or support setAsText.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    52
 * <p>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    53
 * Each PropertyEditor should have a null constructor.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    54
 */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    55
90ce3da70b43 Initial load
duke
parents:
diff changeset
    56
public interface PropertyEditor {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    57
90ce3da70b43 Initial load
duke
parents:
diff changeset
    58
    /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
    59
     * Set (or change) the object that is to be edited.  Primitive types such
90ce3da70b43 Initial load
duke
parents:
diff changeset
    60
     * as "int" must be wrapped as the corresponding object type such as
90ce3da70b43 Initial load
duke
parents:
diff changeset
    61
     * "java.lang.Integer".
90ce3da70b43 Initial load
duke
parents:
diff changeset
    62
     *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    63
     * @param value The new target object to be edited.  Note that this
90ce3da70b43 Initial load
duke
parents:
diff changeset
    64
     *     object should not be modified by the PropertyEditor, rather
90ce3da70b43 Initial load
duke
parents:
diff changeset
    65
     *     the PropertyEditor should create a new object to hold any
90ce3da70b43 Initial load
duke
parents:
diff changeset
    66
     *     modified value.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    67
     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    68
    void setValue(Object value);
90ce3da70b43 Initial load
duke
parents:
diff changeset
    69
90ce3da70b43 Initial load
duke
parents:
diff changeset
    70
    /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
    71
     * Gets the property value.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    72
     *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    73
     * @return The value of the property.  Primitive types such as "int" will
90ce3da70b43 Initial load
duke
parents:
diff changeset
    74
     * be wrapped as the corresponding object type such as "java.lang.Integer".
90ce3da70b43 Initial load
duke
parents:
diff changeset
    75
     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    76
90ce3da70b43 Initial load
duke
parents:
diff changeset
    77
    Object getValue();
90ce3da70b43 Initial load
duke
parents:
diff changeset
    78
90ce3da70b43 Initial load
duke
parents:
diff changeset
    79
    //----------------------------------------------------------------------
90ce3da70b43 Initial load
duke
parents:
diff changeset
    80
90ce3da70b43 Initial load
duke
parents:
diff changeset
    81
    /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
    82
     * Determines whether this property editor is paintable.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    83
     *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    84
     * @return  True if the class will honor the paintValue method.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    85
     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    86
90ce3da70b43 Initial load
duke
parents:
diff changeset
    87
    boolean isPaintable();
90ce3da70b43 Initial load
duke
parents:
diff changeset
    88
90ce3da70b43 Initial load
duke
parents:
diff changeset
    89
    /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
    90
     * Paint a representation of the value into a given area of screen
90ce3da70b43 Initial load
duke
parents:
diff changeset
    91
     * real estate.  Note that the propertyEditor is responsible for doing
90ce3da70b43 Initial load
duke
parents:
diff changeset
    92
     * its own clipping so that it fits into the given rectangle.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    93
     * <p>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    94
     * If the PropertyEditor doesn't honor paint requests (see isPaintable)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    95
     * this method should be a silent noop.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    96
     * <p>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    97
     * The given Graphics object will have the default font, color, etc of
90ce3da70b43 Initial load
duke
parents:
diff changeset
    98
     * the parent container.  The PropertyEditor may change graphics attributes
90ce3da70b43 Initial load
duke
parents:
diff changeset
    99
     * such as font and color and doesn't need to restore the old values.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   100
     *
90ce3da70b43 Initial load
duke
parents:
diff changeset
   101
     * @param gfx  Graphics object to paint into.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   102
     * @param box  Rectangle within graphics object into which we should paint.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   103
     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   104
    void paintValue(java.awt.Graphics gfx, java.awt.Rectangle box);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   105
90ce3da70b43 Initial load
duke
parents:
diff changeset
   106
    //----------------------------------------------------------------------
90ce3da70b43 Initial load
duke
parents:
diff changeset
   107
90ce3da70b43 Initial load
duke
parents:
diff changeset
   108
    /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
   109
     * Returns a fragment of Java code that can be used to set a property
90ce3da70b43 Initial load
duke
parents:
diff changeset
   110
     * to match the editors current state. This method is intended
90ce3da70b43 Initial load
duke
parents:
diff changeset
   111
     * for use when generating Java code to reflect changes made through the
90ce3da70b43 Initial load
duke
parents:
diff changeset
   112
     * property editor.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   113
     * <p>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   114
     * The code fragment should be context free and must be a legal Java
90ce3da70b43 Initial load
duke
parents:
diff changeset
   115
     * expression as specified by the JLS.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   116
     * <p>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   117
     * Specifically, if the expression represents a computation then all
90ce3da70b43 Initial load
duke
parents:
diff changeset
   118
     * classes and static members should be fully qualified. This rule
90ce3da70b43 Initial load
duke
parents:
diff changeset
   119
     * applies to constructors, static methods and non primitive arguments.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   120
     * <p>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   121
     * Caution should be used when evaluating the expression as it may throw
90ce3da70b43 Initial load
duke
parents:
diff changeset
   122
     * exceptions. In particular, code generators must ensure that generated
90ce3da70b43 Initial load
duke
parents:
diff changeset
   123
     * code will compile in the presence of an expression that can throw
90ce3da70b43 Initial load
duke
parents:
diff changeset
   124
     * checked exceptions.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   125
     * <p>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   126
     * Example results are:
90ce3da70b43 Initial load
duke
parents:
diff changeset
   127
     * <ul>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   128
     * <li>Primitive expresssion: <code>2</code>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   129
     * <li>Class constructor: <code>new java.awt.Color(127,127,34)</code>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   130
     * <li>Static field: <code>java.awt.Color.orange</code>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   131
     * <li>Static method: <code>javax.swing.Box.createRigidArea(new
90ce3da70b43 Initial load
duke
parents:
diff changeset
   132
     *                                   java.awt.Dimension(0, 5))</code>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   133
     * </ul>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   134
     *
90ce3da70b43 Initial load
duke
parents:
diff changeset
   135
     * @return a fragment of Java code representing an initializer for the
90ce3da70b43 Initial load
duke
parents:
diff changeset
   136
     *         current value. It should not contain a semi-colon
90ce3da70b43 Initial load
duke
parents:
diff changeset
   137
     *         ('<code>;</code>') to end the expression.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   138
     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   139
    String getJavaInitializationString();
90ce3da70b43 Initial load
duke
parents:
diff changeset
   140
90ce3da70b43 Initial load
duke
parents:
diff changeset
   141
    //----------------------------------------------------------------------
90ce3da70b43 Initial load
duke
parents:
diff changeset
   142
90ce3da70b43 Initial load
duke
parents:
diff changeset
   143
    /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
   144
     * Gets the property value as text.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   145
     *
90ce3da70b43 Initial load
duke
parents:
diff changeset
   146
     * @return The property value as a human editable string.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   147
     * <p>   Returns null if the value can't be expressed as an editable string.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   148
     * <p>   If a non-null value is returned, then the PropertyEditor should
90ce3da70b43 Initial load
duke
parents:
diff changeset
   149
     *       be prepared to parse that string back in setAsText().
90ce3da70b43 Initial load
duke
parents:
diff changeset
   150
     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   151
    String getAsText();
90ce3da70b43 Initial load
duke
parents:
diff changeset
   152
90ce3da70b43 Initial load
duke
parents:
diff changeset
   153
    /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
   154
     * Set the property value by parsing a given String.  May raise
90ce3da70b43 Initial load
duke
parents:
diff changeset
   155
     * java.lang.IllegalArgumentException if either the String is
90ce3da70b43 Initial load
duke
parents:
diff changeset
   156
     * badly formatted or if this kind of property can't be expressed
90ce3da70b43 Initial load
duke
parents:
diff changeset
   157
     * as text.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   158
     * @param text  The string to be parsed.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   159
     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   160
    void setAsText(String text) throws java.lang.IllegalArgumentException;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   161
90ce3da70b43 Initial load
duke
parents:
diff changeset
   162
    //----------------------------------------------------------------------
90ce3da70b43 Initial load
duke
parents:
diff changeset
   163
90ce3da70b43 Initial load
duke
parents:
diff changeset
   164
    /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
   165
     * If the property value must be one of a set of known tagged values,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   166
     * then this method should return an array of the tags.  This can
90ce3da70b43 Initial load
duke
parents:
diff changeset
   167
     * be used to represent (for example) enum values.  If a PropertyEditor
90ce3da70b43 Initial load
duke
parents:
diff changeset
   168
     * supports tags, then it should support the use of setAsText with
90ce3da70b43 Initial load
duke
parents:
diff changeset
   169
     * a tag value as a way of setting the value and the use of getAsText
90ce3da70b43 Initial load
duke
parents:
diff changeset
   170
     * to identify the current value.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   171
     *
90ce3da70b43 Initial load
duke
parents:
diff changeset
   172
     * @return The tag values for this property.  May be null if this
90ce3da70b43 Initial load
duke
parents:
diff changeset
   173
     *   property cannot be represented as a tagged value.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   174
     *
90ce3da70b43 Initial load
duke
parents:
diff changeset
   175
     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   176
    String[] getTags();
90ce3da70b43 Initial load
duke
parents:
diff changeset
   177
90ce3da70b43 Initial load
duke
parents:
diff changeset
   178
    //----------------------------------------------------------------------
90ce3da70b43 Initial load
duke
parents:
diff changeset
   179
90ce3da70b43 Initial load
duke
parents:
diff changeset
   180
    /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
   181
     * A PropertyEditor may choose to make available a full custom Component
90ce3da70b43 Initial load
duke
parents:
diff changeset
   182
     * that edits its property value.  It is the responsibility of the
90ce3da70b43 Initial load
duke
parents:
diff changeset
   183
     * PropertyEditor to hook itself up to its editor Component itself and
90ce3da70b43 Initial load
duke
parents:
diff changeset
   184
     * to report property value changes by firing a PropertyChange event.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   185
     * <P>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   186
     * The higher-level code that calls getCustomEditor may either embed
90ce3da70b43 Initial load
duke
parents:
diff changeset
   187
     * the Component in some larger property sheet, or it may put it in
90ce3da70b43 Initial load
duke
parents:
diff changeset
   188
     * its own individual dialog, or ...
90ce3da70b43 Initial load
duke
parents:
diff changeset
   189
     *
90ce3da70b43 Initial load
duke
parents:
diff changeset
   190
     * @return A java.awt.Component that will allow a human to directly
90ce3da70b43 Initial load
duke
parents:
diff changeset
   191
     *      edit the current property value.  May be null if this is
90ce3da70b43 Initial load
duke
parents:
diff changeset
   192
     *      not supported.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   193
     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   194
90ce3da70b43 Initial load
duke
parents:
diff changeset
   195
    java.awt.Component getCustomEditor();
90ce3da70b43 Initial load
duke
parents:
diff changeset
   196
90ce3da70b43 Initial load
duke
parents:
diff changeset
   197
    /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
   198
     * Determines whether this property editor supports a custom editor.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   199
     *
90ce3da70b43 Initial load
duke
parents:
diff changeset
   200
     * @return  True if the propertyEditor can provide a custom editor.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   201
     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   202
    boolean supportsCustomEditor();
90ce3da70b43 Initial load
duke
parents:
diff changeset
   203
90ce3da70b43 Initial load
duke
parents:
diff changeset
   204
    //----------------------------------------------------------------------
90ce3da70b43 Initial load
duke
parents:
diff changeset
   205
90ce3da70b43 Initial load
duke
parents:
diff changeset
   206
    /**
1272
40d9533e1505 4114658: DOC: Unspecified behaviour for java.beans.PropertyEditorSupport
malenkov
parents: 2
diff changeset
   207
     * Adds a listener for the value change.
40d9533e1505 4114658: DOC: Unspecified behaviour for java.beans.PropertyEditorSupport
malenkov
parents: 2
diff changeset
   208
     * When the property editor changes its value
40d9533e1505 4114658: DOC: Unspecified behaviour for java.beans.PropertyEditorSupport
malenkov
parents: 2
diff changeset
   209
     * it should fire a {@link PropertyChangeEvent}
40d9533e1505 4114658: DOC: Unspecified behaviour for java.beans.PropertyEditorSupport
malenkov
parents: 2
diff changeset
   210
     * on all registered {@link PropertyChangeListener}s,
40d9533e1505 4114658: DOC: Unspecified behaviour for java.beans.PropertyEditorSupport
malenkov
parents: 2
diff changeset
   211
     * specifying the {@code null} value for the property name
40d9533e1505 4114658: DOC: Unspecified behaviour for java.beans.PropertyEditorSupport
malenkov
parents: 2
diff changeset
   212
     * and itself as the source.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   213
     *
1272
40d9533e1505 4114658: DOC: Unspecified behaviour for java.beans.PropertyEditorSupport
malenkov
parents: 2
diff changeset
   214
     * @param listener  the {@link PropertyChangeListener} to add
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   215
     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   216
    void addPropertyChangeListener(PropertyChangeListener listener);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   217
90ce3da70b43 Initial load
duke
parents:
diff changeset
   218
    /**
1272
40d9533e1505 4114658: DOC: Unspecified behaviour for java.beans.PropertyEditorSupport
malenkov
parents: 2
diff changeset
   219
     * Removes a listener for the value change.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   220
     *
1272
40d9533e1505 4114658: DOC: Unspecified behaviour for java.beans.PropertyEditorSupport
malenkov
parents: 2
diff changeset
   221
     * @param listener  the {@link PropertyChangeListener} to remove
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   222
     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   223
    void removePropertyChangeListener(PropertyChangeListener listener);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   224
90ce3da70b43 Initial load
duke
parents:
diff changeset
   225
}