Class DefaultWaveformDisplayUI
java.lang.Object
javax.swing.plaf.ComponentUI
ca.phon.media.TimeComponentUI
ca.phon.media.WaveformDisplayUI
ca.phon.media.DefaultWaveformDisplayUI
Default implementation of UI for
WaveformDisplay-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Colorstatic final Colorstatic final Colorstatic final Colorstatic final Stringstatic final StringFields inherited from class ca.phon.media.TimeComponentUI
MARKER_PADDING -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPreferredSize(JComponent comp) voidvoidpaint(Graphics g, JComponent c) voidvoidMethods inherited from class ca.phon.media.TimeComponentUI
beginDrag, beginDrag, beginDragOtherIntervalMarker, cancelDrag, endDrag, getCurrentlyDraggedInterval, getCurrentlyDraggedMarker, getTimeComponent, paintInterval, paintMarkerMethods inherited from class javax.swing.plaf.ComponentUI
contains, createUI, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, update
-
Field Details
-
BG_COLOR1
-
DEFAULT_BGCOLOR1
-
BG_COLOR2
-
DEFAULT_BGCOLOR2
-
WAV_COLOR1
-
DEFAULT_WAVCOLOR1
-
WAV_COLOR2
-
DEFAULT_WAVCOLOR2
-
-
Constructor Details
-
DefaultWaveformDisplayUI
public DefaultWaveformDisplayUI()
-
-
Method Details
-
installUI
- Overrides:
installUIin classTimeComponentUI
-
uninstallUI
- Overrides:
uninstallUIin classTimeComponentUI
-
getPreferredSize
- Overrides:
getPreferredSizein classTimeComponentUI
-
paint
- Overrides:
paintin classComponentUI
-
updateCache
public void updateCache()- Specified by:
updateCachein classWaveformDisplayUI
-