Package org.eclipse.lsp4j
Class ColorInformation
- java.lang.Object
-
- org.eclipse.lsp4j.ColorInformation
-
public class ColorInformation extends java.lang.ObjectSince 3.6.0
-
-
Constructor Summary
Constructors Constructor Description ColorInformation()ColorInformation(Range range, Color color)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)ColorgetColor()The actual color value for this color range.RangegetRange()The range in the document where this color appears.inthashCode()voidsetColor(Color color)The actual color value for this color range.voidsetRange(Range range)The range in the document where this color appears.java.lang.StringtoString()
-
-
-
Method Detail
-
getRange
public Range getRange()
The range in the document where this color appears.
-
setRange
public void setRange(Range range)
The range in the document where this color appears.
-
getColor
public Color getColor()
The actual color value for this color range.
-
setColor
public void setColor(Color color)
The actual color value for this color range.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-