horizontalfieldmanager

    -2熱度

    1回答

    在Blackberry中,我想創建一個擴展Horizo​​ntalFieldManager的類,以便我可以在同一行上顯示標籤和圖像,同時標籤位於左側,圖像位於右側。 我希望用戶能夠與Horizo​​ntalFieldManager交互,就好像它是單個字段一樣。我還希望每個Horizo​​ntalFieldManager在添加到VeriticalFieldManager時都可以聚焦。我也想要clci

    1熱度

    1回答

    我有我建設黑莓OS 6 申請我已經做了Gridfieldmanager和Horizo​​ntalfieldmanager的屏幕。 Horizo​​ntalfieldmanager包含4個圖像按鈕,當點擊這些按鈕時,我想基本上將Gridfieldmanager與另一個fieldmanager交換。這可能嗎?

    1熱度

    2回答

    我有一個Horizo​​ntalFieldManager,裏面有兩個按鈕。按鈕需要分別放置在屏幕的最左側和最右側。我知道Horizo​​ntalFieldManager只會把它們從左到右,所以我必須擴展它們。 這是我做的,但它沒有結果。按鈕做出現,但太小,沒有文字(我已經設置)。 這是我的佈局代碼。 protected void sublayout(int width, int height) {

    0熱度

    1回答

    我有一個垂直的現場管理員,裏面有很多橫向的現場經理。在每個水平領域管理器中有1個位圖字段和另一個垂直字段管理器(3個標籤字段)。 我能夠改變水平場管理員的背景顏色(GRADIENT),這個顏色曾經是焦點所在。但是我想在焦點上更改該經理內的labelfield的顏色(白色),並在未聚焦時改變顏色(黑色)。此外,isFocus()不適用於經理和標籤字段的繪圖。

    0熱度

    2回答

    我需要將CheckboxField與「管理連接」對話框中的固定文本(在Blackberry上)右側對齊。 的代碼是: final HorizontalFieldManager hfm = new HorizontalFieldManager(USE_ALL_WIDTH); hfm.add(new LabelField("Test me please", LabelField.ELLIPSIS |

    0熱度

    3回答

    我有一個query.i在垂直字段管理器內創建3個水平管理器。當編譯我的代碼時,我得到IllegalStatException.i正在執行此操作。 VerticalFieldmanager vfm = new VerticalFieldManager(); HorizontalFieldManager hfm1 = new HorizontalFieldManager(); {s

    0熱度

    1回答

    刪除字段我添加了兩個按鈕字段水平經理,當我嘗試從不同的線程刪除經理同我得到一個 - 索引越界異常。 這裏是什麼,我did-- hfm.add(button1); hfm.add(button2); layout.add(hfm); // on clicking button it starts a different thread which // tries to delete the

    0熱度

    1回答

    嘗試將背景圖片添加到一個文本框,但是當在用戶類型,並進入水平滾動的形象似乎在導致它被複制到如下所示: 基本上我想第一個文本框在用戶輸入大量值後看起來像第二個。我有一個擴展horizo​​ntalfieldManager類,並在我的繪畫功能如下: protected void paint(Graphics g) { g.clear(); if (mLabelMode)

    0熱度

    1回答

    我想設置Horizo​​ntalFieldManager的背景。 我一直在尋找的示例代碼是使用Gradient爲主屏幕背景設置背景。 //create gradient linear for background this.getMainManager().setBackground(BackgroundFactory.createLinearGradientBackground(0x0099C

    0熱度

    2回答

    我寫了一個簡單的程序,增加了兩個編輯字段的字段經理: HorizontalFieldManager hrfm = new HorizontalFieldManager(Manager.HORIZONTAL_SCROLL); EditField editField1 = new EditField(); editField1.setText("User Name:");