UpdateEvent<Role,java.lang.Integer>public class RoleUpdateColorEvent extends GenericRoleUpdateEvent<java.lang.Integer>
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
IDENTIFIER |
| Constructor | Description |
|---|---|
RoleUpdateColorEvent(JDA api,
long responseNumber,
Role role,
int oldColor) |
| Modifier and Type | Method | Description |
|---|---|---|
java.awt.Color |
getNewColor() |
The new color
|
int |
getNewColorRaw() |
The raw rgb value of the new color
|
java.awt.Color |
getOldColor() |
The old color
|
int |
getOldColorRaw() |
The raw rgb value of the old color
|
getJDA, getResponseNumbergetGuild, getRolegetEntity, getNewValue, getOldValue, getPropertyIdentifier, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetEntityTypepublic static final java.lang.String IDENTIFIER
public java.awt.Color getOldColor()
public int getOldColorRaw()
public java.awt.Color getNewColor()
public int getNewColorRaw()