be.tarsos.dsp.ui.layers.TimeAxisLayer.class Maven / Gradle / Ivy
???? 3 k
* + , - .
/ 0 1 2 3 4
5 6 - 7
/ 8
9 :
/ ; <
= > ??
5 ?
@ A
= B ?? C 3 D E F G H intervals [I
intervalIndex I cs #Lbe/tarsos/dsp/ui/CoordinateSystem; &(Lbe/tarsos/dsp/ui/CoordinateSystem;)V Code draw (Ljava/awt/Graphics2D;)V
StackMapTable F I getName ()Ljava/lang/String; J K L M N O P Q R S T U V I W X Y M Z [ \ ] ^ _ [ ` a b c d e f g h i Time (s) j V Time axis %be/tarsos/dsp/ui/layers/TimeAxisLayer java/lang/Object be/tarsos/dsp/ui/layers/Layer java/awt/Graphics2D ()V be/tarsos/dsp/ui/Axis X Lbe/tarsos/dsp/ui/Axis; !be/tarsos/dsp/ui/CoordinateSystem getUnitsForAxis 4(Lbe/tarsos/dsp/ui/Axis;)Lbe/tarsos/dsp/ui/AxisUnit; be/tarsos/dsp/ui/AxisUnit TIME Lbe/tarsos/dsp/ui/AxisUnit; java/awt/Color black Ljava/awt/Color; setColor (Ljava/awt/Color;)V Y getMin (Lbe/tarsos/dsp/ui/Axis;)F java/lang/Math round (F)I getMax &be/tarsos/dsp/ui/layers/LayerUtilities
pixelsToUnits (Ljava/awt/Graphics2D;IZ)F drawLine (IIII)V java/lang/String valueOf (I)Ljava/lang/String;
drawString X(Ljava/awt/Graphics2D;Ljava/lang/String;DDZZLjava/awt/Color;)Ljava/awt/geom/Rectangle2D; white ! ! " T H*? *
?
YOYOYOY
OYOY2OYdOY ?OY?OY ?O? *+? ? # $ " q
*? ? ? ? ??+? ? *? ? ?
? =*? ? ? ? >?6*?
*? *?
.h6+ ? ? 6+? ? 6+? ? 6+ ? ? 6 +? ? 6
*? ? ?
?6*? ? ? ?6d6
? L6? >