< prev index next >

modules/javafx.controls/src/main/java/javafx/scene/control/SkinBase.java

Print this page

        

@@ -166,17 +166,22 @@
      *                                                                         *
      **************************************************************************/
 
     /**
      * Returns the children of the skin.
+     * @return the children of the skin
      */
     public final ObservableList<Node> getChildren() {
         return children;
     }
 
     /**
      * Called during the layout pass of the scenegraph.
+     * @param contentX the x position
+     * @param contentY the y position
+     * @param contentWidth the width
+     * @param contentHeight the height
      */
     protected void layoutChildren(final double contentX, final double contentY,
             final double contentWidth, final double contentHeight) {
         // By default simply sizes all managed children to fit within the space provided
         for (int i=0, max=children.size(); i<max; i++) {

@@ -187,10 +192,11 @@
         }
     }
 
     /**
      * Determines whether all mouse events should be automatically consumed.
+     * @param value the consume mouse events flag
      */
     protected final void consumeMouseEvents(boolean value) {
         if (value) {
             control.addEventHandler(MouseEvent.ANY, mouseEventConsumer);
         } else {

@@ -201,10 +207,12 @@
 
     /**
      * Subclasses can invoke this method to register that they want to listen to
      * property change events for the given property. Registered {@link Consumer} instances
      * will be executed in the order in which they are registered.
+     * @param property the property
+     * @param consumer the consumer
      */
     protected final void registerChangeListener(ObservableValue<?> property, Consumer<ObservableValue<?>> consumer) {
         if (lambdaChangeListenerHandler == null) {
             lambdaChangeListenerHandler = new LambdaMultiplePropertyChangeListenerHandler();
         }

@@ -886,10 +894,12 @@
     }
 
     /**
      * Returns the CssMetaData associated with this class, which may include the
      * CssMetaData of its superclasses.
+     * @return the CssMetaData associated with this class, which may include the
+     * CssMetaData of its superclasses
      */
     public static List<CssMetaData<? extends Styleable, ?>> getClassCssMetaData() {
         return SkinBase.StyleableProperties.STYLEABLES;
     }
 

@@ -906,11 +916,11 @@
     /**
      * Used to specify that a pseudo-class of this Node has changed. If the
      * pseudo-class is used in a CSS selector that matches this Node, CSS will
      * be reapplied. Typically, this method is called from the {@code invalidated}
      * method of a property that is used as a pseudo-class. For example:
-     * <code><pre>
+     * <pre><code>
      *
      *     private static final PseudoClass MY_PSEUDO_CLASS_STATE = PseudoClass.getPseudoClass("my-state");
      *
      *     BooleanProperty myPseudoClassState = new BooleanPropertyBase(false) {
      *

@@ -924,11 +934,11 @@
      *
      *           {@literal @}Override public String getName() {
      *               return "myPseudoClassState";
      *           }
      *       };
-     * </pre><code>
+     * </code></pre>
      *
      * @see Node#pseudoClassStateChanged
      * @param pseudoClass the pseudo-class that has changed state
      * @param active whether or not the state is active
      * @since JavaFX 8.0
< prev index next >