Package ca.phon.media.player
Class TimeSliderUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.SliderUI
ca.phon.media.player.TimeSliderUI
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Rectangle2D
void
void
paint
(Graphics g, JComponent c) protected long
posToTime
(int x) void
Methods inherited from class javax.swing.plaf.ComponentUI
contains, createUI, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, update
-
Constructor Details
-
TimeSliderUI
public TimeSliderUI()
-
-
Method Details
-
installUI
- Overrides:
installUI
in classComponentUI
-
uninstallUI
- Overrides:
uninstallUI
in classComponentUI
-
getPreferredSize
- Overrides:
getPreferredSize
in classComponentUI
-
paint
- Overrides:
paint
in classComponentUI
-
getTrackRect
-
posToTime
protected long posToTime(int x)
-