public class Heading extends Text
| Modifier and Type | Field and Description |
|---|---|
static int |
MAXIMUM_LEVEL |
static int |
MINIMUM_LEVEL |
static char |
UNDERLINE_CHAR_1 |
static char |
UNDERLINE_CHAR_2 |
| Constructor and Description |
|---|
Heading(java.lang.Object value) |
Heading(java.lang.Object value,
int level) |
| Modifier and Type | Method and Description |
|---|---|
int |
getLevel() |
java.lang.String |
getPredecessor() |
java.lang.String |
getSuccessor() |
boolean |
isUnderlineStyle() |
void |
setLevel(int level) |
void |
setUnderlineStyle(boolean underlineStyle) |
getValue, serialize, setValuegetSerialized, getSerialized, invalidateSerialized, setSerialized, toMarkdownElement, toStringpublic static final int MINIMUM_LEVEL
public static final int MAXIMUM_LEVEL
public static final char UNDERLINE_CHAR_1
public static final char UNDERLINE_CHAR_2
public Heading(java.lang.Object value)
public Heading(java.lang.Object value,
int level)
public java.lang.String getPredecessor()
getPredecessor in interface MarkdownCascadablegetPredecessor in class Textpublic java.lang.String getSuccessor()
getSuccessor in interface MarkdownCascadablegetSuccessor in class Textpublic int getLevel()
public void setLevel(int level)
public boolean isUnderlineStyle()
public void setUnderlineStyle(boolean underlineStyle)