changeset 1289:9d72813b0448

RT-20104 Tooltip missing textAlignment javadoc
author Paru Somashekar <paru.somashekar@oracle.com>
date Tue, 12 Jun 2012 16:49:19 -0700
parents 6e34b405d07e
children 2f475847df17
files javafx-ui-controls/src/javafx/scene/control/Tooltip.java
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/javafx-ui-controls/src/javafx/scene/control/Tooltip.java	Tue Jun 12 14:30:53 2012 -0700
+++ b/javafx-ui-controls/src/javafx/scene/control/Tooltip.java	Tue Jun 12 16:49:19 2012 -0700
@@ -186,17 +186,17 @@
     }
     public final String getText() { return text == null ? "" : text.getValue(); }
 
-    /**
-     * Specifies the behavior for lines of text <em>when text is multiline</em>
-     * Unlike {@link #contentDisplay} which affects the graphic and text, this setting
-     * only affects multiple lines of text relative to the text bounds.
-     */
     public final void setTextAlignment(TextAlignment value) { textAlignmentProperty().setValue(value); }
     public final TextAlignment getTextAlignment() { 
         return ((Tooltip.CSSBridge)bridge).textAlignment == null 
                 ? TextAlignment.LEFT 
                 : ((Tooltip.CSSBridge)bridge).textAlignment.getValue(); 
     }
+    /**
+     * Specifies the behavior for lines of text <em>when text is multiline</em>.
+     * Unlike {@link #contentDisplay} which affects the graphic and text, this setting
+     * only affects multiple lines of text relative to the text bounds.
+     */
     public final ObjectProperty<TextAlignment> textAlignmentProperty() {
         return ((Tooltip.CSSBridge)bridge).textAlignmentProperty();
     }