Package bm.ui

Examples of bm.ui.Menu


            final String    title,
            final String[]  options,
            final String    ticker
    )
    {
        final Menu menu = new Menu( this );
        menu.setTitle( title );
        menu.setMode( Menu.LIST );
        final int size = options.length;
        for( int i = 0; i < size; i ++ )
        {
            menu.addItem( options[i], 0, 0, i, null );
        }
        if( ticker != null )
        {
            final Ticker t = new Ticker( ticker );
            menu.setTicker( t );
        }
        this.menu = menu;
        display = Application.getManager().getDisplay();
    }
View Full Code Here

TOP

Related Classes of bm.ui.Menu

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.