<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    學(xué)用Java

    奇新Java控件---Java控件提供商和Java RIA, Web, J2ME解決方案開發(fā)商

    2009年2月25日

    JComponentPack 3.0 功能介紹

    JComponentPack 是一個基于Java SwingGUI類庫,一系列可視化的JavaBeans集合,它基于SwingMVC架構(gòu),是100%的純Java類庫,它包括20多個Swing 所沒有的控件,如EXCEL風(fēng)格Java的電子表格控件,讀取數(shù)據(jù)庫表的Java表格控件,日歷控件,類似資源管理器的列表控件,向?qū)Э蚣艿鹊龋@些 JavaBeans可以直接拖動到您的圖形用戶界面,它可提高您的工作效率,加快您的項(xiàng)目開發(fā)過程。

    功能列表

    · JBean應(yīng)用程序框架

    JBean應(yīng)用程序框架提供了一個標(biāo)準(zhǔn)的Swing應(yīng)用程序框架,它支持從屬性文件創(chuàng)建Actions,創(chuàng)建和動態(tài)顯示菜單,也支持創(chuàng)建單選按鈕,多選按鈕,能動態(tài)改變按鈕狀態(tài)。它提供了一個資源管理類,能夠從定義好的資源文件裝載小圖標(biāo),菜單和按鈕的資源。 

    JBean應(yīng)用程序框架包含了一些常用的標(biāo)準(zhǔn)控件,包括打印和打印預(yù)覽控件,狀態(tài)欄控件,登陸對話框,反饋對話框,外觀改變對話框等。 

    JBean應(yīng)用程序框架包含了一些常用的單元格繪制和編輯器,它們支持通用的數(shù)據(jù)類型,包括數(shù)字,日期,文件,圖表,顏色等類型。這些單元格繪制和編輯器也提供了不同的控件支持,包括復(fù)選框,下拉框等。

    · JComponentSet控件集

    JComponentSet是一個Java swing控件集,包括JWizardPane, JListView, Layout Suite (CellLayout, BoxLayout2, CardLayout2, GridLayout2), JDirChooser, JCalendar, JFontChooser, JLinkButton, JSidePane, JSideBar, JImageViewer, XTree, XCheckBox, JCardPane, JGridPane等一系列控件.

    · 圖形控件

    提供了常見的圖形, 2D圖形和3D圖形.

    · 圖表控件

    支持3種不同的圖表類型, 分別是餅形圖,條形圖和線形圖.

    · 核心公式框架

    核心公式框架定義了一個通用的公式框架,包括函數(shù)和公式定義,公式解析器等接口。

    · JDataGrid核心控件

    · 普通文件格式的輸入和輸出

    支持輸入和輸出多種文件格式,包括csv, html, txt.

    · JDataGrid電子表格控件

    JDataGrid電子表格控件是了一個Java swing 電子表格控件,提供了基本的功能,如撤銷和重做,合并單元格,拼寫檢查,Excel文件的輸入和輸出,打印和打印預(yù)覽等,也包括了復(fù)雜的高級功能.

    · 電子表格公式

    支持許多函數(shù),例如邏輯函數(shù), 日期函數(shù), 數(shù)學(xué)計算函數(shù), 文本函數(shù), 單元格函數(shù), 和部分的統(tǒng)計函數(shù).

    · 高級文件格式的輸入和輸出

    支持輸入和輸出多種文件格式,包括Excel xls, Excel xml, PDF.

    · JDataGrid電子表格JavaFX控件

    最新的JDataGrid電子表格控件支持JavaFX平臺,新添加了JavaFX控件"DataGrid""DataGridBean",您可以在JavaFX腳本中直接使用這些控件,這些JavaFX控件直接支持最新的JDataGrid電子表格服務(wù)器端控件。

    · JDataGrid電子表格JavaEE服務(wù)器端控件

    最新的JDataGrid電子表格服務(wù)器端控件能部署在JavaEE應(yīng)用服務(wù)器上,JDataGrid小程序直接支持最新的服務(wù)器端控件,您可以通過簡單的設(shè)置,設(shè)置一個服務(wù)器端控件的URL,就能讀取,保存,下載各種不同格式的電子表格文件,所有的配置在服務(wù)器端完成。

    · JDataGrid數(shù)據(jù)庫控件

    JDataGrid數(shù)據(jù)庫控件是一個能夠直接對數(shù)據(jù)庫操作的表格,基于標(biāo)準(zhǔn)的JDBC技術(shù),能夠直接操作ResultSetRowSet,并提供如打印和打印預(yù)覽,多種格式的文件輸入和輸出的功能.

    試用版下載(點(diǎn)擊下載

    posted @ 2009-04-13 12:11 fralepg 閱讀(384) | 評論 (0)編輯 收藏

    JComponentPack3.0正式發(fā)布

         摘要: 新功能介紹:

      3.0版本添加了最新的JDataGrid電子表格服務(wù)器端控件,JDataGrid小程序直接支持最新的服務(wù)器端控件,您可以通過簡單的設(shè)置,設(shè)置一個服務(wù)器端控件的URL,就能讀取,保存,下載各種不同格式的電子表格文件, 所有的配置在服務(wù)器端完成。

      3.0版本添加了JDataGrid JavaFX 控件"DataGrid"和"DataGridBean",您可以在JavaFX腳本中直接調(diào)用 這些控件,這些JavaFX控件直接支持最新的JDataGrid電子表格服務(wù)器端控件。  閱讀全文

    posted @ 2009-04-10 14:47 fralepg 閱讀(239) | 評論 (0)編輯 收藏

    介紹JCalendar的新功能

    JCalendar new features in JComponentPack

    1. New property to control the action click count
    2. New client property to control the "today” button action behavior
    3. JCalendar works with AComboBox and add new calendar popup icon.

    1. New property to control the action click count

    JCalendar provides new property named “actionClickCount” since JComponentPack 1.1.0, use this property, you can set the mouse click count to fire the action event, JCalendar adds the following methods:
      JCalendar.getActionClickCount();
      JCalendar.setActionClickCount(int);

    2. New client property to control the "today” button action behavior

    With this new client property “JCalendar.todayButtonFireActionEventEnabled” since JComponentPack 1.1.0, the JCalendar can fire the action event when the today button clicked.

    The above new features is very important when JCalendar working with the AComboBox, the the popup JCalendar make visible, by using the above property, the popup can hidden when use click a "today” button or select a specified day.

    3. JCalendar works with AComboBox and add new calendar popup icon.

    When AComBoBox set a Date value , the popup icon automatically became a calendar icon, this is a nice feature since JComponentPack 1.1.0, see the screenshot for this feature:

    JCalendar - JComponentPack 1.1.0

    posted @ 2009-02-26 09:39 fralepg 閱讀(667) | 評論 (0)編輯 收藏

    介紹JComponentPack產(chǎn)品中的JListView控件


    If you want to implements the Windows explorer like feature in Java swing application, the JListView component meets your requirements exactly.

    The JListView component support the 5 different view modes: small icon, large icon, list, thumbnails, details, all these view mode can change on the fly, the methods “JListView.setViewMode” can change the view mode of JListView component.

    The JListView component have the MVC design concept, a simple TableModel can be provided for it’s data, a simple CellProvider such IconProvider can be provided for it’s icon. Should write a DefaultCellRenderer subclass for its renderer and DefaultCellEditor subclass for it’s editor. The article “Introduce Cell Renderer” introduce why using the DefaultCellRenderer.

    The JListView component use a ListSelectionModel as it’s selection model, you can change the selection model’s mode, it support single selection, single interval selection, multiple interval selection, you can use the following methods to get the selected values:

          JListView.getSelectedValue(); // get the lead selection value
           JListView.getSelectedValues(); // get all selected values

    The JListView component provides several methods for it’s editing:
           JListView.isEditing(); // determines whether the JListView is being edited.
           JListView.cancelEditing(); // cancel current editing
           JListView.stopEditing(); // stop the current editing and apply the editing value
           JListView.startEditingAtIndex(); // start the editing at the specified index
           JListview.getEditingInex(); // get the current editing object’s index

    The com.zfqjava.swing.model and com.zfqjava.swing.cell package have the FileTableModel and FileProvider, it support the directory list and file icon directly, the following code can create a explorer like GUI:

           JListView listView = new JListView();
           listView.setListData(new FileTableModel(new File(System.getProperty("user.home"))));
           listView.setCellRenderer(new FileCellRenderer());
           listView.setCellEditor(new FileCellEditor());

    The JListView component also support row sorting, the TableModel you provided for JListView only need implements the ColumnSorter interface, it can support the row sorting automatically, we want to improve this area after upgrade the JRE version to 1.6.

    The JListView component provides several important client property:

    JListView.rowSelectionAllowed” allow the full row can be selected
    JListView.showVerticalLines” shows the vertical lines in details view mode.
    JListView.showHorizontalLines” shows the horizontal lines in details view mode.
    JListView.backgroundImage” sets the background image for JListView component.

    For details, you can view the JListView JavaDoc API documentation.

    The JListView also support the Drag and Drop, but in JComponentPack 1.1.0 and early version, implements this feature has trick and tips:

           // get JTable and JList
           BasicListViewUI ui = (BasicListViewUI)listView.getUI();
           JTable table = ui.getTable();
           JList list = ui.getList();
           table.setDragEnabled(true);
           list.setDragEnabled(true);
           TransferHandler th = new TransferHandler() {             
                  public int getSourceActions(JComponent c) {
                   return COPY;
            }
                  protected Transferable createTransferable(JComponent c) {
                      // just a test
                      Object o = listView.getSelectedValue();
                      if(o != null) {
                         return new StringSelection(o.toString());
                      }
                      return null;
                  }
               };
           table.setTransferHandler(th);
           list.setTransferHandler(th);

    In the upcoming version JComponentPack 1.2.0, we have improved this area, so in the new version, implements the drag and drop feature is very simple:

           listView.setDragEnabled(true);
    TransferHandler th = new TransferHandler() {
                  public int getSourceActions(JComponent c) {
                   return COPY;
            }

                  protected Transferable createTransferable(JComponent c) {
                      // just a test
                      Object o = listView.getSelectedValue();
                      if(o != null) {
                         return new StringSelection(o.toString());
                      }
                      return null;
                  }
               };
           listView. setTransferHandler(th);


    If you want to implements the Windows explorer like feature in Java swing application, the JListView component meets your requirements exactly.

    The JListView component support the 5 different view modes: small icon, large icon, list, thumbnails, details, all these view mode can change on the fly, the methods “JListView.setViewMode” can change the view mode of JListView component.

    The JListView component have the MVC design concept, a simple TableModel can be provided for it’s data, a simple CellProvider such IconProvider can be provided for it’s icon. Should write a DefaultCellRenderer subclass for its renderer and DefaultCellEditor subclass for it’s editor. The article “Introduce Cell Renderer” introduce why using the DefaultCellRenderer.

    The JListView component use a ListSelectionModel as it’s selection model, you can change the selection model’s mode, it support single selection, single interval selection, multiple interval selection, you can use the following methods to get the selected values:

          JListView.getSelectedValue(); // get the lead selection value
           JListView.getSelectedValues(); // get all selected values

    The JListView component provides several methods for it’s editing:
           JListView.isEditing(); // determines whether the JListView is being edited.
           JListView.cancelEditing(); // cancel current editing
           JListView.stopEditing(); // stop the current editing and apply the editing value
           JListView.startEditingAtIndex(); // start the editing at the specified index
           JListview.getEditingInex(); // get the current editing object’s index

    The com.zfqjava.swing.model and com.zfqjava.swing.cell package have the FileTableModel and FileProvider, it support the directory list and file icon directly, the following code can create a explorer like GUI:

           JListView listView = new JListView();
           listView.setListData(new FileTableModel(new File(System.getProperty("user.home"))));
           listView.setCellRenderer(new FileCellRenderer());
           listView.setCellEditor(new FileCellEditor());

    The JListView component also support row sorting, the TableModel you provided for JListView only need implements the ColumnSorter interface, it can support the row sorting automatically, we want to improve this area after upgrade the JRE version to 1.6.

    The JListView component provides several important client property:

    JListView.rowSelectionAllowed” allow the full row can be selected
    JListView.showVerticalLines” shows the vertical lines in details view mode.
    JListView.showHorizontalLines” shows the horizontal lines in details view mode.
    JListView.backgroundImage” sets the background image for JListView component.

    For details, you can view the JListView JavaDoc API documentation.

    The JListView also support the Drag and Drop, but in JComponentPack 1.1.0 and early version, implements this feature has trick and tips:

           // get JTable and JList
           BasicListViewUI ui = (BasicListViewUI)listView.getUI();
           JTable table = ui.getTable();
           JList list = ui.getList();
           table.setDragEnabled(true);
           list.setDragEnabled(true);
           TransferHandler th = new TransferHandler() {             
                  public int getSourceActions(JComponent c) {
                   return COPY;
            }
                  protected Transferable createTransferable(JComponent c) {
                      // just a test
                      Object o = listView.getSelectedValue();
                      if(o != null) {
                         return new StringSelection(o.toString());
                      }
                      return null;
                  }
               };
           table.setTransferHandler(th);
           list.setTransferHandler(th);

    In the upcoming version JComponentPack 1.2.0, we have improved this area, so in the new version, implements the drag and drop feature is very simple:

           listView.setDragEnabled(true);
    TransferHandler th = new TransferHandler() {
                  public int getSourceActions(JComponent c) {
                   return COPY;
            }

                  protected Transferable createTransferable(JComponent c) {
                      // just a test
                      Object o = listView.getSelectedValue();
                      if(o != null) {
                         return new StringSelection(o.toString());
                      }
                      return null;
                  }
               };
           listView. setTransferHandler(th);



    posted @ 2009-02-25 10:56 fralepg 閱讀(522) | 評論 (0)編輯 收藏

    <2009年2月>
    25262728293031
    1234567
    891011121314
    15161718192021
    22232425262728
    1234567

    導(dǎo)航

    統(tǒng)計

    公告

    JComponentPack 3.0正式發(fā)布 功能介紹

    JComponentPack 是一個基于Java SwingGUI類庫,一系列可視化的JavaBeans集合,它基于SwingMVC架構(gòu),是100%的純Java類庫,它包括20多個Swing 所沒有的控件

    試用版下載(點(diǎn)擊下載

    常用鏈接

    留言簿(1)

    隨筆檔案

    文章檔案

    搜索

    最新評論

    閱讀排行榜

    評論排行榜

    主站蜘蛛池模板: 免费毛片毛片网址| 成人性生交大片免费看好| 亚洲国产国产综合一区首页| 国产精品极品美女免费观看| 222www免费视频| 亚洲精品又粗又大又爽A片| 亚洲视频免费播放| 亚洲成AV人片在线播放无码| 毛片免费全部播放无码| 三级毛片在线免费观看| 亚洲国产精品久久网午夜 | 波多野结衣中文字幕免费视频| 亚洲欧洲日韩国产一区二区三区| 精品剧情v国产在免费线观看| 春意影院午夜爽爽爽免费| 亚洲中文字幕无码mv| 亚洲国产精品综合一区在线| 久久亚洲精品成人av无码网站| 青青青青青青久久久免费观看| 久青草视频在线观看免费| 成人免费视频一区二区| 美女被暴羞羞免费视频| 久久亚洲AV无码精品色午夜麻豆 | 亚洲精品在线电影| 亚洲精品无码Av人在线观看国产| aa级一级天堂片免费观看| 精品免费人成视频app| 18禁美女裸体免费网站| 99re在线这里只有精品免费| 免费人成在线观看网站品爱网| 国产成人亚洲午夜电影| 91精品国产亚洲爽啪在线影院| 免费一区二区三区四区五区| 国产免费人人看大香伊| 免费一级毛片在线播放| 亚洲国产婷婷综合在线精品| 在线观看亚洲精品福利片| 亚洲精品乱码久久久久久蜜桃不卡 | 狠狠色香婷婷久久亚洲精品| 亚洲一区在线免费观看| 亚洲精品伊人久久久久|