Package com.tagtraum.beatunes.plaf
Class BeaTunesTableUI
- java.lang.Object
-
- javax.swing.plaf.ComponentUI
-
- javax.swing.plaf.TableUI
-
- com.tagtraum.beatunes.plaf.BeaTunesTableUI
-
public class BeaTunesTableUI extends TableUI
Table UI, that paints a striped, iTunes-like background. Pretty much all method calls are simply delegated to the underlying platform's TableUI object.- Author:
- Hendrik Schreiber
-
-
Constructor Summary
Constructors Constructor Description BeaTunesTableUI(JComponent component)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
contains(JComponent c, int x, int y)
static ComponentUI
createUI(JComponent component)
Accessible
getAccessibleChild(JComponent c, int i)
int
getAccessibleChildrenCount(JComponent c)
Dimension
getMaximumSize(JComponent c)
Dimension
getMinimumSize(JComponent c)
Dimension
getPreferredSize(JComponent c)
void
installUI(JComponent c)
void
paint(Graphics g, JComponent c)
void
uninstallUI(JComponent c)
-
Methods inherited from class javax.swing.plaf.ComponentUI
getBaseline, getBaselineResizeBehavior, update
-
-
-
-
Constructor Detail
-
BeaTunesTableUI
public BeaTunesTableUI(JComponent component)
-
-
Method Detail
-
createUI
public static ComponentUI createUI(JComponent component)
-
installUI
public void installUI(JComponent c)
- Overrides:
installUI
in classComponentUI
-
uninstallUI
public void uninstallUI(JComponent c)
- Overrides:
uninstallUI
in classComponentUI
-
paint
public void paint(Graphics g, JComponent c)
- Overrides:
paint
in classComponentUI
-
getPreferredSize
public Dimension getPreferredSize(JComponent c)
- Overrides:
getPreferredSize
in classComponentUI
-
getMinimumSize
public Dimension getMinimumSize(JComponent c)
- Overrides:
getMinimumSize
in classComponentUI
-
getMaximumSize
public Dimension getMaximumSize(JComponent c)
- Overrides:
getMaximumSize
in classComponentUI
-
contains
public boolean contains(JComponent c, int x, int y)
- Overrides:
contains
in classComponentUI
-
getAccessibleChildrenCount
public int getAccessibleChildrenCount(JComponent c)
- Overrides:
getAccessibleChildrenCount
in classComponentUI
-
getAccessibleChild
public Accessible getAccessibleChild(JComponent c, int i)
- Overrides:
getAccessibleChild
in classComponentUI
-
-