public enum NotebookCellKind extends java.lang.Enum<NotebookCellKind>
Since 3.17.0
| Enum Constant and Description |
|---|
Code
A code-cell is source code.
|
Markup
A markup-cell is formatted source that is used for display.
|
| Modifier and Type | Method and Description |
|---|---|
static NotebookCellKind |
forValue(int value) |
int |
getValue() |
static NotebookCellKind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NotebookCellKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NotebookCellKind Markup
public static final NotebookCellKind Code
public static NotebookCellKind[] values()
for (NotebookCellKind c : NotebookCellKind.values()) System.out.println(c);
public static NotebookCellKind valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int getValue()
public static NotebookCellKind forValue(int value)