public class ColorPresentation
extends java.lang.Object
Constructor and Description |
---|
ColorPresentation() |
ColorPresentation(java.lang.String label) |
ColorPresentation(java.lang.String label,
TextEdit textEdit) |
ColorPresentation(java.lang.String label,
TextEdit textEdit,
java.util.List<TextEdit> additionalTextEdits) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<TextEdit> |
getAdditionalTextEdits()
An optional array of additional text edits that are applied when
selecting this color presentation.
|
java.lang.String |
getLabel()
The label of this color presentation.
|
TextEdit |
getTextEdit()
An edit which is applied to a document when selecting
this presentation for the color.
|
int |
hashCode() |
void |
setAdditionalTextEdits(java.util.List<TextEdit> additionalTextEdits)
An optional array of additional text edits that are applied when
selecting this color presentation.
|
void |
setLabel(java.lang.String label)
The label of this color presentation.
|
void |
setTextEdit(TextEdit textEdit)
An edit which is applied to a document when selecting
this presentation for the color.
|
java.lang.String |
toString() |
public ColorPresentation()
public ColorPresentation(java.lang.String label)
public ColorPresentation(java.lang.String label, TextEdit textEdit)
@Pure public java.lang.String getLabel()
public void setLabel(java.lang.String label)
@Pure public TextEdit getTextEdit()
public void setTextEdit(TextEdit textEdit)
@Pure public java.util.List<TextEdit> getAdditionalTextEdits()
public void setAdditionalTextEdits(java.util.List<TextEdit> additionalTextEdits)
@Pure public java.lang.String toString()
toString
in class java.lang.Object
@Pure public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
@Pure public int hashCode()
hashCode
in class java.lang.Object