< prev index next >
modules/javafx.graphics/src/main/java/javafx/scene/Node.java
Print this page
*** 1197,1207 ****
* (<a href="http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier">CSS ID Specification</a>).
*
* @return the id assigned to this {@code Node} using the {@code setId}
* method or {@code null}, if no id has been assigned.
* @defaultValue null
! * @see <a href="doc-files/cssref.html">CSS Reference Guide</a>.
*/
public final String getId() {
return id == null ? null : id.get();
}
--- 1197,1207 ----
* (<a href="http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier">CSS ID Specification</a>).
*
* @return the id assigned to this {@code Node} using the {@code setId}
* method or {@code null}, if no id has been assigned.
* @defaultValue null
! * @see <a href="doc-files/cssref.html">CSS Reference Guide</a>
*/
public final String getId() {
return id == null ? null : id.get();
}
*** 1289,1299 ****
* variable contains style properties and values and not the
* selector portion of a style rule.
* @param value The inline CSS style to use for this {@code Node}.
* {@code null} is implicitly converted to an empty String.
* @defaultValue empty string
! * @see <a href="doc-files/cssref.html">CSS Reference Guide</a>.
*/
public final void setStyle(String value) {
styleProperty().set(value);
}
--- 1289,1299 ----
* variable contains style properties and values and not the
* selector portion of a style rule.
* @param value The inline CSS style to use for this {@code Node}.
* {@code null} is implicitly converted to an empty String.
* @defaultValue empty string
! * @see <a href="doc-files/cssref.html">CSS Reference Guide</a>
*/
public final void setStyle(String value) {
styleProperty().set(value);
}
*** 1306,1316 ****
* selector portion of a style rule.
* @defaultValue empty string
* @return The inline CSS style associated with this {@code Node}.
* If this {@code Node} does not have an inline style,
* an empty String is returned.
! * @see <a href="doc-files/cssref.html">CSS Reference Guide</a>.
*/
public final String getStyle() {
return style == null ? "" : style.get();
}
--- 1306,1316 ----
* selector portion of a style rule.
* @defaultValue empty string
* @return The inline CSS style associated with this {@code Node}.
* If this {@code Node} does not have an inline style,
* an empty String is returned.
! * @see <a href="doc-files/cssref.html">CSS Reference Guide</a>
*/
public final String getStyle() {
return style == null ? "" : style.get();
}
< prev index next >