|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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()
TimeBlockRendererContract
detailRenderers for a TimeBlockRenderer
getDetailRenderers
in interface TimeBlockRendererContract
public TimeBlock getTimeBlock()
TimeBlockRendererContract
timeBlock for a TimeBlockRenderer
getTimeBlock
in interface TimeBlockRendererContract
public String getTimeRange()
TimeBlockRendererContract
If 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 TimeBlockRendererContract
public String getTitle()
TimeBlockRendererContract
Constructs a title string based on work area description and task description
getTitle
in interface TimeBlockRendererContract
public String getAmount()
TimeBlockRendererContract
If 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 TimeBlockRendererContract
public String getEarnCodeType()
TimeBlockRendererContract
timeBlock.getEarnCodeType() for a TimeBlockRenderer
getEarnCodeType
in interface TimeBlockRendererContract
public String getAssignmentClass()
TimeBlockRendererContract
assignmentClass for a TimeBlockRenderer
getAssignmentClass
in interface TimeBlockRendererContract
public void setAssignmentClass(String assignmentClass)
public String getLunchLabel()
TimeBlockRendererContract
lunchLabel for a TimeBlockRenderer
getLunchLabel
in interface TimeBlockRendererContract
public void setLunchLabel(String lunchLabel)
public String getLunchLabelId()
TimeBlockRendererContract
lunchLabelId for a TimeBlockRenderer
getLunchLabelId
in interface TimeBlockRendererContract
public void setLunchLabelId(String lunchLabelId)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |