protected void scrollUpSubtitles ( int dy ) { // dirty and move all the old glyphs Rectangle vbounds = _target . getViewBounds ( ) ; int miny = vbounds . y + vbounds . height - _subtitleHeight ; for ( Iterator < ChatGlyph > iter = _subtitles . iterator ( ) ; iter . hasNext ( ) ; ) { ChatGlyph sub = iter . next ( ) ; sub . translate ( 0 , dy ) ; if ( sub . getBounds ( ) . y <= miny ) { iter . remove ( ) ; _target . abortAnimation ( sub ) ; } } }
Scroll all the subtitles up by the specified amount .