public class ConfigLeaf extends java.lang.Object implements TreeItem, Commentable
| Constructor and Description |
|---|
ConfigLeaf(java.lang.String name,
java.lang.String comment)
Creates a new
ConfigLeaf. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getComment()
Returns the comment that was assigned to this class
|
java.lang.String |
getName()
Returns this item's name.
|
java.lang.String |
toString() |
public ConfigLeaf(@Nullable
java.lang.String name,
@Nullable
java.lang.String comment)
ConfigLeaf.name - the name for this leafcomment - the comment for this leafConfigLeaf@Nullable public java.lang.String getName()
TreeItem@Nullable public java.lang.String getComment()
CommentablegetComment in interface Commentablepublic java.lang.String toString()
toString in class java.lang.Object