Package ca.phon.media
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
Modifier and TypeFieldDescriptionstatic final String
static final String
static final Color
static final Color
static final Color
static final Color
static final String
static final String
Fields inherited from class ca.phon.media.TimeComponentUI
MARKER_PADDING
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetPreferredSize
(JComponent comp) void
void
paint
(Graphics g, JComponent c) void
void
Methods inherited from class ca.phon.media.TimeComponentUI
beginDrag, beginDrag, beginDragOtherIntervalMarker, cancelDrag, endDrag, getCurrentlyDraggedInterval, getCurrentlyDraggedMarker, getTimeComponent, paintInterval, paintMarker
Methods 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:
installUI
in classTimeComponentUI
-
uninstallUI
- Overrides:
uninstallUI
in classTimeComponentUI
-
getPreferredSize
- Overrides:
getPreferredSize
in classTimeComponentUI
-
paint
- Overrides:
paint
in classComponentUI
-
updateCache
public void updateCache()- Specified by:
updateCache
in classWaveformDisplayUI
-