The Goal
          Keep walking……
          posts - 23,  comments - 1,  trackbacks - 0
          類似于ToolBar的升級。他們的區別在于CoolBar上的item可以被重新配置,重新定大小。CoolBar的一般用途就是包含toolbars或按鈕。

          String[] coolItemTypes = {"File", "Formatting", "Search"};
          CoolBar coolBar = new CoolBar(parent, SWT.NONE);
          for(int i = 0; i < coolItemTypes.length; i++)
          {
          CoolItem item = new CoolItem(coolBar, SWT.NONE);
          ToolBar tb = new ToolBar(coolBar, SWT.FLAT);
          for(int j = 0; j < 3; j++)
          {
          ToolItem ti = new ToolItem(tb, SWT.NONE);
          ti.setText(coolItemTypes[i] + " Item #" + j);
          }
          }
          posted on 2006-04-10 17:28 JOO 閱讀(346) 評論(0)  編輯  收藏 所屬分類: SWT & JFace IN ACTION
          Hit the target!

          <2006年4月>
          2627282930311
          2345678
          9101112131415
          16171819202122
          23242526272829
          30123456

          常用鏈接

          留言簿(2)

          隨筆分類(23)

          隨筆檔案(22)

          文章檔案(1)

          相冊

          Neighbor

          搜索

          •  

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 彰化县| 龙泉市| 兴海县| 中方县| 蚌埠市| 北辰区| 班玛县| 收藏| 怀宁县| 普兰县| 屏南县| 沅江市| 祁连县| 永福县| 灵台县| 托克逊县| 金寨县| 祁门县| 扶余县| 五常市| 廊坊市| 嘉黎县| 随州市| 平阳县| 青龙| 巫溪县| 绥棱县| 东城区| 郴州市| 巴里| 岐山县| 平阴县| 南通市| 巴中市| 金山区| 兴山县| 炉霍县| 九寨沟县| 江华| 花莲县| 景谷|