de.hattrickorganizer.gui.templates
Class SkillEntry

java.lang.Object
  extended by de.hattrickorganizer.gui.templates.TableEntry
      extended by de.hattrickorganizer.gui.templates.SkillEntry
All Implemented Interfaces:
java.lang.Comparable, IHOTableEntry

public class SkillEntry
extends TableEntry

Skillanzeige eines Spielers (Nachkommastellen in Grau)

Author:
Pirania

Constructor Summary
SkillEntry()
          Creates a new SkillEntry object.
SkillEntry(double zahl)
          Creates a new SkillEntry object.
SkillEntry(double zahl, java.awt.Color foreground, java.awt.Color foreground2, java.awt.Color background)
          Creates a new SkillEntry object.
 
Method Summary
 void clear()
          TODO Missing Method Documentation
 int compareTo(java.lang.Object obj)
          Vergleich zum Sortieren
 void createComponent()
          Erstellt eine passende Komponente
 void createText()
          Erzeugt die beiden Texte aus der Zahl
 javax.swing.JComponent getComponent(boolean isSelected)
          Gibt eine passende Komponente zurück
 double getZahl()
          Gibt die Zahl zurück
 void setBGColor(java.awt.Color bgcolor)
          TODO Missing Method Documentation
 void setFGColor(java.awt.Color fgcolor)
          TODO Missing Method Documentation
 void setZahl(double zahl)
          TODO Missing Method Documentation
 void updateComponent()
          TODO Missing Method Documentation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SkillEntry

public SkillEntry()
Creates a new SkillEntry object.


SkillEntry

public SkillEntry(double zahl)
Creates a new SkillEntry object.

Parameters:
zahl - TODO Missing Constructuor Parameter Documentation

SkillEntry

public SkillEntry(double zahl,
                  java.awt.Color foreground,
                  java.awt.Color foreground2,
                  java.awt.Color background)
Creates a new SkillEntry object.

Parameters:
zahl - TODO Missing Constructuor Parameter Documentation
foreground - TODO Missing Constructuor Parameter Documentation
foreground2 - TODO Missing Constructuor Parameter Documentation
background - TODO Missing Constructuor Parameter Documentation
Method Detail

setBGColor

public final void setBGColor(java.awt.Color bgcolor)
TODO Missing Method Documentation

Parameters:
bgcolor - TODO Missing Method Parameter Documentation

getComponent

public final javax.swing.JComponent getComponent(boolean isSelected)
Gibt eine passende Komponente zurück

Specified by:
getComponent in interface IHOTableEntry
Specified by:
getComponent in class TableEntry
Parameters:
isSelected - TODO Missing Constructuor Parameter Documentation
Returns:
TODO Missing Return Method Documentation

setFGColor

public final void setFGColor(java.awt.Color fgcolor)
TODO Missing Method Documentation

Parameters:
fgcolor - TODO Missing Method Parameter Documentation

setZahl

public final void setZahl(double zahl)
TODO Missing Method Documentation

Parameters:
zahl - TODO Missing Method Parameter Documentation

getZahl

public final double getZahl()
Gibt die Zahl zurück

Returns:
TODO Missing Return Method Documentation

clear

public final void clear()
TODO Missing Method Documentation

Specified by:
clear in interface IHOTableEntry
Specified by:
clear in class TableEntry

compareTo

public final int compareTo(java.lang.Object obj)
Vergleich zum Sortieren

Specified by:
compareTo in interface java.lang.Comparable
Specified by:
compareTo in interface IHOTableEntry
Specified by:
compareTo in class TableEntry
Parameters:
obj - TODO Missing Constructuor Parameter Documentation
Returns:
TODO Missing Return Method Documentation

createComponent

public final void createComponent()
Erstellt eine passende Komponente

Specified by:
createComponent in interface IHOTableEntry
Specified by:
createComponent in class TableEntry

createText

public final void createText()
Erzeugt die beiden Texte aus der Zahl


updateComponent

public final void updateComponent()
TODO Missing Method Documentation

Specified by:
updateComponent in interface IHOTableEntry
Specified by:
updateComponent in class TableEntry