9 * by Oracle in the LICENSE file that accompanied this code.
10 *
11 * This code is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * version 2 for more details (a copy is included in the LICENSE file that
15 * accompanied this code).
16 *
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 package com.sun.javafx.scene.control.skin;
27
28 import com.sun.javafx.event.EventDispatchChainImpl;
29 import javafx.beans.InvalidationListener;
30 import javafx.event.EventDispatchChain;
31 import javafx.scene.Node;
32 import javafx.scene.control.Skin;
33 import javafx.scene.control.TextField;
34
35 /**
36 */
37 abstract class InputFieldSkin implements Skin<InputField> {
38 /**
39 * The {@code Control} that is referencing this Skin. There is a
40 * one-to-one relationship between a {@code Skin} and a {@code Control}.
41 * When a {@code Skin} is set on a {@code Control}, this variable is
42 * automatically updated.
43 */
44 protected InputField control;
45
46 /**
47 * This textField is used to represent the InputField.
48 */
49 private InnerTextField textField;
50
51 private InvalidationListener InputFieldFocusListener;
52 private InvalidationListener InputFieldStyleClassListener;
53
54 /**
55 * Create a new InputFieldSkin.
56 * @param control The InputField
57 */
|
9 * by Oracle in the LICENSE file that accompanied this code.
10 *
11 * This code is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * version 2 for more details (a copy is included in the LICENSE file that
15 * accompanied this code).
16 *
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 package com.sun.javafx.scene.control.skin;
27
28 import com.sun.javafx.event.EventDispatchChainImpl;
29 import com.sun.javafx.scene.control.InputField;
30 import javafx.beans.InvalidationListener;
31 import javafx.event.EventDispatchChain;
32 import javafx.scene.Node;
33 import javafx.scene.control.Skin;
34 import javafx.scene.control.TextField;
35
36 /**
37 */
38 public abstract class InputFieldSkin implements Skin<InputField> {
39 /**
40 * The {@code Control} that is referencing this Skin. There is a
41 * one-to-one relationship between a {@code Skin} and a {@code Control}.
42 * When a {@code Skin} is set on a {@code Control}, this variable is
43 * automatically updated.
44 */
45 protected InputField control;
46
47 /**
48 * This textField is used to represent the InputField.
49 */
50 private InnerTextField textField;
51
52 private InvalidationListener InputFieldFocusListener;
53 private InvalidationListener InputFieldStyleClassListener;
54
55 /**
56 * Create a new InputFieldSkin.
57 * @param control The InputField
58 */
|