public abstract class ALspLight extends ALspGraphicsEffect
Modifier | Constructor and Description |
---|---|
protected |
ALspLight()
Default constructor.
|
protected |
ALspLight(Color aColor)
Creates a light with the given color.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Color |
getColor()
Returns the light's color.
|
int |
hashCode() |
void |
setColor(Color aColor)
Sets the light's color.
|
addPropertyChangeListener, firePropertyChange, isEnabled, removePropertyChangeListener, setEnabled
protected ALspLight()
protected ALspLight(Color aColor)
aColor
- the light colorpublic Color getColor()
public void setColor(Color aColor)
aColor
- the new colorpublic boolean equals(Object o)
equals
in class ALspGraphicsEffect
public int hashCode()
hashCode
in class ALspGraphicsEffect