public class RadioIconCloud extends java.lang.Thread implements RadioIcon
RadioCanvas| Constructor and Description |
|---|
RadioIconCloud(int width,
int height,
int transparency,
int delay) |
| Modifier and Type | Method and Description |
|---|---|
int[] |
getDisplay()
Get the main representation of this icon
|
int |
getHeight()
Get the overall height of this icon
|
int |
getWidth()
Get the overall width of this icon
|
void |
init(RadioCanvas provider)
Called when a RadioCanvas is ready to receive input from this icon
|
void |
onClick(org.bukkit.entity.Entity entity,
DisplayInteract action,
int x,
int y)
Called interaction from either a player or a projectile
|
void |
run() |
void |
terminate()
Called when the RadioCanvas is disabling itself; Most likely end of use
|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldpublic RadioIconCloud(int width,
int height,
int transparency,
int delay)
public void run()
run in interface java.lang.Runnablerun in class java.lang.Threadpublic int[] getDisplay()
RadioIcongetDisplay in interface RadioIconpublic int getWidth()
RadioIconpublic int getHeight()
RadioIconpublic void init(RadioCanvas provider)
RadioIconpublic void onClick(org.bukkit.entity.Entity entity,
DisplayInteract action,
int x,
int y)
RadioIcononClick in interface RadioIconentity - The entity, either a player or a projectileaction - Will always be a player unless action is DisplayInteract.PROJECTILEx - The X coordinate of the click relative to the top left of this icony - The Y coordinate of the click relative to the top left of this icon