Package com.sun.dtv.lwuit.layouts

Examples of com.sun.dtv.lwuit.layouts.GridLayout


                    fireDataChanged(DataChangedListener.ADDED, cursorCharPosition);
                    Display.getInstance().getCurrent().dispose();
                }
            };
            char[] symbolArray = getSymbolTable();
            Container symbols = new Container(new GridLayout(symbolArray.length / 5, 5));
            for(int iter = 0 ; iter < symbolArray.length ; iter++) {
                Button button = new Button("" + symbolArray[iter]);
                button.setAlignment(CENTER);
                button.addActionListener(listener);
                symbols.addComponent(button);
View Full Code Here


                transitionIn = CommonTransitions.createSlide(CommonTransitions.SLIDE_VERTICAL, true, 300, true);
                transitionOut = CommonTransitions.createSlide(CommonTransitions.SLIDE_VERTICAL, false, 300, true);
            }

            if (Display.getInstance().isThirdSoftButton()) {
                setLayout(new GridLayout(1, 3));
                soft = new Button[]{createSoftButton(), createSoftButton(), createSoftButton()};
                main = soft[0];
                main.setAlignment(Label.CENTER);
                left = soft[1];
                right = soft[2];
                addComponent(left);
                addComponent(main);
                addComponent(right);
                if (isReverseSoftButtons()) {
                    Button b = soft[1];
                    soft[1] = soft[2];
                    soft[2] = b;
                }
            } else {
                setLayout(new GridLayout(1, 2));
                soft = new Button[]{createSoftButton(), createSoftButton()};
                main = soft[0];
                left = soft[0];
                right = soft[1];
                addComponent(left);
View Full Code Here

TOP

Related Classes of com.sun.dtv.lwuit.layouts.GridLayout

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.