|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.dillyg10.STAB.TabObject
public class TabObject
This represents the Tab list used throughout the plugin.
| Field Summary | |
|---|---|
static int |
MAX_X
The max row size for the tab list. |
static int |
MAX_Y
The max collum size for the tab list |
| Constructor Summary | |
|---|---|
TabObject(org.bukkit.plugin.Plugin p,
int priority)
Create a TabObject |
|
TabObject(org.bukkit.plugin.Plugin p,
int priority,
int id)
Create a TabObject |
|
| Method Summary | |
|---|---|
void |
clear()
Clears the tabs, does not require any packets! |
int |
getId()
Get the ID |
org.bukkit.plugin.Plugin |
getPlugin()
Get the plugin |
int |
getPriority()
Returns the priority of this TabObject |
java.lang.String |
getTab(int x,
int y)
Returns the String found at x, and y |
void |
setId(int id)
Sets the ID |
void |
setPriority(int priority)
Sets the priority for this TabObject |
void |
setTab(int x,
int y,
java.lang.String tab)
Sets a tab at the x and y, it is online and ping 9999 by default |
void |
setTab(int x,
int y,
java.lang.String tab,
boolean online)
Sets a tab at the x and y, and online equal to online, the ping is 9999 by default |
void |
setTab(int x,
int y,
java.lang.String tab,
boolean online,
int ping)
Set a tab at the x and y, with online equal to online, and ping equal to ping |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int MAX_X
public static final int MAX_Y
| Constructor Detail |
|---|
public TabObject(org.bukkit.plugin.Plugin p,
int priority)
p - The Pluginpriority - The Priority @see TabPriority
public TabObject(org.bukkit.plugin.Plugin p,
int priority,
int id)
p - The Pluginpriority - The Priority @see TabPriorityid - The id| Method Detail |
|---|
public int getPriority()
public void setPriority(int priority)
priority -
public void setTab(int x,
int y,
java.lang.String tab)
x - X locationy - Y locationtab - What you want to set
public void setTab(int x,
int y,
java.lang.String tab,
boolean online)
x - X locationy - Y locationtab - What you want to setonline - Whether it is online or not, offline will show as blank
public void setTab(int x,
int y,
java.lang.String tab,
boolean online,
int ping)
x - X locationy - Y locationtab - What you want to setonline - Whether it is online or not, offline will show as blankping - The ping
public java.lang.String getTab(int x,
int y)
x - X locationy - Y location
public org.bukkit.plugin.Plugin getPlugin()
public int getId()
public void setId(int id)
id - The ID you want to set it aspublic void clear()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||