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

📄 imagecontent.java

📁 《Java案例开发》源代码252KB大小
💻 JAVA
字号:
/* * ImageContent.java * * Created on 2003年11月5日, 下午4:38 */package romulus;/** * This class is used to present the image content item. * Such class will not be implemented in the Demo. * @author  Romulus * @version 1.0 */public class ImageContent implements ContentItem {        ImageContent(){    }        /**     * Such method is used to get the Int_Type of the content.     * @return Int_Type_XXXContent.     */    public int getIntContentType() {        return ContentItem.Int_Type_ImageContent;    }        /**     * Such method is used to get the Str_Type of the content.     * @return Str_Type_XXXContent.     */    public String getStrContentType() {        return ContentItem.Str_Type_ImageContent;    }        /**     * Such type is used to get the actual content Object.     * @return The actual content object. Will be a java.awt.Image.     */    public Object getContent() {        return null;    }        /**     * Get the String description of the Content.     * @return The String can be used to detail the content.     */    public String getString() {        return null;    }        /** The method used to accept the Visitor to do something.  */    public void Accept(Visitor v) throws java.sql.SQLException, RomulusException{        v.VisitContentItem(this);    }    }

⌨️ 快捷键说明

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