?? timecardpageproducer.java
字號:
package com.wiley.compBooks.EJwithUML.TimecardProducers;import com.wiley.compBooks.EJwithUML.Base.HtmlPrimitives.*;import com.wiley.compBooks.EJwithUML.Base.HtmlPrimitives.Core.*;import com.wiley.compBooks.EJwithUML.Base.HtmlPrimitives.Layout.*;import com.wiley.compBooks.EJwithUML.Base.HtmlPrimitives.FormPrimitives.*;import com.wiley.compBooks.EJwithUML.Base.HtmlPrimitives.ContentElements.*;public class TimecardPageProducer extends PagePrimitive{ public TimecardPageProducer(String title) { super(title, "./Timecard.css"); super.addToBody(new ParagraphPrimitive(TimecardStyle.TOP_OF_PAGE, "Timecard Sample Application")); } /** Adds the HTML for this TimecardPageProducer to the specified buffer. */ public void buildContent(StringBuffer buffer) { ParagraphPrimitive bottom =new ParagraphPrimitive(TimecardStyle.BOTTOM_OF_PAGE, "Just a sample application"); bottom.addLineBreak(); bottom.addText("Part of Enterprise Java with UML"); bottom.addLineBreak(); bottom.addText("By CT Arrington and Syed Rayhan"); bottom.addLineBreak(); bottom.addText("Definitely NOT for commercial use ;)"); super.addToBody(bottom); super.buildContent(buffer); }}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -