Spec-Zone .ru
спецификации, руководства, описания, API
|
Modifier | Constructor and Description |
---|---|
protected |
FontBuilder() |
Modifier and Type | Method and Description |
---|---|
Font |
build()
Make an instance of
Font based on the properties set on this builder. |
static FontBuilder |
create()
Creates a new instance of FontBuilder.
|
FontBuilder |
name(java.lang.String x)
Set the value of the
name property for the instance constructed by this builder. |
FontBuilder |
size(double x)
Set the value of the
size property for the instance constructed by this builder. |
public static FontBuilder create()
public FontBuilder name(java.lang.String x)
name
property for the instance constructed by this builder.public FontBuilder size(double x)
size
property for the instance constructed by this builder.Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. Use is subject to