Class ShowLaneCustomizer
java.lang.Object
com.smartgwt.client.widgets.calendar.ShowLaneCustomizer
Called to determine a particular lane should be visible in the passed view
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanexecuteDefault(Lane lane, CalendarView calendarView) Call executeDefault() to run the original method for default behaviorReturns the Calendar being customizedvoidsetCalendar(Calendar calendar) abstract booleanshouldShowLane(Lane lane, CalendarView calendarView) shouldShowLane() should be implemented and return true if the passed lane should be visible in the passed view Use executeDefault() to run the original method to fall back on default behavior.
-
Constructor Details
-
ShowLaneCustomizer
public ShowLaneCustomizer()
-
-
Method Details
-
setCalendar
-
getCalendar
Returns the Calendar being customized- Returns:
- Calendar being customized
-
executeDefault
Call executeDefault() to run the original method for default behavior -
shouldShowLane
shouldShowLane() should be implemented and return true if the passed lane should be visible in the passed view Use executeDefault() to run the original method to fall back on default behavior. To access the Calendar itself, call getCalendar() on the event or the calendarView.- Parameters:
lane- the lane in questioncalendarView- the view in which the lane exists- Returns:
- true if the lane should be visible in the passed view, or false otherwise
-