📄 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 + -