⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 itemsummaryview.java

📁 《基于Eclipse的开源框架技术与实战》[第5章]随书源码
💻 JAVA
字号:
package com.free.struts.storefront.catalog.view;import com.free.struts.storefront.framework.view.BaseView;/** * <p>Title: Eclipse Plugin Development</p> * <p>Description: Free download</p> * <p>Copyright: Copyright (c) 2006</p> * <p>Company: Free</p> * @author gan.shu.man * @version 1.0 */public class ItemSummaryView extends BaseView {  /**   * The base price of the item.   */  private Double unitPrice = null;  /**   * A short statement listing a feature of the item.   */  private String productFeature;  /**   * A path to a small image stored on the web server.   */  private String smallImageURL;  private String modelNumber;  /**   * A no arg constructor.   */  public ItemSummaryView(){    super();  }  public ItemSummaryView(String id, String name, String description,    Double price, String feature, String smallImageURL ) {    super( id, name, description );    setUnitPrice( price );    setProductFeature( feature );    setSmallImageURL( smallImageURL );  }  public Double getUnitPrice() {    return unitPrice;  }  public void setUnitPrice( Double price ){    this.unitPrice = price;  }  public void setSmallImageURL(String newSmallImageURL) {    smallImageURL = newSmallImageURL;  }  public String getProductFeature() {    return productFeature;  }  public String getSmallImageURL() {    return smallImageURL;  }  public void setProductFeature(String newProductFeature) {    productFeature = newProductFeature;  }  public void setModelNumber(String modelNumber) {    this.modelNumber = modelNumber;  }  public String getModelNumber() {    return modelNumber;  }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -