1 /* 2 * Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * This code is free software; you can redistribute it and/or modify it 6 * under the terms of the GNU General Public License version 2 only, as 7 * published by the Free Software Foundation. 8 * 9 * This code is distributed in the hope that it will be useful, but WITHOUT 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 12 * version 2 for more details (a copy is included in the LICENSE file that 13 * accompanied this code). 14 * 15 * You should have received a copy of the GNU General Public License version 16 * 2 along with this work; if not, write to the Free Software Foundation, 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 * 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 * or visit www.oracle.com if you need additional information or have any 21 * questions. 22 */ 23 24 package pkgfx; 25 26 public class C { 27 28 /** 29 * @propertySetter Property 30 * @propertyDescription PropertyDescription 31 */ CC()32 public void CC() {} 33 34 /** 35 * @propertyGetter Property 36 * 37 */ B()38 public void B() {} 39 40 /** 41 * Method A documentation. Test index tag {@index "test treat as private"}. 42 * @treatAsPrivate 43 */ A()44 public void A() {} 45 46 /** 47 * Field i 48 * @defaultValue 1.0 49 */ 50 public int i; 51 52 53 /** 54 * Defines the direction/speed at which the {@code Timeline} is expected to 55 * be played. 56 * @defaultValue 11 57 * @since JavaFX 8.0 58 */ 59 private DoubleProperty rate; 60 setRate(double value)61 public final void setRate(double value) {} 62 getRate()63 public final double getRate() {return 0.0;} 64 rateProperty()65 public final DoubleProperty rateProperty() {return null;} 66 67 private BooleanProperty paused; 68 setPaused(boolean value)69 public final void setPaused(boolean value) {} 70 isPaused()71 public final double isPaused() {return 0.0;} 72 73 class DoubleProperty {} 74 75 class BooleanProperty {} 76 setTestMethodProperty()77 public final BooleanProperty setTestMethodProperty() {return null;} 78 79 private class Inner { testMethodProperty()80 private BooleanProperty testMethodProperty() {return null;} 81 82 /** 83 * Defines the direction/speed at which the {@code Timeline} is expected to 84 * be played. 85 * @defaultValue 11 86 */ 87 private DoubleProperty rate; 88 setRate(double value)89 public final void setRate(double value) {} 90 getRate()91 public final double getRate() {return 0.0;} 92 rateProperty()93 public final DoubleProperty rateProperty() {return null;} 94 } 95 } 96