資源簡介
Java 自定義樹節點的外觀(基礎篇-實例358).zip
代碼片段和文件信息
package?com.mingrisoft.jtree;
public?class?Book?{
????private?String?title;
????private?String?press;
????private?String?publicationDate;
????private?String?booksCategory;
????private?double?price;
????
????public?String?gettitle()?{
????????return?title;
????}
????
????public?void?settitle(String?title)?{
????????this.title?=?title;
????}
????
????public?String?getPress()?{
????????return?press;
????}
????
????public?void?setPress(String?press)?{
????????this.press?=?press;
????}
????
????public?String?getPublicationDate()?{
????????return?publicationDate;
????}
????
????public?void?setPublicationDate(String?publicationDate)?{
????????this.publicationDate?=?publicationDate;
????}
????
????public?String?getBooksCategory()?{
????????return?booksCategory;
????}
????
????public?void?setBooksCategory(String?booksCategory)?{
????????this.booksCategory?=?booksCategory;
????}
????
????public?double?getPrice()?{
????????return?price;
????}
????
???
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件?????????232??2010-09-11?17:00??.classpath
?????文件?????????379??2010-09-11?17:00??.project
?????文件????????1343??2013-11-21?08:41??bin\com\mingrisoft\jtree\Book.class
?????文件????????2890??2013-11-21?08:41??bin\com\mingrisoft\jtree\BookCellRenderer.class
?????文件?????????831??2013-11-21?08:41??bin\com\mingrisoft\jtree\BookCellRendererTest$1.class
?????文件?????????782??2013-11-21?08:41??bin\com\mingrisoft\jtree\BookCellRendererTest$2.class
?????文件????????3656??2013-11-21?08:41??bin\com\mingrisoft\jtree\BookCellRendererTest.class
?????文件????????1084??2010-09-11?17:00??src\com\mingrisoft\jtree\Book.java
?????文件????????2589??2010-09-11?17:00??src\com\mingrisoft\jtree\BookCellRenderer.java
?????文件????????3335??2010-09-11?17:00??src\com\mingrisoft\jtree\BookCellRendererTest.java
- 上一篇:Java 支持超鏈接的瀏覽器
- 下一篇:Java 壓縮存儲網頁
評論
共有 條評論