Top Description Fields Constructors Methods
com.sun.javafx.fxml.builder

public final Class JavaFXFontBuilder

extends AbstractMap<String, Object>
implements Builder<Font>
Class Inheritance
All Implemented Interfaces
javafx.util.Builder
Imports
java.io.InputStream, java.net.MalformedURLException, .URL, java.util.AbstractMap, .Set, .StringTokenizer, javafx.scene.text.Font, .FontPosture, .FontWeight, javafx.util.Builder

JavaFX font builder.

Field Summary

Modifier and TypeField and Description
private String
private FontPosture
private double
private URL
private FontWeight

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Font
build()

Implements javafx.util.Builder.build.

Builds and returns the object.

public boolean
containsKey(Object key)

Overrides java.util.AbstractMap.containsKey.

Implements java.util.Map.containsKey.

Returns true if this map contains a mapping for the specified key.

public Set<Map.Entry<String, Object>>
entrySet()

Implements abstract java.util.AbstractMap.entrySet.

Implements java.util.Map.entrySet.

Returns a Set view of the mappings contained in this map.

public Object
get(Object key)

Overrides java.util.AbstractMap.get.

Implements java.util.Map.get.

Returns the value to which the specified key is mapped, or null if this map contains no mapping for the key.

public Object
put(String key, Object value)

Overrides java.util.AbstractMap.put.

Implements java.util.Map.put.

Associates the specified value with the specified key in this map (optional operation).

Inherited from java.util.AbstractMap:
clearclonecontainsValueequalshashCodeisEmptykeySetputAllremovesizetoStringvalues

Field Detail

nameback to summary
private String name
postureback to summary
private FontPosture posture
sizeback to summary
private double size
urlback to summary
private URL url
weightback to summary
private FontWeight weight

Constructor Detail

JavaFXFontBuilderback to summary
public JavaFXFontBuilder()

Method Detail

buildback to summary
public Font build()

Implements javafx.util.Builder.build.

Doc from javafx.util.Builder.build.

Builds and returns the object.

Annotations
@Override
containsKeyback to summary
public boolean containsKey(Object key)

Overrides java.util.AbstractMap.containsKey.

Implements java.util.Map.containsKey.

Doc from java.util.AbstractMap.containsKey.

Returns true if this map contains a mapping for the specified key. More formally, returns true if and only if this map contains a mapping for a key k such that Objects.equals(key, k). (There can be at most one such mapping.)

Annotations
@Override
entrySetback to summary
public Set<Map.Entry<String, Object>> entrySet()

Implements abstract java.util.AbstractMap.entrySet.

Implements java.util.Map.entrySet.

Doc from java.util.Map.entrySet.

Returns a Set view of the mappings contained in this map. The set is backed by the map, so changes to the map are reflected in the set, and vice-versa. If the map is modified while an iteration over the set is in progress (except through the iterator's own remove operation, or through the setValue operation on a map entry returned by the iterator) the results of the iteration are undefined. The set supports element removal, which removes the corresponding mapping from the map, via the Iterator.remove, Set.remove, removeAll, retainAll and clear operations. It does not support the add or addAll operations.

Annotations
@Override
getback to summary
public Object get(Object key)

Overrides java.util.AbstractMap.get.

Implements java.util.Map.get.

Doc from java.util.AbstractMap.get.

Returns the value to which the specified key is mapped, or null if this map contains no mapping for the key.

More formally, if this map contains a mapping from a key k to a value v such that Objects.equals(key, k), then this method returns v; otherwise it returns null. (There can be at most one such mapping.)

If this map permits null values, then a return value of null does not necessarily indicate that the map contains no mapping for the key; it's also possible that the map explicitly maps the key to null. The containsKey operation may be used to distinguish these two cases.

Annotations
@Override
putback to summary
public Object put(String key, Object value)

Overrides java.util.AbstractMap.put.

Implements java.util.Map.put.

Doc from java.util.AbstractMap.put.

Associates the specified value with the specified key in this map (optional operation). If the map previously contained a mapping for the key, the old value is replaced by the specified value. (A map m is said to contain a mapping for a key k if and only if m.containsKey(k) would return true.)

Annotations
@Override