Messages by Bo

18 topics, 316 messages
Kuix technical support » Dynamically displaying String [ ][ ] into a growing List

DataProvider permit to fill a list by using the addItem(item) method. But the item parameter is a DataProvider and in this case it can contains other items.

then you can fill them like that :

String[][] data = new String[xx][yy];

DataProvider mainDataProvider = new Datprovider();

for (int i=0; i<xx; ++i) {

DataProvider subDataProvider = new DataProvider();

for (int j=0; j<yy; ++j) {

subDataProvider.addItem(data[i], data[j]);

}

mainDataProvider.addItem("mainList", subDataProvider);

}

 

But how do you want to display your String[][] data ? In a flat list ?

Kuix technical support » "Browse" File System Button

Access to file system depends of a specific JSR. Kuix is designed to have the largest compatibility (CLDC 1.0 / MIDP 2.0), that's why there's no way to to it natively.

Kuix technical support » Assign class to scrollbar

In a ScrollPane, a ScrollBar is an internal widget (look at this page), then you can access it like this

<scrollpane>

<scrollpanescrollbar style="..."/>

...

</scrollpane>

Kuix technical support » Round Robbin in ScroolPane

If your scrollPane is alone ont the screen, yes it's possible.

You can use the focusloop attribute on the screen widget to activate this feature on its focusManager.

Then if the focus is on the last widget and you press the down key the first widget will be focused.

Kuix technical support » Minimize application

Like a default MIDP MIDlet, the pauseApp isn't invoked by the application itself. The system invokes it while an incomming call for example.

You can't in the application decided to minimize it witout invoking anything else like the browser with platformRequest() method.

Kuix technical support » Real Thread Progress

I'm not sure to understant you problem ...

Kuix technical support » Slow progress popup

When you invoke the showPopup method, it realy appear on the next frame ... then by default 60ms after. And it could be possible that your other thread tke less time. In this case where you invoke the popup creation, you can invoke the canvas.revalidateAsSoonAsPossible() and if you are in the Worker thread it's done immediatly.

Kuix technical support » custom validation

TextArea ? I think you want to talk about TextField.

Like all other widget, you can only intercept key event by adding shortcuts or overriding the widget.

Kuix technical support » context menus

Yes it was possible, that's why the function is only this :

    public static void loadMenuContent(Menu menu, InputStream inputStream, DataProvider dataProvider) {
        if (menu != null) {
            menu.hideMenuTree();
            menu.cleanUp();
            menu.removeAll();
        }
        Kuix.loadXml(menu, inputStream, dataProvider);
    }

Kuix technical support » focused item from a list not visible

In this case, try to invoke the bestScrollToChild method on the ScrollPane withe the useIncrementLimit paramter at false.

Kuix bug report » Post your bug reports on the Tracker

You can now post your bug reports on the Kuix Tracker.

Simply click on New ticket and enter you Bug or Feature request.

Kuix technical support » context menus

You can checkout the current development sources on SVN.

A new feature was added to change dynamicly menus at runtime : Kuix.loadMenuContent(Menu, String, DataProvider).

To change ScreenFirstMenu content, simply do something like this :

Kuix.loadMenuContent(myScreen.getFirstMenu, "myMenu.xml", null);

Kuix technical support » focused item from a list not visible

The focus comes by default on the last listItem ?

Kuix technical support » Write inner Textfield

We understand the problem of the white box ... but the problem of inner editing is not always compatible withe the Kuix philisophy of code once and run everywhere, because of the key letter mapping which could be different from a device to an other.

 

Kaprice » Ready to run NetBeans project of Kaprice

I'm please to inform you that you can download a ready to run NetBeans project directly from Subversion.

More informations on this page.