Class EditableEmbedFieldImpl
- java.lang.Object
-
- org.javacord.core.entity.message.embed.EditableEmbedFieldImpl
-
- All Implemented Interfaces:
java.util.Formattable
,EditableEmbedField
,EmbedField
,Nameable
public class EditableEmbedFieldImpl extends java.lang.Object implements EditableEmbedField
The implementation ofEditableEmbedField
.
-
-
Constructor Summary
Constructors Constructor Description EditableEmbedFieldImpl(EmbedFieldImpl field)
Creates a new editable embed field.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearDelegate()
Clears the delegate of this editable embed field and thus makes this instance unusable.java.lang.String
getName()
java.lang.String
getValue()
boolean
isInline()
void
setInline(boolean inline)
void
setName(java.lang.String name)
void
setValue(java.lang.String value)
-
-
-
Constructor Detail
-
EditableEmbedFieldImpl
public EditableEmbedFieldImpl(EmbedFieldImpl field)
Creates a new editable embed field.- Parameters:
field
- The field to be edited.
-
-
Method Detail
-
clearDelegate
public void clearDelegate()
Clears the delegate of this editable embed field and thus makes this instance unusable.
-
getValue
public java.lang.String getValue()
- Specified by:
getValue
in interfaceEmbedField
-
isInline
public boolean isInline()
- Specified by:
isInline
in interfaceEmbedField
-
setName
public void setName(java.lang.String name)
- Specified by:
setName
in interfaceEditableEmbedField
-
setValue
public void setValue(java.lang.String value)
- Specified by:
setValue
in interfaceEditableEmbedField
-
setInline
public void setInline(boolean inline)
- Specified by:
setInline
in interfaceEditableEmbedField
-
-