資源簡介
清華大學出版社,方巍著,《JavaEE架構設計與開發實踐》課本源代碼。
代碼片段和文件信息
/*?===========================================================
?*?JFreeChart?:?a?free?chart?library?for?the?Java(tm)?platform
?*?===========================================================
?*
?*?(C)?Copyright?2000-2013?by?object?Refinery?Limited?and?Contributors.
?*
?*?Project?Info:??http://www.jfree.org/jfreechart/index.html
?*
?*?This?library?is?free?software;?you?can?redistribute?it?and/or?modify?it
?*?under?the?terms?of?the?GNU?Lesser?General?Public?License?as?published?by
?*?the?Free?Software?Foundation;?either?version?2.1?of?the?License?or
?*?(at?your?option)?any?later?version.
?*
?*?This?library?is?distributed?in?the?hope?that?it?will?be?useful?but
?*?WITHOUT?ANY?WARRANTY;?without?even?the?implied?warranty?of?MERCHANTABILITY
?*?or?FITNESS?FOR?A?PARTICULAR?PURPOSE.?See?the?GNU?Lesser?General?Public
?*?License?for?more?details.
?*
?*?You?should?have?received?a?copy?of?the?GNU?Lesser?General?Public
?*?License?along?with?this?library;?if?not?write?to?the?Free?Software
?*?Foundation?Inc.?51?Franklin?Street?Fifth?Floor?Boston?MA??02110-1301
?*?USA.
?*
?*?[Oracle?and?Java?are?registered?trademarks?of?Oracle?and/or?its?affiliates.?
?*?Other?names?may?be?trademarks?of?their?respective?owners.]
?*
?*?------------------------------
?*?CombinedCategoryPlotDemo1.java
?*?------------------------------
?*?(C)?Copyright?2008?by?object?Refinery?Limited?and?Contributors.
?*
?*?Original?Author:??David?Gilbert?(for?object?Refinery?Limited);
?*?Contributor(s):???;
?*
?*?Changes
?*?-------
?*?05-May-2008?:?Version?1?(DG);
?*
?*/
package?org.jfree.experimental.chart.demo;
import?java.awt.Font;
import?javax.swing.JPanel;
import?org.jfree.chart.ChartPanel;
import?org.jfree.chart.JFreeChart;
import?org.jfree.chart.axis.CategoryAxis;
import?org.jfree.chart.axis.NumberAxis;
import?org.jfree.chart.labels.StandardCategoryToolTipGenerator;
import?org.jfree.chart.plot.CategoryPlot;
import?org.jfree.chart.renderer.category.BarRenderer;
import?org.jfree.chart.renderer.category.LineAndShapeRenderer;
import?org.jfree.data.category.CategoryDataset;
import?org.jfree.data.category.DefaultCategoryDataset;
import?org.jfree.experimental.chart.plot.CombinedCategoryPlot;
import?org.jfree.ui.Applicationframe;
import?org.jfree.ui.RefineryUtilities;
/**
?*?A?demo?for?the?{@link?CombinedCategoryPlot}?class.
?*/
public?class?CombinedCategoryPlotDemo1?extends?Applicationframe?{
????/**
?????*?Creates?a?new?demo?instance.
?????*
?????*?@param?title??the?frame?title.
?????*/
????public?CombinedCategoryPlotDemo1(String?title)?{
????????super(title);
????????JPanel?chartPanel?=?createDemoPanel();
????????chartPanel.setPreferredSize(new?java.awt.Dimension(500?270));
????????setContentPane(chartPanel);
????}
????/**
?????*?Creates?a?dataset.
?????*
?????*?@return?A?dataset.
?????*/
????public?static?CategoryDataset?createDataset1()?{
????????DefaultCategoryDataset?result?=?new?DefaultCategoryDataset();
????????String?series1?=?“First“;
????????String?series2?=?“Second“;
?????
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????292??2016-08-07?12:02??第4章\ex4-4.jsp
?????文件????????363??2016-08-07?12:53??第4章\ex4-5.jsp
?????文件????????909??2016-08-07?17:34??第4章\ex4-6.jsp
?????文件????????993??2016-08-07?17:51??第4章\ex4-7.jsp
?????文件????????612??2016-08-07?21:58??第4章\ex4-8.html
?????文件????????657??2016-08-07?22:02??第4章\ex4-8.jsp
?????文件???????1189??2014-05-19?09:10??第4章\FexParser\.classpath
?????目錄??????????0??2014-05-09?10:00??第4章\FexParser\.git\branches
?????文件?????????12??2014-05-09?10:01??第4章\FexParser\.git\COMMIT_EDITMSG
?????文件?????????92??2014-05-09?10:00??第4章\FexParser\.git\config
?????文件?????????73??2014-05-09?10:00??第4章\FexParser\.git\desc
?????文件?????????23??2014-05-09?10:00??第4章\FexParser\.git\HEAD
?????文件????????452??2014-05-09?10:00??第4章\FexParser\.git\hooks\applypatch-msg.sample
?????文件????????896??2014-05-09?10:00??第4章\FexParser\.git\hooks\commit-msg.sample
?????文件????????189??2014-05-09?10:00??第4章\FexParser\.git\hooks\post-update.sample
?????文件????????398??2014-05-09?10:00??第4章\FexParser\.git\hooks\pre-applypatch.sample
?????文件???????1704??2014-05-09?10:00??第4章\FexParser\.git\hooks\pre-commit.sample
?????文件???????4898??2014-05-09?10:00??第4章\FexParser\.git\hooks\pre-reba
?????文件???????1239??2014-05-09?10:00??第4章\FexParser\.git\hooks\prepare-commit-msg.sample
?????文件???????3611??2014-05-09?10:00??第4章\FexParser\.git\hooks\update.sample
?????目錄??????????0??2018-10-15?10:02??第4章\FexParser\.git\hooks
?????文件???????7739??2014-05-09?10:01??第4章\FexParser\.git\index
?????文件????????240??2014-05-09?10:00??第4章\FexParser\.git\info\exclude
?????目錄??????????0??2018-10-15?10:02??第4章\FexParser\.git\info
?????文件????????162??2014-05-09?10:01??第4章\FexParser\.git\logs\HEAD
?????文件????????162??2014-05-09?10:01??第4章\FexParser\.git\logs\refs\heads\master
?????目錄??????????0??2018-10-15?10:02??第4章\FexParser\.git\logs\refs\heads
?????目錄??????????0??2018-10-15?10:02??第4章\FexParser\.git\logs\refs
?????目錄??????????0??2018-10-15?10:02??第4章\FexParser\.git\logs
?????文件????????716??2014-05-09?10:00??第4章\FexParser\.git\ob
............此處省略3445個文件信息
評論
共有 條評論