question: public Item ( Drawable symbol , String labelText , Font font ) { double fontSize = font . getSize2D ( ) ; setLayout ( new EdgeLayout ( fontSize , 0.0 ) ) ; this . symbol = symbol ; add ( symbol , Location . WEST ) ; label = new Label ( labelText ) ; label . setFont ( font ) ; label . setAlignmentX ( 0.0 ) ; label . setAlignmentY ( 0.5 ) ; add ( label , Location . CENTER ) ; }
target:  Creates a new Item object with the specified data source and text.