public final class Titles extends Object
Modifier and Type | Method and Description |
---|---|
static Title |
hide()
Returns a title that, when sent to the client, will cause any existing title to be hidden.
|
static Title |
reset()
Returns a title that, when sent to the client, will cause all title data to be reset and any
existing title to be hidden.
|
static TextTitle.Builder |
text()
Returns a builder for
TextTitle s. |
public static Title reset()
public static Title hide()
TextTitle
with no title or subtitle (only a time).public static TextTitle.Builder text()
TextTitle
s.