|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.kpme.tklm.time.timeblock.web.TimeBlockRenderer
public class TimeBlockRenderer
Render helper to handle timeblock and time hour details display
| Constructor Summary | |
|---|---|
TimeBlockRenderer(TimeBlock b)
|
|
| Method Summary | |
|---|---|
String |
getAmount()
The amount of the TimeBlock object associated with the TimeBlockRenderer |
String |
getAssignmentClass()
The assignmentClass associated with the TimeBlockRenderer |
List<TimeHourDetailRenderer> |
getDetailRenderers()
The list of TimeHourDetailRenderer objects associated with the TimeBlockRenderer |
String |
getEarnCodeType()
The earn code type of the TimeBlock object associated with the TimeBlockRenderer |
String |
getLunchLabel()
TODO: Put a better comment The lunchLabel associated with the TimeBlockRenderer |
String |
getLunchLabelId()
TODO: Put a better comment The lunchLabelId associated with the TimeBlockRenderer |
TimeBlock |
getTimeBlock()
The TimeBlock object associated with the TimeBlockRenderer |
String |
getTimeRange()
The time range associated with the TimeBlockRenderer |
String |
getTitle()
The title associated with the TimeBlockRenderer |
void |
setAssignmentClass(String assignmentClass)
|
void |
setLunchLabel(String lunchLabel)
|
void |
setLunchLabelId(String lunchLabelId)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TimeBlockRenderer(TimeBlock b)
| Method Detail |
|---|
public List<TimeHourDetailRenderer> getDetailRenderers()
TimeBlockRendererContractdetailRenderers for a TimeBlockRenderer
getDetailRenderers in interface TimeBlockRendererContractpublic TimeBlock getTimeBlock()
TimeBlockRendererContracttimeBlock for a TimeBlockRenderer
getTimeBlock in interface TimeBlockRendererContractpublic String getTimeRange()
TimeBlockRendererContractIf timeBlock's earn code type is T, construct a string (begin time in hh:mm aa format - end time in hh:mm aa format)
getTimeRange in interface TimeBlockRendererContractpublic String getTitle()
TimeBlockRendererContractConstructs a title string based on work area description and task description
getTitle in interface TimeBlockRendererContractpublic String getAmount()
TimeBlockRendererContractIf timeBlock's earn code type is A If timeBlock's amount is not null, "A: $x.xx" else "A: $0.00" Else ""
getAmount in interface TimeBlockRendererContractpublic String getEarnCodeType()
TimeBlockRendererContracttimeBlock.getEarnCodeType() for a TimeBlockRenderer
getEarnCodeType in interface TimeBlockRendererContractpublic String getAssignmentClass()
TimeBlockRendererContractassignmentClass for a TimeBlockRenderer
getAssignmentClass in interface TimeBlockRendererContractpublic void setAssignmentClass(String assignmentClass)
public String getLunchLabel()
TimeBlockRendererContractlunchLabel for a TimeBlockRenderer
getLunchLabel in interface TimeBlockRendererContractpublic void setLunchLabel(String lunchLabel)
public String getLunchLabelId()
TimeBlockRendererContractlunchLabelId for a TimeBlockRenderer
getLunchLabelId in interface TimeBlockRendererContractpublic void setLunchLabelId(String lunchLabelId)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||