|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectscheduler.view.ScheduleItemLabel
public class ScheduleItemLabel
Field Summary | |
---|---|
protected javax.swing.JLabel |
firstL
string label representing the first info of the ScheduleItem |
protected javax.swing.JLabel |
fullL
string label representing the info of the ScheduleItem |
protected javax.swing.JLabel |
popL
string label representing the info of the ScheduleItem for a popup window |
protected ScheduleItem |
si
|
Constructor Summary | |
---|---|
ScheduleItemLabel(ScheduleItem si)
|
Method Summary | |
---|---|
protected ScheduleItemLabel |
findScheduleItemLabel(javax.swing.JLabel l)
Find the scheduleItem that matches the given JLabel |
javax.swing.JLabel |
getFirstLabel()
Return JLabel with the information for the first selected filter options |
protected void |
getFirstString()
Compute a string wtih first selected filter options information |
javax.swing.JLabel |
getFullLabel()
Return JLabel with full information about the scheduleItem |
protected void |
getFullString()
Compute the string to represent full information of the scheduleItem |
javax.swing.JLabel |
getPopLabel()
Return part of the information of the scheduleItem depending on the ViewMode, and ViewType |
protected void |
getPopupString()
Compute a string to display certain information in the calendar view |
ScheduleItem |
getSI()
Return the ScheduleItem object |
void |
jLableMouseClicked(java.awt.event.MouseEvent e)
|
protected void |
setLabelColor()
Set the text color indicating the course type Blue - Lecture Type Green - Lab Type |
void |
updateLabels()
Update labels to display in the calendar view |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected ScheduleItem si
protected javax.swing.JLabel fullL
protected javax.swing.JLabel firstL
protected javax.swing.JLabel popL
Constructor Detail |
---|
public ScheduleItemLabel(ScheduleItem si)
Method Detail |
---|
public ScheduleItem getSI()
public void updateLabels()
protected void setLabelColor()
public javax.swing.JLabel getFullLabel()
public javax.swing.JLabel getFirstLabel()
public javax.swing.JLabel getPopLabel()
protected void getFullString()
protected void getFirstString()
protected void getPopupString()
protected ScheduleItemLabel findScheduleItemLabel(javax.swing.JLabel l)
l
- - JLabel to search for
public void jLableMouseClicked(java.awt.event.MouseEvent e)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |