|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object hoplugins.teamAnalyzer.SystemManager
This is a class where all the relevant and shared plugin info are kept
Constructor Summary | |
SystemManager()
|
Method Summary | |
static int |
getActiveTeamId()
Get the active team ID |
static java.lang.String |
getActiveTeamName()
Get the active team Name |
static PluginConfiguration |
getConfig()
Returns the plugin configuration |
static int |
getCupOpponentId()
Get next cup/friendly opponent team Id |
static Filter |
getFilter()
Returns the actual filter settings |
static int |
getLeagueOpponentId()
Get next league opponent team Id |
static hoplugins.TeamAnalyzer |
getPlugin()
Returns the main Plugin class |
static void |
initialize(hoplugins.TeamAnalyzer aPlugin)
Initialize the instance |
static void |
refresh()
Refresh all the plugins data after an event |
static void |
refreshData()
Refrwsh only the data without recalculating everything |
static void |
setActiveTeam(Team team)
Set the active team |
static void |
setConfig(PluginConfiguration configuration)
Update the plugin configuration |
static void |
updateReport()
Recalculate the report |
static void |
updateUI()
Update the UI |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SystemManager()
Method Detail |
public static void setActiveTeam(Team team)
team
- public static int getActiveTeamId()
public static java.lang.String getActiveTeamName()
public static void setConfig(PluginConfiguration configuration)
configuration
- public static PluginConfiguration getConfig()
public static int getCupOpponentId()
public static Filter getFilter()
public static int getLeagueOpponentId()
public static hoplugins.TeamAnalyzer getPlugin()
public static void initialize(hoplugins.TeamAnalyzer aPlugin)
aPlugin
- main plugin classpublic static void refresh()
public static void refreshData()
public static void updateReport()
public static void updateUI()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |