| Modifier and Type | Field and Description |
|---|---|
| private List | additionalTextEdits
An optional array of additional text edits that are applied when selecting this color presentation. |
| private String | label
The label of this color presentation. |
| private TextEdit | textEdit
An edit which is applied to a document when selecting this presentation for the color. |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public | ColorPresentation(final String label, final TextEdit textEdit, final List<TextEdit> additionalTextEdits)
|
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(final Object obj)
Overrides java. Indicates whether some other object is "equal to" this one. |
| public List | getAdditionalTextEdits()
An optional array of additional text edits that are applied when selecting this color presentation. |
| public String | |
| public TextEdit | |
| public int | |
| public void | setAdditionalTextEdits(final List<TextEdit> additionalTextEdits)
An optional array of additional text edits that are applied when selecting this color presentation. |
| public void | |
| public void | setTextEdit(final TextEdit textEdit)
An edit which is applied to a document when selecting this presentation for the color. |
| public String |
| additionalTextEdits | back to summary |
|---|---|
| private List<TextEdit> additionalTextEdits An optional array of additional text edits that are applied when selecting this color presentation. Edits must not overlap with the main edit nor with themselves. | |
| label | back to summary |
|---|---|
| private String label The label of this color presentation. It will be shown on the color picker header. By default this is also the text that is inserted when selecting this color presentation. | |
| textEdit | back to summary |
|---|---|
| private TextEdit textEdit An edit which is applied to a document when selecting this presentation for the color. When `null` the label is used. | |
| ColorPresentation | back to summary |
|---|---|
| public ColorPresentation() | |
| ColorPresentation | back to summary |
|---|---|
| public ColorPresentation(final String label) | |
| ColorPresentation | back to summary |
|---|---|
| public ColorPresentation(final String label, final TextEdit textEdit) | |
| ColorPresentation | back to summary |
|---|---|
| public ColorPresentation(final String label, final TextEdit textEdit, final List<TextEdit> additionalTextEdits) | |
| equals | back to summary |
|---|---|
| public boolean equals(final Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| getAdditionalTextEdits | back to summary |
|---|---|
| public List An optional array of additional text edits that are applied when selecting this color presentation. Edits must not overlap with the main edit nor with themselves. | |
| getLabel | back to summary |
|---|---|
| public String getLabel() The label of this color presentation. It will be shown on the color picker header. By default this is also the text that is inserted when selecting this color presentation.
| |
| getTextEdit | back to summary |
|---|---|
| public TextEdit getTextEdit() An edit which is applied to a document when selecting this presentation for the color. When `null` the label is used. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| setAdditionalTextEdits | back to summary |
|---|---|
| public void setAdditionalTextEdits(final List<TextEdit> additionalTextEdits) An optional array of additional text edits that are applied when selecting this color presentation. Edits must not overlap with the main edit nor with themselves. | |
| setLabel | back to summary |
|---|---|
| public void setLabel(final String label) The label of this color presentation. It will be shown on the color picker header. By default this is also the text that is inserted when selecting this color presentation. | |
| setTextEdit | back to summary |
|---|---|
| public void setTextEdit(final TextEdit textEdit) An edit which is applied to a document when selecting this presentation for the color. When `null` the label is used. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |