|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.hattrickorganizer.tools.HelperWrapper
public class HelperWrapper
DOCUMENT ME!
| Method Summary | |
|---|---|
void |
addTempSpieler(ISpieler spieler)
TODO Missing Method Documentation |
java.lang.String[] |
convertTimeMillisToFormatString(double[] timewerte)
TODO Missing Method Documentation |
void |
copyArray2Vector(java.lang.Object[] src,
java.util.Vector dest)
TODO Missing Method Documentation |
void |
copyVector2Array(java.util.Vector src,
java.lang.Object[] dest)
TODO Missing Method Documentation |
IHTCalendar |
createEconomyCalendar()
Creates a HTCalendar to calculate local values for a league, using the economy date to flip over to the next week. |
IHTCalendar |
createEconomyCalendar(java.util.Date date)
Creates a HTCalendar to calculate local values for a league, using the economy date to flip over to the next week. |
IHTCalendar |
createEconomyCalendar(IHOMiniModel model)
Creates a HTCalendar to calculate local values for a league, using the economy date to flip over to the next week. |
IHTCalendar |
createEconomyCalendar(IHOMiniModel model,
java.util.Date date)
Creates a HTCalendar to calculate local values for a league, using the economy date to flip over to the next week. |
IHTCalendar |
createEconomyCalendar(java.sql.Timestamp timestamp)
Creates a HTCalendar to calculate local values for a league, using the economy date to flip over to the next week. |
IHTCalendar |
createGlobalCalendar()
Creates a HTCalendar to calculate global (Swedish) values. |
IHTCalendar |
createGlobalCalendar(java.util.Date date)
Creates a HTCalendar to calculate global (Swedish) values and presets it with he specified date a date. |
javax.swing.DefaultComboBoxModel |
createListModel(java.util.Vector vector)
TODO Missing Method Documentation |
ISpieler |
createSpielerFromText(java.lang.String text)
TODO Missing Method Documentation |
IHTCalendar |
createTrainingCalendar()
Creates a HTCalendar to calculate local values for a league, using the training date to flip over to the next week. |
IHTCalendar |
createTrainingCalendar(java.util.Date date)
Creates a HTCalendar to calculate local values for a league, using the training date to flip over to the next week. |
IHTCalendar |
createTrainingCalendar(IHOMiniModel model)
Creates a HTCalendar to calculate local values for a league, using the training date to flip over to the next week. |
IHTCalendar |
createTrainingCalendar(IHOMiniModel model,
java.util.Date date)
Creates a HTCalendar to calculate local values for a league, using the training date to flip over to the next week. |
IHTCalendar |
createTrainingCalendar(java.sql.Timestamp timestamp)
Creates a HTCalendar to calculate local values for a league, using the training date to flip over to the next week. |
java.lang.String |
decodeStringFromDatabase(java.lang.String text)
TODO Missing Method Documentation |
java.lang.String |
deleteEscapeSequences(java.lang.String text)
TODO Missing Method Documentation |
boolean |
downloadMatchData(int matchID)
downloads all match related data and stores it in Database |
java.lang.String |
encodeString4Database(java.lang.String text)
TODO Missing Method Documentation |
boolean |
existsMatchInDB(int matchID)
checkes wheater matchdata is already stored in db or not |
int[] |
generateIntArray(java.lang.String text)
TODO Missing Method Documentation |
java.lang.String[] |
generateStringArray(java.lang.String werte,
char trenner)
TODO Missing Method Documentation |
java.awt.Color |
getColor4SpielHighlight(int typ,
int subtyp)
TODO Missing Method Documentation |
java.util.Date |
getHattrickDate(java.lang.String string)
TODO Missing Method Documentation |
int |
getHTSeason(java.util.Date date)
Get HT-Season of a given date (using the economy calendar) |
int |
getHTSeason(java.util.Date date,
boolean useTrainingCalendar)
Get HT-Season of a given date |
int |
getHTSeason(java.sql.Timestamp timestamp)
Get HT-Season of a given date (using the economy calendar) |
int |
getHTSeason(java.sql.Timestamp timestamp,
boolean useTrainingCalendar)
Get HT-Season of a given date |
int |
getHTWeek(java.util.Date date)
Get HT-Week of a given date (using the economy calendar) |
int |
getHTWeek(java.util.Date date,
boolean useTrainingCalendar)
Get HT-Week of a given date |
int |
getHTWeek(java.sql.Timestamp timestamp)
Get HT-Week of a given date (using the economy calendar) |
int |
getHTWeek(java.sql.Timestamp timestamp,
boolean useTrainingCalendar)
Get HT-Week of a given date |
javax.swing.ImageIcon |
getImage4Position(int posid,
byte taktik)
TODO Missing Method Documentation |
javax.swing.ImageIcon |
getImageIcon4Country(int country)
TODO Missing Method Documentation |
javax.swing.ImageIcon |
getImageIcon4Spezialitaet(int wert)
TODO Missing Method Documentation |
javax.swing.ImageIcon |
getImageIcon4SpielHighlight(int typ,
int subtyp)
TODO Missing Method Documentation |
javax.swing.ImageIcon |
getImageIcon4Spieltyp(int spieltyp)
TODO Missing Method Documentation |
javax.swing.ImageIcon |
getImageIcon4Veraenderung(int wert)
TODO Missing Method Documentation |
javax.swing.ImageIcon |
getImageIcon4Wetter(int wert)
TODO Missing Method Documentation |
javax.swing.ImageIcon |
getImageIcon4WetterEffekt(int wert)
TODO Missing Method Documentation |
int |
getLanguageID()
TODO Missing Method Documentation |
java.lang.String |
getLanguageName()
TODO Missing Method Documentation |
java.util.Calendar |
getLastTrainingDate(java.util.Date skillupDate,
java.util.Date refTrainingDate)
Calculate the last valid training date for a certain date (skillupDate) |
IMatchHelper |
getMatchHelper()
Returns a match helper instance |
IMP3Player |
getMP3Player()
Returns an IMP3Player. |
java.lang.String |
getNameForAggressivness(int value)
TODO Missing Method Documentation |
java.lang.String |
getNameForBewertung(int value,
boolean showNumber,
boolean isMatch)
TODO Missing Method Documentation |
java.lang.String |
getNameForCharacter(int value)
TODO Missing Method Documentation |
java.lang.String |
getNameForConfidence(int value)
TODO Missing Method Documentation |
java.lang.String |
getNameForGentleness(int value)
TODO Missing Method Documentation |
java.lang.String |
getNameForMatchTyp(int typ)
TODO Missing Method Documentation |
java.lang.String |
getNameForPosition(byte value)
TODO Missing Method Documentation |
java.lang.String |
getNameForSkill(int value,
boolean showNumber)
TODO Missing Method Documentation |
java.lang.String |
getNameForSpeciality(int value)
TODO Missing Method Documentation |
java.lang.String |
getNameForTaktik(int typ)
TODO Missing Method Documentation |
java.lang.String |
getNameForTeamorder(int typ)
TODO Missing Method Documentation |
java.lang.String |
getNameForTeamspirit(int value)
TODO Missing Method Documentation |
java.lang.String |
getNameForTraining(int value)
TODO Missing Method Documentation |
java.util.Vector |
getPlugins()
TODO Missing Method Documentation |
int |
getPosition(int hoposcode)
Utility Method that returns the field position from the HO Position Code (hoposcode) It is impossible to make difference between left and right so always the left position is returned |
java.lang.String |
getTooltiptext4SpielHighlight(int typ,
int subtyp)
TODO Missing Method Documentation |
void |
importHRF()
TODO Missing Method Documentation |
java.lang.String |
insertEscapeSequences(java.lang.String text)
TODO Missing Method Documentation |
static HelperWrapper |
instance()
TODO Missing Method Documentation |
boolean |
isDevVersion()
Returns true if a development version |
boolean |
isUserMatch(java.lang.String matchID)
TODO Missing Method Documentation |
java.awt.image.BufferedImage |
loadImage(java.lang.String datei)
TODO Missing Method Documentation |
java.awt.Image |
makeColorTransparent(java.awt.Image im,
java.awt.Color color)
TODO Missing Method Documentation |
java.awt.Image |
makeColorTransparent(java.awt.Image im,
int minr,
int ming,
int minb,
int maxr,
int maxg,
int maxb)
TODO Missing Method Documentation |
void |
openUrlInUserBRowser(java.lang.String url)
TODO Missing Method Documentation |
java.sql.Timestamp |
parseDate(java.lang.String date)
TODO Missing Method Documentation |
float |
round(double wert,
int nachkommastellen)
TODO Missing Method Documentation |
void |
showMessage(java.awt.Component parent,
java.lang.String message,
java.lang.String titel,
int typ)
TODO Missing Method Documentation |
int[][] |
sortintArray(int[][] toSort,
int spaltenindex)
TODO Missing Method Documentation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static HelperWrapper instance()
public IMatchHelper getMatchHelper()
getMatchHelper in interface IHelper
public java.awt.Color getColor4SpielHighlight(int typ,
int subtyp)
getColor4SpielHighlight in interface IHelpertyp - TODO Missing Method Parameter Documentationsubtyp - TODO Missing Method Parameter Documentation
public java.util.Date getHattrickDate(java.lang.String string)
throws java.text.ParseException
getHattrickDate in interface IHelperstring - TODO Missing Method Parameter Documentation
java.text.ParseException - TODO Missing Method Exception Documentation
public javax.swing.ImageIcon getImage4Position(int posid,
byte taktik)
getImage4Position in interface IHelperposid - TODO Missing Method Parameter Documentationtaktik - TODO Missing Method Parameter Documentation
public javax.swing.ImageIcon getImageIcon4Country(int country)
getImageIcon4Country in interface IHelpercountry - TODO Missing Method Parameter Documentation
public javax.swing.ImageIcon getImageIcon4Spezialitaet(int wert)
getImageIcon4Spezialitaet in interface IHelperwert - TODO Missing Method Parameter Documentation
public javax.swing.ImageIcon getImageIcon4SpielHighlight(int typ,
int subtyp)
getImageIcon4SpielHighlight in interface IHelpertyp - TODO Missing Method Parameter Documentationsubtyp - TODO Missing Method Parameter Documentation
public javax.swing.ImageIcon getImageIcon4Spieltyp(int spieltyp)
getImageIcon4Spieltyp in interface IHelperspieltyp - TODO Missing Method Parameter Documentation
public javax.swing.ImageIcon getImageIcon4Veraenderung(int wert)
getImageIcon4Veraenderung in interface IHelperwert - TODO Missing Method Parameter Documentation
public javax.swing.ImageIcon getImageIcon4Wetter(int wert)
getImageIcon4Wetter in interface IHelperwert - TODO Missing Method Parameter Documentation
public javax.swing.ImageIcon getImageIcon4WetterEffekt(int wert)
getImageIcon4WetterEffekt in interface IHelperwert - TODO Missing Method Parameter Documentation
public int getLanguageID()
getLanguageID in interface IHelperpublic java.lang.String getLanguageName()
getLanguageName in interface IHelper
public java.util.Calendar getLastTrainingDate(java.util.Date skillupDate,
java.util.Date refTrainingDate)
getLastTrainingDate in interface IHelperskillupDate - the skillupdate or HRF daterefTrainingDate - a reference containing a valid training time and day of week
public java.lang.String getNameForAggressivness(int value)
getNameForAggressivness in interface IHelpervalue - TODO Missing Method Parameter Documentation
public java.lang.String getNameForBewertung(int value,
boolean showNumber,
boolean isMatch)
getNameForBewertung in interface IHelpervalue - TODO Missing Method Parameter DocumentationshowNumber - TODO Missing Method Parameter DocumentationisMatch - TODO Missing Method Parameter Documentation
public java.lang.String getNameForCharacter(int value)
getNameForCharacter in interface IHelpervalue - TODO Missing Method Parameter Documentation
public java.lang.String getNameForConfidence(int value)
getNameForConfidence in interface IHelpervalue - TODO Missing Method Parameter Documentation
public java.lang.String getNameForGentleness(int value)
getNameForGentleness in interface IHelpervalue - TODO Missing Method Parameter Documentation
public java.lang.String getNameForMatchTyp(int typ)
getNameForMatchTyp in interface IHelpertyp - TODO Missing Method Parameter Documentation
public java.lang.String getNameForPosition(byte value)
getNameForPosition in interface IHelpervalue - TODO Missing Method Parameter Documentation
public java.lang.String getNameForSkill(int value,
boolean showNumber)
getNameForSkill in interface IHelpervalue - TODO Missing Method Parameter DocumentationshowNumber - TODO Missing Method Parameter Documentation
public java.lang.String getNameForSpeciality(int value)
getNameForSpeciality in interface IHelpervalue - TODO Missing Method Parameter Documentation
public java.lang.String getNameForTaktik(int typ)
getNameForTaktik in interface IHelpertyp - TODO Missing Method Parameter Documentation
public java.lang.String getNameForTeamorder(int typ)
getNameForTeamorder in interface IHelpertyp - TODO Missing Method Parameter Documentation
public java.lang.String getNameForTeamspirit(int value)
getNameForTeamspirit in interface IHelpervalue - TODO Missing Method Parameter Documentation
public java.lang.String getNameForTraining(int value)
getNameForTraining in interface IHelpervalue - TODO Missing Method Parameter Documentation
public java.util.Vector getPlugins()
getPlugins in interface IHelperpublic int getPosition(int hoposcode)
getPosition in interface IHelperhoposcode -
public java.lang.String getTooltiptext4SpielHighlight(int typ,
int subtyp)
getTooltiptext4SpielHighlight in interface IHelpertyp - TODO Missing Method Parameter Documentationsubtyp - TODO Missing Method Parameter Documentation
public boolean isUserMatch(java.lang.String matchID)
isUserMatch in interface IHelpermatchID - TODO Missing Method Parameter Documentation
public void addTempSpieler(ISpieler spieler)
addTempSpieler in interface IHelperspieler - TODO Missing Method Parameter Documentationpublic java.lang.String[] convertTimeMillisToFormatString(double[] timewerte)
convertTimeMillisToFormatString in interface IHelpertimewerte - TODO Missing Method Parameter Documentation
public void copyArray2Vector(java.lang.Object[] src,
java.util.Vector dest)
copyArray2Vector in interface IHelpersrc - TODO Missing Method Parameter Documentationdest - TODO Missing Method Parameter Documentation
public void copyVector2Array(java.util.Vector src,
java.lang.Object[] dest)
copyVector2Array in interface IHelpersrc - TODO Missing Method Parameter Documentationdest - TODO Missing Method Parameter Documentationpublic javax.swing.DefaultComboBoxModel createListModel(java.util.Vector vector)
createListModel in interface IHelpervector - TODO Missing Method Parameter Documentation
public ISpieler createSpielerFromText(java.lang.String text)
throws java.lang.Exception
createSpielerFromText in interface IHelpertext - TODO Missing Method Parameter Documentation
java.lang.Exception - TODO Missing Method Exception Documentationpublic java.lang.String decodeStringFromDatabase(java.lang.String text)
decodeStringFromDatabase in interface IHelpertext - TODO Missing Method Parameter Documentation
public java.lang.String deleteEscapeSequences(java.lang.String text)
deleteEscapeSequences in interface IHelpertext - TODO Missing Method Parameter Documentation
public boolean downloadMatchData(int matchID)
downloadMatchData in interface IHelpermatchID - TODO Missing Constructuor Parameter Documentation
public java.lang.String encodeString4Database(java.lang.String text)
encodeString4Database in interface IHelpertext - TODO Missing Method Parameter Documentation
public boolean existsMatchInDB(int matchID)
existsMatchInDB in interface IHelpermatchID - TODO Missing Constructuor Parameter Documentation
public int[] generateIntArray(java.lang.String text)
generateIntArray in interface IHelpertext - TODO Missing Method Parameter Documentation
public java.lang.String[] generateStringArray(java.lang.String werte,
char trenner)
generateStringArray in interface IHelperwerte - TODO Missing Method Parameter Documentationtrenner - TODO Missing Method Parameter Documentation
public void importHRF()
importHRF in interface IHelperpublic java.lang.String insertEscapeSequences(java.lang.String text)
insertEscapeSequences in interface IHelpertext - TODO Missing Method Parameter Documentation
public java.awt.image.BufferedImage loadImage(java.lang.String datei)
loadImage in interface IHelperdatei - TODO Missing Method Parameter Documentation
public java.awt.Image makeColorTransparent(java.awt.Image im,
java.awt.Color color)
makeColorTransparent in interface IHelperim - TODO Missing Method Parameter Documentationcolor - TODO Missing Method Parameter Documentation
public java.awt.Image makeColorTransparent(java.awt.Image im,
int minr,
int ming,
int minb,
int maxr,
int maxg,
int maxb)
makeColorTransparent in interface IHelperim - TODO Missing Method Parameter Documentationminr - TODO Missing Method Parameter Documentationming - TODO Missing Method Parameter Documentationminb - TODO Missing Method Parameter Documentationmaxr - TODO Missing Method Parameter Documentationmaxg - TODO Missing Method Parameter Documentationmaxb - TODO Missing Method Parameter Documentation
public void openUrlInUserBRowser(java.lang.String url)
openUrlInUserBRowser in interface IHelperurl - TODO Missing Method Parameter Documentationpublic java.sql.Timestamp parseDate(java.lang.String date)
parseDate in interface IHelperdate - TODO Missing Method Parameter Documentation
public float round(double wert,
int nachkommastellen)
round in interface IHelperwert - TODO Missing Method Parameter Documentationnachkommastellen - TODO Missing Method Parameter Documentation
public void showMessage(java.awt.Component parent,
java.lang.String message,
java.lang.String titel,
int typ)
showMessage in interface IHelperparent - TODO Missing Method Parameter Documentationmessage - TODO Missing Method Parameter Documentationtitel - TODO Missing Method Parameter Documentationtyp - TODO Missing Method Parameter Documentationpublic IMP3Player getMP3Player()
IHelper
getMP3Player in interface IHelper
public int[][] sortintArray(int[][] toSort,
int spaltenindex)
sortintArray in interface IHelpertoSort - TODO Missing Method Parameter Documentationspaltenindex - TODO Missing Method Parameter Documentation
public boolean isDevVersion()
IHelper
isDevVersion in interface IHelperpublic IHTCalendar createEconomyCalendar()
createEconomyCalendar in interface IHelpera HTCalendar.public IHTCalendar createEconomyCalendar(IHOMiniModel model)
createEconomyCalendar in interface IHelpermodel - HO data model
a HTCalendar.public IHTCalendar createEconomyCalendar(java.util.Date date)
createEconomyCalendar in interface IHelperdate - Date to set the calendar
public IHTCalendar createEconomyCalendar(java.sql.Timestamp timestamp)
createEconomyCalendar in interface IHelpertimestamp - Date to set the calendar
public IHTCalendar createEconomyCalendar(IHOMiniModel model,
java.util.Date date)
createEconomyCalendar in interface IHelpermodel - HO data modeldate - Date to set the calendar
public IHTCalendar createGlobalCalendar()
createGlobalCalendar in interface IHelperpublic IHTCalendar createGlobalCalendar(java.util.Date date)
createGlobalCalendar in interface IHelperdate - Date to set the calendar
public IHTCalendar createTrainingCalendar()
createTrainingCalendar in interface IHelperpublic IHTCalendar createTrainingCalendar(IHOMiniModel model)
createTrainingCalendar in interface IHelpermodel - HO data model
public IHTCalendar createTrainingCalendar(java.util.Date date)
createTrainingCalendar in interface IHelperdate - Date to set the calendar
public IHTCalendar createTrainingCalendar(java.sql.Timestamp timestamp)
createTrainingCalendar in interface IHelpertimestamp - Date to set the calendar
public IHTCalendar createTrainingCalendar(IHOMiniModel model,
java.util.Date date)
createTrainingCalendar in interface IHelpermodel - HO data modeldate - Date to set the calendar
public int getHTSeason(java.util.Date date)
getHTSeason in interface IHelperdate - the date to convert
public int getHTSeason(java.util.Date date,
boolean useTrainingCalendar)
getHTSeason in interface IHelperdate - the date to convertuseTrainingCalendar - use training calendar if true, else use economy calendar
public int getHTWeek(java.util.Date date)
getHTWeek in interface IHelperdate - the date to convert
public int getHTWeek(java.util.Date date,
boolean useTrainingCalendar)
getHTWeek in interface IHelperdate - the date to convertuseTrainingCalendar - use training calendar if true, else use economy calendar
public int getHTSeason(java.sql.Timestamp timestamp)
getHTSeason in interface IHelpertimestamp - the date to convert
public int getHTSeason(java.sql.Timestamp timestamp,
boolean useTrainingCalendar)
getHTSeason in interface IHelpertimestamp - the date to convertuseTrainingCalendar - use training calendar if true, else use economy calendar
public int getHTWeek(java.sql.Timestamp timestamp)
getHTWeek in interface IHelpertimestamp - the date to convert
public int getHTWeek(java.sql.Timestamp timestamp,
boolean useTrainingCalendar)
getHTWeek in interface IHelpertimestamp - the date to convertuseTrainingCalendar - use training calendar if true, else use economy calendar
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||